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

📄 frmevaluateplane.frm

📁 FloodEvaluation-程序是gis方面的程序
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmEvaluatePlane 
   Caption         =   "面状财物损失评估"
   ClientHeight    =   2640
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6135
   Icon            =   "frmEvaluatePlane.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   2640
   ScaleWidth      =   6135
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame2 
      Caption         =   "评估项目"
      Height          =   1095
      Left            =   3120
      TabIndex        =   11
      Top             =   120
      Width           =   2895
      Begin VB.TextBox strItemName 
         Alignment       =   1  'Right Justify
         Height          =   285
         Left            =   960
         TabIndex        =   13
         Text            =   "planar"
         Top             =   240
         Width           =   735
      End
      Begin VB.TextBox strItemPrice 
         Alignment       =   1  'Right Justify
         Height          =   285
         Left            =   960
         TabIndex        =   12
         Text            =   "10000"
         Top             =   720
         Width           =   735
      End
      Begin VB.Label Label34 
         Caption         =   "评估名称"
         Height          =   255
         Left            =   120
         TabIndex        =   16
         Top             =   240
         Width           =   855
      End
      Begin VB.Label Label35 
         Caption         =   "财物价值"
         Height          =   255
         Left            =   120
         TabIndex        =   15
         Top             =   720
         Width           =   855
      End
      Begin VB.Label Label36 
         Caption         =   "元/平方公里"
         Height          =   255
         Left            =   1800
         TabIndex        =   14
         Top             =   720
         Width           =   975
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "将受灾统计保存为"
      Height          =   735
      Left            =   120
      TabIndex        =   8
      Top             =   1800
      Width           =   2895
      Begin VB.CommandButton cmdResult 
         Caption         =   "..."
         Height          =   375
         Left            =   2400
         TabIndex        =   10
         Top             =   240
         Width           =   375
      End
      Begin VB.TextBox txtPathResult 
         Height          =   375
         Left            =   120
         TabIndex        =   9
         Top             =   240
         Width           =   2295
      End
   End
   Begin VB.Frame Frame4 
      Caption         =   "请输入面状财物分布"
      Height          =   735
      Left            =   120
      TabIndex        =   5
      Top             =   960
      Width           =   2895
      Begin VB.CommandButton cmdPlanarProp 
         Caption         =   "..."
         Height          =   375
         Left            =   2400
         TabIndex        =   7
         Top             =   240
         Width           =   375
      End
      Begin VB.TextBox strPlanarProp 
         Height          =   375
         Left            =   120
         TabIndex        =   6
         Top             =   240
         Width           =   2295
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "请输入洪水淹没范围"
      Height          =   735
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   2895
      Begin VB.TextBox strFloodArea 
         Height          =   375
         Left            =   120
         TabIndex        =   4
         Top             =   240
         Width           =   2295
      End
      Begin VB.CommandButton cmdFloodArea 
         Caption         =   "..."
         Height          =   375
         Left            =   2400
         TabIndex        =   3
         Top             =   240
         Width           =   375
      End
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "取消"
      Height          =   375
      Left            =   3600
      TabIndex        =   1
      Top             =   1920
      Width           =   735
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确认"
      Height          =   375
      Left            =   4800
      TabIndex        =   0
      Top             =   1920
      Width           =   735
   End
   Begin MSComDlg.CommonDialog CommonDlg 
      Left            =   120
      Top             =   1440
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
End
Attribute VB_Name = "frmEvaluatePlane"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public flagOK As Boolean
Public shpFloodAreaLyr As IFeatureLayer
Public shpPlanarPropLyr As IFeatureLayer

Private Sub Form_Load()
    flagOK = False
End Sub

Private Sub cmdCancel_Click()
    flagOK = False
    Me.Hide
End Sub

Private Sub cmdOK_Click()
    flagOK = True
    Me.Hide
End Sub

Private Sub cmdFloodArea_Click()
    Dim sReturn As String
    Set shpFloodAreaLyr = BrowseToOpenLayer("poly", sReturn, "打开洪水淹没范围文件")
    strFloodArea = sReturn
End Sub

Private Sub cmdPlanarProp_Click()
    Dim sReturn As String
    Set shpPlanarPropLyr = BrowseToOpenLayer("poly", sReturn, "打开面状财物分布文件")
    strPlanarProp = sReturn
End Sub

Private Sub cmdResult_Click()
    CommonDlg.DialogTitle = "统计结果保存为"
    CommonDlg.FileName = "C:\Program Files\BeijiangTemp\floodProp.shp"
    CommonDlg.Filter = "Shape file(*.shp)|*.shp"
    CommonDlg.ShowSave
    txtPathResult = CommonDlg.FileName
End Sub

⌨️ 快捷键说明

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