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

📄 放线.frm

📁 反算坐标 求得距离及方位角
💻 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 支点数据自动存放在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 + -