📄 坐标换带计算.ebf
字号:
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Style = 0
End
Begin VBCE.Label Label4
Height = 375
Left = 840
TabIndex = 11
Top = 1200
Width = 495
_cx = 873
_cy = 661
AutoSize = 0 'False
BackColor = -2147483643
BackStyle = 1
BorderStyle = 0
Caption = "Y(m)="
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
Begin VBCE.Label Label3
Height = 255
Left = 840
TabIndex = 10
Top = 720
Width = 495
_cx = 873
_cy = 450
AutoSize = 0 'False
BackColor = -2147483643
BackStyle = 1
BorderStyle = 0
Caption = "X(m)="
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
Begin VBCE.Label Label1
Height = 375
Left = 240
TabIndex = 8
Top = 240
Width = 1095
_cx = 1931
_cy = 661
AutoSize = 0 'False
BackColor = -2147483643
BackStyle = 1
BorderStyle = 0
Caption = "中央子午线(d.mmssss)"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Alignment = 0
UseMnemonic = -1 'True
WordWrap = 0 'False
End
Begin VBCE.TextBox Text3
Height = 375
Left = 1440
TabIndex = 4
Top = 1200
Width = 1695
_cx = 2990
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
Begin VBCE.TextBox Text2
Height = 375
Left = 1440
TabIndex = 3
Top = 720
Width = 1695
_cx = 2990
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
Begin VBCE.TextBox Text1
Height = 375
Left = 1440
TabIndex = 2
Top = 240
Width = 1695
_cx = 2990
_cy = 661
BackColor = -2147483643
BorderStyle = 1
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
Text = ""
Alignment = 0
HideSelection = -1 'True
Locked = 0 'False
MaxLength = 0
MultiLine = 0 'False
PasswordChar = ""
ScrollBars = 0
End
End
Begin VBCE.CommandButton Command2
Height = 375
Left = 1320
TabIndex = 15
Top = 3600
Width = 735
_cx = 1296
_cy = 661
BackColor = 12632256
Caption = "返 回"
Enabled = -1 'True
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Style = 0
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
If IsNumeric(Text1) = False Then Text1.Text = "": Text1.SetFocus: Exit Sub
If IsNumeric(Text2) = False Then Text2.Text = "": Text2.SetFocus: Exit Sub
If IsNumeric(Text3) = False Then Text3.Text = "": Text3.SetFocus: Exit Sub
If IsNumeric(Text4) = False Then Text4.Text = "": Text4.SetFocus: Exit Sub
If CDbl(Text1.Text) >= 180 Then MsgBox "中央子午线不能大于180度", vbExclamation, "坐标换带计算": Text1.Text = "": Text1.SetFocus: Exit Sub
If CDbl(Text4.Text) >= 180 Then MsgBox "中央子午线不能大于180度", vbExclamation, "坐标换带计算": Text4.Text = "": Text4.SetFocus: Exit Sub
x2 = CDbl(Text2.Text)
y2 = CDbl(Text3.Text)
a = CDbl(Text1.Text)
d = CDbl(Text4.Text)
huandai
Text5.Text = CStr(xx2)
Text6.Text = CStr(yy2)
End Sub
Private Sub Command2_Click()
Form1.Show
End Sub
Private Sub Form_OKClick()
Form1.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -