/[cvs]/joko/ToolBox/Windows/VpnDial/src/Form_Credentials.frm
ViewVC logotype

Contents of /joko/ToolBox/Windows/VpnDial/src/Form_Credentials.frm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sun Oct 9 18:38:24 2005 UTC (18 years, 9 months ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -0 lines
+ TrayIcon-Mode
+ added icon

1 VERSION 5.00
2 Begin VB.Form Form_Credentials
3 BorderStyle = 1 'Fixed Single
4 Caption = "VPN Anmeldeinformationen"
5 ClientHeight = 2235
6 ClientLeft = 45
7 ClientTop = 330
8 ClientWidth = 5475
9 Icon = "Form_Credentials.frx":0000
10 LinkTopic = "Form1"
11 MaxButton = 0 'False
12 MinButton = 0 'False
13 ScaleHeight = 2235
14 ScaleWidth = 5475
15 StartUpPosition = 2 'CenterScreen
16 Begin VB.Frame Frame_Main
17 Height = 1995
18 Left = 120
19 TabIndex = 0
20 Top = 120
21 Width = 5205
22 Begin VB.CommandButton Command_Cancel
23 Caption = "&Abbrechen"
24 Height = 405
25 Left = 2880
26 TabIndex = 6
27 Top = 1470
28 Width = 2205
29 End
30 Begin VB.CommandButton Command_Ok
31 Caption = "&OK"
32 Height = 405
33 Left = 120
34 TabIndex = 5
35 Top = 1470
36 Width = 2205
37 End
38 Begin VB.TextBox Text_pass
39 Height = 315
40 IMEMode = 3 'DISABLE
41 Left = 1560
42 PasswordChar = "*"
43 TabIndex = 4
44 Top = 810
45 Width = 2805
46 End
47 Begin VB.TextBox Text_user
48 Height = 315
49 Left = 1560
50 TabIndex = 3
51 Top = 420
52 Width = 2805
53 End
54 Begin VB.Label Label_pass
55 Caption = "Passwort:"
56 Height = 255
57 Left = 330
58 TabIndex = 2
59 Top = 870
60 Width = 1335
61 End
62 Begin VB.Label Label_user
63 Caption = "Benutzername:"
64 Height = 255
65 Left = 330
66 TabIndex = 1
67 Top = 450
68 Width = 1335
69 End
70 End
71 End
72 Attribute VB_Name = "Form_Credentials"
73 Attribute VB_GlobalNameSpace = False
74 Attribute VB_Creatable = False
75 Attribute VB_PredeclaredId = True
76 Attribute VB_Exposed = False
77 Public ras_connectionName As String
78 Public ras_phoneBook As String
79
80 Private Sub Form_Load()
81 Frame_Main.Caption = "Verbindungsname: " & ras_connectionName
82 End Sub
83
84 Private Sub Command_Ok_Click()
85 Dim setup_user As String, setup_pass As String
86 setup_user = Text_user.Text
87 setup_pass = Text_pass.Text
88 SetupRasEntry ras_connectionName, ras_phoneBook, setup_user, setup_pass
89 Unload Me
90 End Sub
91
92 Private Sub Command_Cancel_Click()
93 Unload Me
94 End Sub
95
96 Private Sub Text_user_KeyPress(KeyAscii As Integer)
97 If KeyAscii = Asc(vbNewLine) Then
98 Command_Ok_Click
99 End If
100 End Sub
101
102 Private Sub Text_pass_KeyPress(KeyAscii As Integer)
103 If KeyAscii = Asc(vbNewLine) Then
104 Command_Ok_Click
105 End If
106 End Sub
107

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed