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

📄 result.frm

📁 用VB编写的水准平差软件
💻 FRM
字号:
VERSION 5.00
Object = "{FCD7ED96-3275-41C9-B835-C4C80DC30069}#10.4#0"; "EditGridCtrlLib.ocx"
Begin VB.Form result 
   Caption         =   "Form1"
   ClientHeight    =   7875
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   10230
   LinkTopic       =   "Form1"
   ScaleHeight     =   7875
   ScaleWidth      =   10230
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame3 
      Caption         =   "结果处理"
      Height          =   1095
      Left            =   240
      TabIndex        =   9
      Top             =   6240
      Width           =   9735
      Begin VB.CommandButton Command4 
         Caption         =   "保存为"
         Height          =   375
         Left            =   7440
         TabIndex        =   12
         Top             =   480
         Width           =   1575
      End
      Begin VB.CommandButton Command3 
         Caption         =   "删除点"
         Height          =   375
         Left            =   2880
         TabIndex        =   11
         Top             =   480
         Width           =   1455
      End
      Begin VB.CommandButton Command2 
         Caption         =   "增加点"
         Height          =   375
         Left            =   720
         TabIndex        =   10
         Top             =   480
         Width           =   1335
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "平差结果"
      Height          =   3375
      Left            =   240
      TabIndex        =   7
      Top             =   2760
      Width           =   9735
      Begin EditGridCtrlLib.EditGridCtrl grid2 
         Height          =   2535
         Left            =   360
         TabIndex        =   8
         Top             =   480
         Width           =   9015
         _ExtentX        =   15901
         _ExtentY        =   4471
         ForeColorSel    =   -2147483633
         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
         BeginProperty FontFixed {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
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "已知点信息"
      Height          =   2175
      Left            =   240
      TabIndex        =   0
      Top             =   360
      Width           =   9615
      Begin VB.CommandButton Command1 
         Caption         =   "平差计算"
         Height          =   375
         Left            =   4080
         TabIndex        =   6
         Top             =   1440
         Width           =   1575
      End
      Begin VB.TextBox Text1 
         Height          =   405
         Left            =   6240
         TabIndex        =   5
         Text            =   "Text1"
         Top             =   360
         Width           =   1695
      End
      Begin VB.ComboBox Combo1 
         Height          =   315
         Left            =   2040
         TabIndex        =   2
         Text            =   "Combo1"
         Top             =   390
         Width           =   1815
      End
      Begin VB.Label Label3 
         Caption         =   "该点的高程(m):"
         Height          =   375
         Left            =   4560
         TabIndex        =   4
         Top             =   480
         Width           =   1695
      End
      Begin VB.Label Label1 
         Caption         =   "请选择已知点:"
         Height          =   495
         Left            =   240
         TabIndex        =   3
         Top             =   480
         Width           =   1455
      End
      Begin VB.Label Label2 
         Caption         =   "Label2"
         Height          =   15
         Left            =   1200
         TabIndex        =   1
         Top             =   480
         Width           =   135
      End
   End
End
Attribute VB_Name = "result"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
    Frame2.Visible = True
    Frame3.Visible = True
End Sub

Private Sub Form_Load()
    Dim row As Integer
    Dim col As Integer
    Dim i, j As Integer
    row = all.grid1.Rows
    col = all.grid1.Cols
    For i = 2 To row - 1
       Combo1.AddItem (str(Val(all.grid1.TextMatrix(i, 2))))
    Next
    Text1.Text = 0#
    Frame2.Visible = False
    Frame3.Visible = False
    
End Sub

⌨️ 快捷键说明

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