?? mdiform1.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.MDIForm MDIForm1
BackColor = &H8000000C&
Caption = "MDIForm1"
ClientHeight = 8115
ClientLeft = 45
ClientTop = 195
ClientWidth = 8880
LinkTopic = "MDIForm1"
WindowState = 2 'Maximized
Begin VB.PictureBox picTop
Align = 1 'Align Top
Appearance = 0 'Flat
BackColor = &H80000000&
ForeColor = &H80000008&
Height = 495
Left = 0
Picture = "MDIForm1.frx":0000
ScaleHeight = 465
ScaleWidth = 8850
TabIndex = 4
Top = 0
Width = 8880
Begin VB.Label lblEmail
Caption = "郵件"
ForeColor = &H00FF0000&
Height = 255
Left = 13800
MousePointer = 99 'Custom
TabIndex = 6
Top = 240
Width = 375
End
Begin VB.Label lblMessage
Caption = "消息"
ForeColor = &H00FF0000&
Height = 255
Left = 13200
MousePointer = 99 'Custom
TabIndex = 5
Top = 240
Width = 375
End
End
Begin VB.PictureBox picLeft
Align = 3 'Align Left
AutoRedraw = -1 'True
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 7245
Left = 0
ScaleHeight = 7245
ScaleWidth = 2010
TabIndex = 2
Top = 495
Width = 2010
Begin MSComctlLib.TreeView treeLeft
Height = 3015
Left = 480
TabIndex = 3
Top = 480
Width = 1095
_ExtentX = 1931
_ExtentY = 5318
_Version = 393217
HideSelection = 0 'False
Indentation = 176
LabelEdit = 1
LineStyle = 1
Style = 7
Appearance = 1
End
End
Begin VB.PictureBox picSplit
Align = 3 'Align Left
Appearance = 0 'Flat
AutoRedraw = -1 'True
AutoSize = -1 'True
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 7245
Left = 2010
MousePointer = 9 'Size W E
ScaleHeight = 7215
ScaleWidth = 75
TabIndex = 0
Top = 495
Width = 105
End
Begin MSComctlLib.ImageList leftImageList
Left = 360
Top = 7200
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 22
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3E6E3
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3EB35
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3EF87
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3F3D9
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3F82B
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":3FC7D
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":400CF
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":40521
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":40973
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":40DC5
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":41217
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":41669
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":41ABB
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":41F0D
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":4235F
Key = ""
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":427B1
Key = ""
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":42C03
Key = ""
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":43055
Key = ""
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":434A7
Key = ""
EndProperty
BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":438F9
Key = ""
EndProperty
BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":43D4B
Key = ""
EndProperty
BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":44065
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar bottomStatusBar
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 1
Top = 7740
Width = 8880
_ExtentX = 15663
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 6
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 1
Object.Width = 1764
MinWidth = 1764
Picture = "MDIForm1.frx":4437F
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 1764
MinWidth = 1764
Text = "數據連接"
TextSave = "數據連接"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3246
MinWidth = 3246
Text = "版本:"
TextSave = "版本:"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 7056
MinWidth = 7056
Text = "服務器"
TextSave = "服務器"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3246
MinWidth = 3246
Text = "用戶"
TextSave = "用戶"
EndProperty
BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 176
MinWidth = 176
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Attribute VB_Name = "MDIForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private m_MDI As MDIConnector
Private WithEvents m_Menu As EnhancedMenu
Attribute m_Menu.VB_VarHelpID = -1
'Click 最下邊的狀態條
Private Sub bottomStatusBar_PanelDblClick(ByVal Panel As MSComctlLib.Panel)
Select Case Panel.index
Case 1
Case 2
Call g_System.delRegString
Unload Me
Case 3
End Select
End Sub
'Click 最右邊的EMAIL
Private Sub lblEmail_Click()
'frmBrowser.Show
'frmBrowser.brwWebBrowser.Navigate "http://192.168.3.1"
End Sub
'Click 最右邊的MESSAGE
Private Sub lblMessage_Click()
'frmBrowser.Show
'frmBrowser.brwWebBrowser.Navigate "http://192.168.3.187"
End Sub
Private Sub MDIForm_Load()
'環境
picLeft.Visible = g_MenuTree
picTop.Visible = g_ToolBar
bottomStatusBar.Visible = g_StatusBar
'狀態條
Me.Caption = App.Title
bottomStatusBar.Panels(3).Text = "程序版本:" & App.Major & "." & App.Minor & "." & App.Revision
Dim sDatasource As String
sDatasource = Trim(Mid(g_cnString, InStr(g_cnString, "Data Source"), Len(g_cnString)))
bottomStatusBar.Panels(4).Text = "服務器:" & Mid(sDatasource, InStr(sDatasource, "=") + 1, Abs(InStr(sDatasource, ";") - InStr(sDatasource, "=")) - 1)
bottomStatusBar.Panels(5).Text = "用戶:" & g_sUserName
'產生菜單
treeLeft.ImageList = leftImageList
Call ConfigMenu
'測試
If g_Debug Then
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -