⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form5.frm

📁 VB编写的施工放样方法研究及其综合程序
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      End
      Begin VB.Label Label12 
         Caption         =   "外矢距E(m):"
         Height          =   375
         Left            =   480
         TabIndex        =   15
         Top             =   840
         Width           =   1215
      End
      Begin VB.Label Label11 
         Caption         =   "曲线长L(m):"
         Height          =   375
         Left            =   4080
         TabIndex        =   14
         Top             =   360
         Width           =   1575
      End
      Begin VB.Label Label10 
         Caption         =   "切线长T(m):"
         Height          =   375
         Left            =   480
         TabIndex        =   13
         Top             =   360
         Width           =   1455
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "输入已知参数"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1935
      Left            =   360
      TabIndex        =   1
      Top             =   960
      Width           =   5295
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel9 
         Height          =   255
         Left            =   2640
         OleObjectBlob   =   "Form5.frx":07DC
         TabIndex        =   53
         Top             =   1440
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel8 
         Height          =   255
         Left            =   1440
         OleObjectBlob   =   "Form5.frx":083C
         TabIndex        =   52
         Top             =   1440
         Width           =   375
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel7 
         Height          =   255
         Left            =   480
         OleObjectBlob   =   "Form5.frx":089E
         TabIndex        =   51
         Top             =   1440
         Width           =   975
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel6 
         Height          =   255
         Left            =   480
         OleObjectBlob   =   "Form5.frx":0908
         TabIndex        =   50
         Top             =   960
         Width           =   1575
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel5 
         Height          =   255
         Left            =   3960
         OleObjectBlob   =   "Form5.frx":097A
         TabIndex        =   49
         Top             =   360
         Width           =   375
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel4 
         Height          =   255
         Left            =   3000
         OleObjectBlob   =   "Form5.frx":09DA
         TabIndex        =   48
         Top             =   360
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel3 
         Height          =   255
         Left            =   2040
         OleObjectBlob   =   "Form5.frx":0A3A
         TabIndex        =   47
         Top             =   360
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel2 
         Height          =   375
         Left            =   480
         OleObjectBlob   =   "Form5.frx":0A9A
         TabIndex        =   46
         Top             =   360
         Width           =   735
      End
      Begin VB.TextBox Text6 
         Height          =   300
         Left            =   2880
         TabIndex        =   22
         Top             =   1440
         Width           =   975
      End
      Begin VB.TextBox Text5 
         Height          =   300
         Left            =   1800
         TabIndex        =   21
         Top             =   1440
         Width           =   735
      End
      Begin VB.TextBox Text4 
         Height          =   300
         Left            =   2040
         TabIndex        =   20
         Top             =   960
         Width           =   1815
      End
      Begin VB.TextBox Text3 
         Height          =   300
         Left            =   3240
         TabIndex        =   19
         Top             =   360
         Width           =   600
      End
      Begin VB.TextBox Text2 
         Height          =   300
         Left            =   2280
         TabIndex        =   18
         Top             =   360
         Width           =   600
      End
      Begin VB.TextBox Text1 
         Height          =   300
         Left            =   1320
         TabIndex        =   17
         Top             =   360
         Width           =   600
      End
      Begin VB.Label Label9 
         Caption         =   "+"
         Height          =   255
         Index           =   0
         Left            =   2640
         TabIndex        =   12
         Top             =   1440
         Width           =   255
      End
      Begin VB.Label Label8 
         Caption         =   "DK"
         Height          =   255
         Index           =   0
         Left            =   1440
         TabIndex        =   11
         Top             =   1440
         Width           =   495
      End
      Begin VB.Label Label7 
         Caption         =   "JD的里程:"
         Height          =   375
         Index           =   0
         Left            =   480
         TabIndex        =   10
         Top             =   1440
         Width           =   1095
      End
      Begin VB.Label Label6 
         Caption         =   "圆曲线半径R(m):"
         Height          =   375
         Left            =   480
         TabIndex        =   9
         Top             =   960
         Width           =   1695
      End
      Begin VB.Label Label5 
         Caption         =   "秒"
         Height          =   255
         Left            =   3960
         TabIndex        =   8
         Top             =   360
         Width           =   495
      End
      Begin VB.Label Label4 
         Caption         =   "分"
         Height          =   255
         Left            =   3000
         TabIndex        =   7
         Top             =   360
         Width           =   255
      End
      Begin VB.Label Label3 
         Caption         =   "度"
         Height          =   255
         Left            =   2040
         TabIndex        =   6
         Top             =   360
         Width           =   375
      End
      Begin VB.Label Label2 
         Caption         =   "偏角α:"
         Height          =   255
         Left            =   480
         TabIndex        =   5
         Top             =   360
         Width           =   735
      End
   End
   Begin VB.Label Label8 
      Caption         =   "DK"
      Height          =   255
      Index           =   3
      Left            =   1920
      TabIndex        =   32
      Top             =   5400
      Width           =   495
   End
   Begin VB.Label Label9 
      Caption         =   "+"
      Height          =   255
      Index           =   3
      Left            =   3120
      TabIndex        =   31
      Top             =   5400
      Width           =   255
   End
   Begin VB.Label Label9 
      Caption         =   "+"
      Height          =   255
      Index           =   2
      Left            =   3120
      TabIndex        =   30
      Top             =   5520
      Width           =   255
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      Caption         =   "圆曲线主要点计算"
      Height          =   735
      Left            =   2040
      TabIndex        =   0
      Top             =   240
      Width           =   4215
   End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim d!, f!, m!, R!, LC1!, LC2!, hd!, ZY1!, ZY2!, QZ1!, QZ2!, YZ1!, YZ2!, T!, L!, E!, q!
d = Val(Text1.Text)
f = Val(Text2.Text)
m = Val(Text3.Text)
R = Val(Text4.Text)
LC1 = Val(Text5.Text)
LC2 = Val(Text6.Text)
hd = 3.14159 * ((m / 60 + f) / 60 + d) / 180
T = R * Tan(hd / 2)
L = hd * R
E = R * (1 / Cos(hd / 2) - 1)
q = 2 * T - L
T = CLng(100 * T) / 100
L = CLng(100 * L) / 100
E = CLng(100 * E) / 100
q = CLng(100 * q) / 100
Text7.Text = Str$(T)
Text8.Text = Str$(L)
Text9.Text = Str$(E)
Text10.Text = Str$(q)
ZY2 = LC2 - T
ZY1 = LC1
QZ2 = ZY2 + L / 2
QZ1 = LC1
YZ2 = ZY2 + L
If YZ2 > 1000 Then
YZ2 = YZ2 - 1000
YZ1 = LC1 + 1
Else
YZ1 = LC1
End If
Text11.Text = Str$(ZY1)
Text12.Text = Str$(ZY2)
Text13.Text = Str$(QZ1)
Text14.Text = Str$(QZ2)
Text15.Text = Str$(YZ1)
Text16.Text = Str$(YZ2)
End Sub

Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Text12.Text = ""
Text13.Text = ""
Text14.Text = ""
Text15.Text = ""
Text16.Text = ""
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -