📄 xuanze.frm
字号:
VERSION 5.00
Begin VB.Form xuanze
Caption = "选择操作"
ClientHeight = 2085
ClientLeft = 60
ClientTop = 420
ClientWidth = 4440
Icon = "xuanze.frx":0000
LinkTopic = "Form1"
ScaleHeight = 2085
ScaleWidth = 4440
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame2
Caption = "执行操作"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 2055
Left = 3120
TabIndex = 3
Top = 0
Width = 1335
Begin VB.CommandButton labelcancel
Caption = "取消"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 240
Picture = "xuanze.frx":27A2
TabIndex = 7
Top = 1320
Width = 855
End
Begin VB.CommandButton labelok
BackColor = &H00FF00FF&
Caption = "提交 "
BeginProperty Font
Name = "楷体_GB2312"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 240
TabIndex = 6
Top = 360
Width = 855
End
End
Begin VB.Frame Frame1
Caption = "!两者只能选择其一!"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 2055
Left = 0
TabIndex = 0
Top = 0
Width = 3135
Begin VB.OptionButton Option2
Height = 375
Left = 2880
TabIndex = 5
Top = 480
Width = 495
End
Begin VB.OptionButton Option1
Height = 375
Left = 2880
TabIndex = 4
Top = 1320
Value = -1 'True
Width = 495
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "当前用户密码修改:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 495
Left = 240
TabIndex = 2
Top = 1320
Width = 4215
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "系统用户密码修改:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C000C0&
Height = 495
Left = 120
TabIndex = 1
Top = 480
Width = 3975
End
End
End
Attribute VB_Name = "xuanze"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub labelcancel_Click()
Unload Me
MDIFrm.Show
End Sub
Private Sub Labelok_Click()
On Error Resume Next
If Option1.Value = True And Option2.Value = False Then
With adduse
.Frame4.Enabled = True
.Frame5.Enabled = False
End With
options = True
End If
If Option1.Value = False And Option2.Value = True Then
With adduse
.Frame4.Enabled = False
.Frame5.Enabled = True
End With
options = False
End If
adduse.SSTab1.Tab = 2
adduse.SSTab1.TabEnabled(0) = False
adduse.SSTab1.TabEnabled(1) = False
adduse.SSTab1.TabEnabled(2) = True
Unload Me
adduse.Show
End Sub
Private Sub Command2_Click()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -