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

📄 form6.frm

📁 VB编写的施工放样方法研究及其综合程序
💻 FRM
字号:
VERSION 5.00
Object = "{74848F95-A02A-4286-AF0C-A3C755E4A5B3}#1.0#0"; "actskn43.ocx"
Begin VB.Form Form6 
   Caption         =   "圆曲线详细测设"
   ClientHeight    =   5865
   ClientLeft      =   3105
   ClientTop       =   2820
   ClientWidth     =   8190
   LinkTopic       =   "Form6"
   MaxButton       =   0   'False
   ScaleHeight     =   5865
   ScaleWidth      =   8190
   Begin ACTIVESKINLibCtl.SkinLabel SkinLabel1 
      Height          =   855
      Left            =   1680
      OleObjectBlob   =   "Form6.frx":0000
      TabIndex        =   15
      Top             =   360
      Width           =   5055
   End
   Begin ACTIVESKINLibCtl.Skin Skin1 
      Left            =   720
      OleObjectBlob   =   "Form6.frx":006A
      Top             =   360
   End
   Begin VB.CommandButton Command2 
      Caption         =   "继续"
      Height          =   495
      Left            =   6480
      TabIndex        =   4
      Top             =   2640
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "计算"
      Height          =   495
      Left            =   6480
      TabIndex        =   3
      Top             =   1680
      Width           =   1455
   End
   Begin VB.Frame Frame2 
      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          =   1695
      Left            =   240
      TabIndex        =   2
      Top             =   3720
      Width           =   7695
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel6 
         Height          =   375
         Left            =   4080
         OleObjectBlob   =   "Form6.frx":029E
         TabIndex        =   20
         Top             =   600
         Width           =   855
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel5 
         Height          =   255
         Left            =   480
         OleObjectBlob   =   "Form6.frx":0308
         TabIndex        =   19
         Top             =   600
         Width           =   615
      End
      Begin VB.TextBox Text5 
         Height          =   375
         Left            =   4920
         TabIndex        =   14
         Top             =   480
         Width           =   2175
      End
      Begin VB.TextBox Text4 
         Height          =   375
         Left            =   1320
         TabIndex        =   13
         Top             =   480
         Width           =   2175
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel13 
         Height          =   375
         Left            =   480
         OleObjectBlob   =   "Form6.frx":036C
         TabIndex        =   21
         Top             =   1080
         Width           =   5655
      End
      Begin VB.Label Label6 
         Caption         =   "距离(m):"
         Height          =   495
         Left            =   4080
         TabIndex        =   9
         Top             =   600
         Width           =   1455
      End
      Begin VB.Label Label5 
         Caption         =   "拨角:"
         Height          =   375
         Left            =   480
         TabIndex        =   8
         Top             =   600
         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            =   240
      TabIndex        =   1
      Top             =   1200
      Width           =   5775
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel4 
         Height          =   375
         Left            =   600
         OleObjectBlob   =   "Form6.frx":03F0
         TabIndex        =   18
         Top             =   1560
         Width           =   1695
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel3 
         Height          =   495
         Left            =   600
         OleObjectBlob   =   "Form6.frx":045E
         TabIndex        =   17
         Top             =   960
         Width           =   2055
      End
      Begin ACTIVESKINLibCtl.SkinLabel SkinLabel2 
         Height          =   375
         Left            =   600
         OleObjectBlob   =   "Form6.frx":04D0
         TabIndex        =   16
         Top             =   360
         Width           =   2295
      End
      Begin VB.TextBox Text3 
         Height          =   375
         Left            =   3120
         TabIndex        =   12
         Top             =   1440
         Width           =   1815
      End
      Begin VB.TextBox Text2 
         Height          =   375
         Left            =   3120
         TabIndex        =   11
         Top             =   840
         Width           =   1815
      End
      Begin VB.TextBox Text1 
         Height          =   375
         Left            =   3120
         TabIndex        =   10
         Top             =   240
         Width           =   1815
      End
      Begin VB.Label Label4 
         Caption         =   "切线长T(m):"
         Height          =   375
         Left            =   600
         TabIndex        =   7
         Top             =   1560
         Width           =   1575
      End
      Begin VB.Label Label3 
         Caption         =   "圆曲线半径R(m):"
         Height          =   375
         Left            =   600
         TabIndex        =   6
         Top             =   960
         Width           =   1815
      End
      Begin VB.Label Label2 
         Caption         =   "放样点与ZY里程之差(m):"
         Height          =   375
         Left            =   600
         TabIndex        =   5
         Top             =   360
         Width           =   2055
      End
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      Caption         =   "圆曲线详细测设"
      Height          =   615
      Left            =   1680
      TabIndex        =   0
      Top             =   480
      Width           =   4935
   End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim L!, R!, T!, x!, y!, hd!, z1!, d!, f!, m!, s!
L = Val(Text1.Text)
R = Val(Text2.Text)
T = Val(Text3.Text)
x = R * Sin(L / R)
y = R * (1 - Cos(L / R))
hd = Atn(y / (T - x))
d = Fix((hd / 3.14159) * 180)
zfh = Sgn(d)
d = Abs(d)
z1 = Abs((hd / 3.14159) * 180) - d
f = Fix(z1 * 60)
m = (z1 * 60 - f) * 60
m = CInt(m)
If m = 60 Then
f = f + 1
m = 0
End If
If f = 60 Then
d = d + 1
f = 0
End If
If zfh < 0 Then
Text4.Text = "-" & Str$(d) & "度" & Str$(f) & "分" & Str$(m) & "秒"
Else
Text4.Text = Str$(d) & "度" & Str$(f) & "分" & Str$(m) & "秒"
End If
s = Sqr(y * y + (T - x) * (T - x))
Text5.Text = Str$(s)


End Sub

Private Sub Command2_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
End Sub

⌨️ 快捷键说明

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