📄 main.frm
字号:
VERSION 5.00
Begin VB.Form sys_main
BorderStyle = 3 'Fixed Dialog
ClientHeight = 8880
ClientLeft = -30
ClientTop = 135
ClientWidth = 11880
ControlBox = 0 'False
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 8880
ScaleWidth = 11880
ShowInTaskbar = 0 'False
WindowState = 2 'Maximized
Begin VB.CommandButton cmdexit
BackColor = &H00C0C000&
Cancel = -1 'True
Caption = "退出(Esc)"
BeginProperty Font
Name = "黑体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 930
Left = 9630
Picture = "main.frx":0000
Style = 1 'Graphical
TabIndex = 10
Top = 7680
Width = 2055
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "机房控制室&A"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 9
Left = 9630
Style = 1 'Graphical
TabIndex = 9
Top = 5880
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "总经委查询&9"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 8
Left = 9630
Style = 1 'Graphical
TabIndex = 8
Top = 5280
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "仓库管理 &8"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 7
Left = 9630
Style = 1 'Graphical
TabIndex = 7
Top = 4680
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "营 销 部&7"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 6
Left = 9630
Style = 1 'Graphical
TabIndex = 6
Top = 4080
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "商场收银处&6"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 5
Left = 9630
Style = 1 'Graphical
TabIndex = 5
Top = 3480
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "餐厅收银处&5"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 4
Left = 9630
Style = 1 'Graphical
TabIndex = 4
Top = 2880
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "前台帐务处&4"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 3
Left = 9630
Style = 1 'Graphical
TabIndex = 3
Top = 2280
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "前台接待处&3"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 2
Left = 9630
Style = 1 'Graphical
TabIndex = 2
Top = 1680
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "餐厅管事部&2"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 1
Left = 9630
Style = 1 'Graphical
TabIndex = 1
Top = 1125
Width = 2085
End
Begin VB.CommandButton Command1
BackColor = &H00C0C000&
Caption = "客房管事部&1"
BeginProperty Font
Name = "隶书"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 645
Index = 0
Left = 9630
Style = 1 'Graphical
TabIndex = 0
Top = 495
Width = 2085
End
Begin VB.Image Image1
BorderStyle = 1 'Fixed Single
Height = 9120
Left = 0
Picture = "main.frx":030A
Stretch = -1 'True
Top = 0
Width = 9375
End
End
Attribute VB_Name = "sys_main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Cmdexit_Click()
End
End Sub
Private Sub Command1_Click(Index As Integer)
frmLogin.MAIN (Index)
frmLogin.Show (1)
If Not LoginSucceeded Then
Exit Sub
End If
Select Case Index
Case 0
Case 6
sys_main.Hide
Call yx_main.MAIN(SYS_GWDM, SYS_GWMC, SYS_USER, SYS_NAME, SYS_RIGHT)
yx_main.Show (1)
End Select
End Sub
Private Sub Form_Load()
Set WRK = CreateWorkspace("", "admin", "")
LoginSucceeded = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -