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

📄 form7.frm

📁 VB编写的施工放样方法研究及其综合程序
💻 FRM
📖 第 1 页 / 共 2 页
字号:
      End
      Begin VB.Label Label13 
         Caption         =   "ZH的里程(m):"
         Height          =   255
         Index           =   1
         Left            =   4080
         TabIndex        =   21
         Top             =   1200
         Width           =   1215
      End
      Begin VB.Label Label15 
         Caption         =   "+"
         Height          =   255
         Index           =   0
         Left            =   2880
         TabIndex        =   18
         Top             =   1200
         Width           =   375
      End
      Begin VB.Label Label14 
         Caption         =   "DK"
         Height          =   255
         Index           =   0
         Left            =   1920
         TabIndex        =   17
         Top             =   1200
         Width           =   255
      End
      Begin VB.Label Label13 
         Caption         =   "ZH的里程(m):"
         Height          =   255
         Index           =   0
         Left            =   600
         TabIndex        =   16
         Top             =   1200
         Width           =   1215
      End
      Begin VB.Label Label12 
         Caption         =   "切曲差q(m):"
         Height          =   255
         Left            =   4320
         TabIndex        =   15
         Top             =   840
         Width           =   1095
      End
      Begin VB.Label Label11 
         Caption         =   "外矢距E(m):"
         Height          =   255
         Left            =   600
         TabIndex        =   14
         Top             =   840
         Width           =   1095
      End
      Begin VB.Label Label10 
         Caption         =   "曲线长L(m):"
         Height          =   255
         Left            =   4320
         TabIndex        =   13
         Top             =   480
         Width           =   1215
      End
      Begin VB.Label Label9 
         Caption         =   "切线长T(m):"
         Height          =   255
         Left            =   600
         TabIndex        =   12
         Top             =   480
         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          =   2175
      Left            =   360
      TabIndex        =   1
      Top             =   960
      Width           =   5295
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel10 
         Height          =   255
         Left            =   2760
         OleObjectBlob   =   "Form7.frx":0A60
         TabIndex        =   63
         Top             =   1680
         Width           =   135
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel9 
         Height          =   255
         Left            =   1800
         OleObjectBlob   =   "Form7.frx":0AC0
         TabIndex        =   62
         Top             =   1680
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel8 
         Height          =   255
         Left            =   600
         OleObjectBlob   =   "Form7.frx":0B22
         TabIndex        =   61
         Top             =   1680
         Width           =   1455
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel7 
         Height          =   255
         Left            =   600
         OleObjectBlob   =   "Form7.frx":0B92
         TabIndex        =   60
         Top             =   1200
         Width           =   1575
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel6 
         Height          =   255
         Left            =   3840
         OleObjectBlob   =   "Form7.frx":0C04
         TabIndex        =   59
         Top             =   840
         Width           =   375
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel5 
         Height          =   255
         Left            =   3000
         OleObjectBlob   =   "Form7.frx":0C64
         TabIndex        =   58
         Top             =   840
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel4 
         Height          =   255
         Left            =   2160
         OleObjectBlob   =   "Form7.frx":0CC4
         TabIndex        =   57
         Top             =   840
         Width           =   255
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel3 
         Height          =   255
         Left            =   600
         OleObjectBlob   =   "Form7.frx":0D24
         TabIndex        =   56
         Top             =   840
         Width           =   855
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel2 
         Height          =   255
         Left            =   600
         OleObjectBlob   =   "Form7.frx":0D8A
         TabIndex        =   55
         Top             =   360
         Width           =   1575
      End
      Begin VB.TextBox Text7 
         Height          =   300
         Left            =   2880
         TabIndex        =   39
         Top             =   1680
         Width           =   855
      End
      Begin VB.TextBox Text6 
         Height          =   300
         Left            =   2160
         TabIndex        =   38
         Top             =   1680
         Width           =   525
      End
      Begin VB.TextBox Text5 
         Height          =   300
         Left            =   2160
         TabIndex        =   37
         Top             =   1200
         Width           =   1575
      End
      Begin VB.TextBox Text4 
         Height          =   300
         Left            =   3240
         TabIndex        =   36
         Top             =   840
         Width           =   480
      End
      Begin VB.TextBox Text3 
         Height          =   300
         Left            =   2400
         TabIndex        =   35
         Top             =   840
         Width           =   480
      End
      Begin VB.TextBox Text2 
         Height          =   300
         Left            =   1560
         TabIndex        =   34
         Top             =   840
         Width           =   480
      End
      Begin VB.TextBox Text1 
         Height          =   300
         Left            =   2160
         TabIndex        =   33
         Top             =   360
         Width           =   1575
      End
      Begin VB.Label Label15 
         Caption         =   "+"
         Height          =   255
         Index           =   1
         Left            =   2760
         TabIndex        =   20
         Top             =   1680
         Width           =   495
      End
      Begin VB.Label Label14 
         Caption         =   "DK"
         Height          =   255
         Index           =   1
         Left            =   1800
         TabIndex        =   19
         Top             =   1680
         Width           =   255
      End
      Begin VB.Label Label8 
         Caption         =   "秒"
         Height          =   255
         Left            =   3840
         TabIndex        =   11
         Top             =   840
         Width           =   375
      End
      Begin VB.Label Label7 
         Caption         =   "分"
         Height          =   255
         Left            =   3000
         TabIndex        =   10
         Top             =   840
         Width           =   375
      End
      Begin VB.Label Label6 
         Caption         =   "度"
         Height          =   255
         Left            =   2160
         TabIndex        =   9
         Top             =   840
         Width           =   255
      End
      Begin VB.Label Label5 
         Caption         =   "JD的里程(m):"
         Height          =   375
         Left            =   600
         TabIndex        =   8
         Top             =   1680
         Width           =   1335
      End
      Begin VB.Label Label4 
         Caption         =   "缓和曲线长度(m):"
         Height          =   255
         Left            =   600
         TabIndex        =   7
         Top             =   1200
         Width           =   1695
      End
      Begin VB.Label Label3 
         Caption         =   "偏角α:"
         Height          =   255
         Left            =   600
         TabIndex        =   6
         Top             =   840
         Width           =   975
      End
      Begin VB.Label Label2 
         Caption         =   "圆曲线半径R(m):"
         Height          =   255
         Left            =   600
         TabIndex        =   5
         Top             =   360
         Width           =   1575
      End
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      Caption         =   "有缓和曲线的圆曲线的主要点计算"
      Height          =   735
      Left            =   1680
      TabIndex        =   0
      Top             =   240
      Width           =   5175
   End
End
Attribute VB_Name = "Form7"
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!, L0!, LC1!, LC2!, hd!, p0!, m0!, p!, rou!, ZH1!, ZH2!, _
    HY1!, HY2!, YH1!, YH2!, QZ1!, QZ2!, HZ1!, HZ2!, T!, L!, E!, q!
R = Val(Text1.Text)
d = Val(Text2.Text)
f = Val(Text3.Text)
m = Val(Text4.Text)
L0 = Val(Text5.Text)
LC1 = Val(Text6.Text)
LC2 = Val(Text7.Text)
hd = 3.14159 * ((m / 60 + f) / 60 + d) / 180
p0 = L0 / (2 * R)
m0 = L0 / 2 - L0 * L0 * L0 / (240 * R * R)
p = L0 * L0 / (24 * R)
T = m0 + (R + p) * Tan(hd / 2)
L = (hd - 2 * p0) * R + 2 * L0
E = (R + p) * (1 / Cos(hd / 2)) - R
q = 2 * T - L
T = CLng(100 * T) / 100
L = CLng(100 * L) / 100
E = CLng(100 * E) / 100
q = CLng(100 * q) / 100
Text8.Text = Str$(T)
Text9.Text = Str$(L)
Text10.Text = Str$(E)
Text11.Text = Str$(q)
ZH2 = LC2 - T
If ZH2 < 0 Then
ZH2 = Abs(1000 + ZH2)
ZH1 = LC1 - 1
Else
ZH2 = ZH2
ZH1 = LC1
End If
HY2 = ZH2 + L0
If HY2 > 1000 Then
HY2 = HY2 - 1000
HY1 = ZH1 + 1
Else
HY2 = HY2
HY1 = ZH1
End If
QZ2 = ZH2 + L / 2
If QZ2 > 1000 Then
QZ2 = QZ2 - 1000
QZ1 = ZH1 + 1
Else
QZ2 = QZ2
QZ1 = ZH1
End If
QZ2 = CInt(100 * QZ2) / 100
HZ2 = QZ2 + L / 2
If HZ2 > 1000 Then
HZ2 = HZ2 - 1000
HZ1 = QZ1 + 1
Else
HZ2 = HZ2
HZ1 = QZ1
End If
HZ2 = CInt(100 * HZ2) / 100
YH2 = HZ2 - L0
If YH2 < 0 Then
YH2 = Abs(1000 + YH2)
YH1 = HZ1 - 1
Else
YH2 = YH2
YH1 = HZ1
End If
YH2 = CInt(100 * YH2) / 100
Text12.Text = Str$(ZH1)
Text13.Text = Str$(ZH2)
Text14.Text = Str$(HY1)
Text15.Text = Str$(HY2)
Text16.Text = Str$(QZ1)
Text17.Text = Str$(QZ2)
Text18.Text = Str$(YH1)
Text19.Text = Str$(YH2)
Text20.Text = Str$(HZ1)
Text21.Text = Str$(HZ2)
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 = ""
Text17.Text = ""
Text18.Text = ""
Text19.Text = ""
Text11.Text = ""
Text20.Text = ""
Text21.Text = ""
End Sub

⌨️ 快捷键说明

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