?? frmmain.frm
字號:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form FrmMain
Caption = "三角網平差軟件"
ClientHeight = 9315
ClientLeft = 2280
ClientTop = 2100
ClientWidth = 14400
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "FrmMain.frx":0000
ScaleHeight = 13005.2
ScaleMode = 0 'User
ScaleWidth = 19080
WindowState = 2 'Maximized
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 405
Left = 0
TabIndex = 1
Top = 0
Width = 19080
_ExtentX = 33655
_ExtentY = 714
ButtonWidth = 609
ButtonHeight = 556
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 8
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "New"
Object.ToolTipText = "新項目"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Open"
Object.ToolTipText = "打開項目"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "SaveAs"
Object.ToolTipText = "另存為"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Close"
Object.ToolTipText = "關閉"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Exit"
Object.ToolTipText = "退出"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Calculate"
Object.ToolTipText = "平差計算"
ImageIndex = 6
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "View"
Object.ToolTipText = "查看平差結果"
ImageIndex = 7
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Print"
Object.ToolTipText = "打印平差結果"
ImageIndex = 8
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 240
Top = 960
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 15
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 8
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":030A
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":041E
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":053E
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":0652
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":0766
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":087A
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":098E
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "FrmMain.frx":0AA2
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 0
Top = 10845
Width = 19080
_ExtentX = 33655
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 2
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3528
MinWidth = 3528
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 3528
MinWidth = 3528
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋體"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 240
Top = 2040
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.Label Label3
Caption = "三角網平差程序軟件"
BeginProperty Font
Name = "楷體_GB2312"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 7440
TabIndex = 2
Top = 3120
Width = 4935
End
Begin VB.Menu MnuProject
Caption = "項目(&P)"
Begin VB.Menu MnuNewProject
Caption = "新項目"
Shortcut = ^N
End
Begin VB.Menu MnuOpenProject
Caption = "打開項目"
Shortcut = ^O
End
Begin VB.Menu Sep1
Caption = "-"
End
Begin VB.Menu MnuSaveProjectAs
Caption = "另保存為"
End
Begin VB.Menu MnuCloseProject
Caption = "關閉"
End
Begin VB.Menu Sep2
Caption = "-"
End
Begin VB.Menu MnuLastProject
Caption = "最近打開項目"
End
Begin VB.Menu spt3
Caption = "-"
End
Begin VB.Menu MnuExitProject
Caption = "退出"
Shortcut = ^E
End
End
Begin VB.Menu MnuDataInput
Caption = "數據(&D)"
Begin VB.Menu MnuObsData
Caption = "觀測數據"
End
End
Begin VB.Menu MnuCalculate
Caption = "計算(&C)"
Begin VB.Menu MnuAdjustCal
Caption = "平差計算"
End
End
Begin VB.Menu MnuView
Caption = "查看(&V)"
Begin VB.Menu MnuViewObsData
Caption = "查看觀測數據"
End
Begin VB.Menu MnuViewResult
Caption = "查看計算結果"
End
End
Begin VB.Menu MnuReport
Caption = "報表(&R)"
Begin VB.Menu MenuReportPrn
Caption = "報表打印"
End
End
Begin VB.Menu mnuHelp
Caption = "幫助(&H)"
Begin VB.Menu mnuHelpTopics
Caption = "幫助主題"
End
Begin VB.Menu mnuHelpAbout
Caption = "關于水準網平差軟件"
End
End
Begin VB.Menu mnuRightMain
Caption = "mnuRight"
Visible = 0 'False
Begin VB.Menu mnuRight
Caption = "顯示基本信息"
Index = 1
End
Begin VB.Menu mnuRight
Caption = "顯示其它信息"
Index = 2
End
End
End
Attribute VB_Name = "FrmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Initialize()
MnuSaveProjectAs.Enabled = False
MnuCloseProject.Enabled = False
MnuObsData.Enabled = False
MnuAdjustCal.Enabled = False
MnuViewObsData.Enabled = False
MnuViewResult.Enabled = False
MenuReportPrn.Enabled = False
End Sub
Private Sub Form_Load()
Dim ReturnLength As Long, I As Long
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
FrmMain.MnuLastProject.Caption = GetSetting(App.EXEName, "Startup", "Backup")
FrmMain.MnuLastProject.Enabled = True
If FrmMain.MnuLastProject.Caption = "" Then
FrmMain.MnuLastProject.Caption = "最新項目"
FrmMain.MnuLastProject.Enabled = False
End If
End Sub
Private Sub MenuReportPrn_Click()
If g_ProjectFile = "" Then
MsgBox "項目沒有打開。", , "提示信息!"
Exit Sub
End If
If g_Info1 = 0 Then
MsgBox "必須先輸入觀測數據!", , "信息提示!"
Exit Sub
End If
If g_Info2 = 0 Then
MsgBox "必須先進行平差計算!", , "信息提示!"
Exit Sub
End If
Load FrmPrint
FrmPrint.Show
End Sub
Private Sub MnuAdjustCal_Click()
If g_ProjectFile = "" Then
MsgBox "項目沒有打開。", , "提示信息!"
Exit Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -