?? 放線.frm
字號:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "坐標放線程序"
ClientHeight = 6270
ClientLeft = 6120
ClientTop = 3105
ClientWidth = 5625
Icon = "放線.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
MouseIcon = "放線.frx":08CA
ScaleHeight = 6270
ScaleWidth = 5625
Begin VB.TextBox Text2
BeginProperty Font
Name = "宋體"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2520
TabIndex = 1
Top = 3720
Width = 1935
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋體"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2520
TabIndex = 0
Top = 2880
Width = 1935
End
Begin VB.CommandButton Command3
Caption = "退 出"
BeginProperty Font
Name = "黑體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 4080
MaskColor = &H00FFFFFF&
TabIndex = 6
Top = 4680
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "支 點"
BeginProperty Font
Name = "黑體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2160
TabIndex = 5
Top = 4680
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "放 線"
BeginProperty Font
Name = "黑體"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 360
TabIndex = 4
Top = 4680
Width = 1215
End
Begin VB.Label Label5
Caption = "3 程序中距離單位為""米"",角度格式為""度.分秒"""
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 600
TabIndex = 12
Top = 2400
Width = 4695
End
Begin VB.Label Label7
Caption = "后視點:"
BeginProperty Font
Name = "宋體"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 960
TabIndex = 11
Top = 3840
Width = 1335
End
Begin VB.Label Label6
Caption = "測站點:"
BeginProperty Font
Name = "宋體"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 960
TabIndex = 10
Top = 3000
Width = 1335
End
Begin VB.Label Label5
Caption = "2 支點數(shù)據(jù)自動存放在KZCG.DAT中"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 600
TabIndex = 9
Top = 2040
Width = 3615
End
Begin VB.Label Label4
Caption = "1 控制文件在同目錄下的KZCG.DAT"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 8
Top = 1680
Width = 3255
End
Begin VB.Label Label3
Caption = "說明:"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 480
TabIndex = 7
Top = 1200
Width = 735
End
Begin VB.Label Label1
Caption = "坐標放線程序"
BeginProperty Font
Name = "隸書"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1200
TabIndex = 3
Top = 360
Width = 3135
End
Begin VB.Line Line3
X1 = 4680
X2 = 4680
Y1 = 240
Y2 = 960
End
Begin VB.Line Line1
X1 = 720
X2 = 4680
Y1 = 960
Y2 = 960
End
Begin VB.Line Line4
DrawMode = 16 'Merge Pen
X1 = 720
X2 = 720
Y1 = 240
Y2 = 960
End
Begin VB.Line Line2
DrawMode = 16 'Merge Pen
X1 = 720
X2 = 4680
Y1 = 240
Y2 = 240
End
Begin VB.Label Label2
Caption = "青海省第二測繪院"
BeginProperty Font
Name = "楷體_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 3120
MouseIcon = "放線.frx":0A1C
TabIndex = 2
Top = 5880
Width = 2175
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim CZDM, DXDM As String
CZDM = UCase(Trim(Text1.Text))
DXDM = UCase(Trim(Text2.Text))
If CZDM = "" Or DXDM = "" Then
MsgBox " 點號不能為空,請重新輸入!", 0, "坐標放樣"
Else
Open "c:\q.q" For Output As #1
Print #1, CZDM
Print #1, DXDM
Close #1
'窗口調用
Form1.Hide
Load Form2
Form2.Show
End If
End Sub
Private Sub Command2_Click()
Dim CZDM, DXDM As String
CZDM = UCase(Trim(Text1.Text))
DXDM = UCase(Trim(Text2.Text))
If CZDM = "" Or DXDM = "" Then
MsgBox " 點號不能為空,請重新輸入!", 0, "坐標放樣"
Else
Open "c:\q.q" For Output As #1
Print #1, CZDM
Print #1, DXDM
Close #1
'窗口調用
Form1.Hide
Load Form3
Form3.Show
End If
End Sub
Private Sub Command3_Click()
Kill "C:\Q.Q"
End
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -