📄 frminputdefaults.frm
字号:
VERSION 5.00
Begin VB.Form frmInputDefaults
BorderStyle = 3 'Fixed Dialog
Caption = "Input defaults"
ClientHeight = 2160
ClientLeft = 2760
ClientTop = 3756
ClientWidth = 6036
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2160
ScaleWidth = 6036
ShowInTaskbar = 0 'False
Begin VB.CheckBox chkAutoRun
Caption = "Don't ask, Automatically use defaults when run"
Height = 255
Left = 120
TabIndex = 8
Top = 1080
Width = 5775
End
Begin VB.TextBox txtPassword
Height = 315
IMEMode = 3 'DISABLE
Left = 3960
PasswordChar = "*"
TabIndex = 7
Top = 600
Width = 1935
End
Begin VB.TextBox txtUID
Height = 315
Left = 960
TabIndex = 6
Top = 600
Width = 1935
End
Begin VB.CommandButton btnOk
Caption = "&Ok"
Default = -1 'True
Height = 435
Left = 3960
TabIndex = 5
Top = 1560
Width = 915
End
Begin VB.CommandButton btnCancel
Cancel = -1 'True
Caption = "&Cancel"
Height = 435
Left = 4980
TabIndex = 4
Top = 1560
Width = 915
End
Begin VB.TextBox txtSource
Height = 315
Left = 960
TabIndex = 0
Top = 120
Width = 4935
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "Password"
Height = 195
Left = 3120
TabIndex = 3
Top = 600
Width = 690
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "UserID"
Height = 195
Left = 120
TabIndex = 2
Top = 600
Width = 495
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "Source"
Height = 195
Left = 120
TabIndex = 1
Top = 120
Width = 510
End
End
Attribute VB_Name = "frmInputDefaults"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' DataMonkey Data Conversion Application. Written by Theodore L. Ward
' Copyright (C) 2002 AstroComma Incorporated.
'
' This program is free software; you can redistribute it and/or
' modify it under the terms of the GNU General Public License
' as published by the Free Software Foundation; either version 2
' of the License, or (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program; if not, write to the Free Software
' Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
' The author may be contacted at:
' TheodoreWard@Hotmail.com or TheodoreWard@Yahoo.com
Option Explicit
Private Sub btnCancel_Click()
GFormReturnValue = vbCancel
Me.Hide
End Sub
Private Sub btnOk_Click()
GFormReturnValue = vbOK
Me.Hide
End Sub
Public Property Let UID(newVal As String)
Me.txtUID = newVal
End Property
Public Property Get UID() As String
UID = Me.txtUID
End Property
Public Property Let AutoRun(newVal As Boolean)
Me.chkAutoRun = IIf(newVal = True, 1, 0)
End Property
Public Property Get AutoRun() As Boolean
AutoRun = Me.chkAutoRun
End Property
Public Property Let Source(newVal As String)
Me.txtSource = newVal
End Property
Public Property Get Source() As String
Source = Me.txtSource
End Property
Public Property Let Pwd(newVal As String)
Me.txtPassword = newVal
End Property
Public Property Get Pwd() As String
Pwd = Me.txtPassword
End Property
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -