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

📄 frmevaluateutilities.frm

📁 FloodEvaluation-程序是gis方面的程序
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmEvaluateUtilities 
   Caption         =   "线状设施评估"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6420
   Icon            =   "frmEvaluateUtilities.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   3195
   ScaleWidth      =   6420
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame1 
      Caption         =   "评估项目"
      Height          =   1695
      Left            =   3240
      TabIndex        =   14
      Top             =   120
      Width           =   3015
      Begin VB.TextBox txtRatio 
         Alignment       =   1  'Right Justify
         Height          =   285
         Left            =   1080
         TabIndex        =   20
         Text            =   "0.5"
         Top             =   1200
         Width           =   975
      End
      Begin VB.TextBox strItemPrice 
         Alignment       =   1  'Right Justify
         Height          =   285
         Left            =   1080
         TabIndex        =   16
         Text            =   "10000"
         Top             =   720
         Width           =   975
      End
      Begin VB.TextBox strItemName 
         Alignment       =   1  'Right Justify
         Height          =   285
         Left            =   1080
         TabIndex        =   15
         Text            =   "pipeline"
         Top             =   240
         Width           =   975
      End
      Begin VB.Label Label1 
         Caption         =   "洪水损率"
         Height          =   255
         Left            =   240
         TabIndex        =   21
         Top             =   1200
         Width           =   855
      End
      Begin VB.Label Label36 
         Caption         =   "元/公里"
         Height          =   255
         Left            =   2160
         TabIndex        =   19
         Top             =   720
         Width           =   735
      End
      Begin VB.Label Label35 
         Caption         =   "财物价值"
         Height          =   255
         Left            =   240
         TabIndex        =   18
         Top             =   720
         Width           =   855
      End
      Begin VB.Label Label34 
         Caption         =   "评估名称"
         Height          =   255
         Left            =   240
         TabIndex        =   17
         Top             =   240
         Width           =   855
      End
   End
   Begin VB.Frame Frame5 
      Caption         =   "输入评估行政区域"
      Height          =   855
      Left            =   120
      TabIndex        =   11
      Top             =   2040
      Width           =   2895
      Begin VB.CommandButton cmdDistrict 
         Caption         =   "..."
         Height          =   375
         Left            =   2280
         TabIndex        =   13
         Top             =   240
         Width           =   495
      End
      Begin VB.TextBox txtItemDistrict 
         Height          =   405
         Left            =   120
         TabIndex        =   12
         Top             =   240
         Width           =   2175
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "输入淹没范围分布"
      Height          =   855
      Left            =   120
      TabIndex        =   8
      Top             =   120
      Width           =   2895
      Begin VB.CommandButton cmdWaterRange 
         Caption         =   "..."
         Height          =   375
         Left            =   2280
         TabIndex        =   10
         Top             =   240
         Width           =   495
      End
      Begin VB.TextBox txtWaterRange 
         Height          =   405
         Left            =   120
         TabIndex        =   9
         Top             =   240
         Width           =   2175
      End
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确 认"
      Height          =   375
      Left            =   3720
      TabIndex        =   7
      Top             =   2760
      Width           =   735
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "取 消"
      Height          =   375
      Left            =   4920
      TabIndex        =   6
      Top             =   2760
      Width           =   735
   End
   Begin VB.Frame Frame4 
      Caption         =   "输入评估设施分布"
      Height          =   855
      Left            =   120
      TabIndex        =   3
      Top             =   1080
      Width           =   2895
      Begin VB.TextBox txtItemDistribute 
         Height          =   405
         Left            =   120
         TabIndex        =   5
         Top             =   240
         Width           =   2175
      End
      Begin VB.CommandButton cmdItemDistribute 
         Caption         =   "..."
         Height          =   375
         Left            =   2280
         TabIndex        =   4
         Top             =   240
         Width           =   495
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "将评估结果保存为"
      Height          =   735
      Left            =   3240
      TabIndex        =   0
      Top             =   1920
      Width           =   2895
      Begin VB.TextBox txtPathResult 
         Height          =   405
         Left            =   120
         TabIndex        =   2
         Top             =   240
         Width           =   2175
      End
      Begin VB.CommandButton cmdResult 
         Caption         =   "..."
         Height          =   375
         Left            =   2280
         TabIndex        =   1
         Top             =   240
         Width           =   495
      End
   End
   Begin MSComDlg.CommonDialog CommonDlg 
      Left            =   120
      Top             =   600
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
End
Attribute VB_Name = "frmEvaluateUtilities"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public flagOK As Boolean
Public flagResult As Boolean
Public pShpRangeLyr As IFeatureLayer
Public pShpItemDistrLyr As IFeatureLayer
Public pShpDistrictLyr As IFeatureLayer

Private Sub Form_Load()
    flagOK = False
    flagResult = 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 cmdItemDistribute_Click()
    Dim sReturn As String
    Set pShpItemDistrLyr = BrowseToOpenLayer("line", sReturn, "打开用于评估的财物分布")
    txtItemDistribute = sReturn
End Sub

Private Sub cmdWaterRange_Click()
    Dim sReturn As String
    Set pShpRangeLyr = BrowseToOpenLayer("poly", sReturn, "打开洪水淹没的范围分布")
    txtWaterRange = sReturn
End Sub

Private Sub cmdDistrict_Click()
    Dim sReturn As String
    Set pShpDistrictLyr = BrowseToOpenLayer("poly", sReturn, "打开用于评估区域行政图")
    txtItemDistrict = sReturn
End Sub

Private Sub cmdResult_Click()
    CommonDlg.DialogTitle = "结果文件保存为"
    CommonDlg.FileName = "UntiLoss" + GetDate + ".shp"
    CommonDlg.Filter = "Shape file(*.shp)|*.shp"
    CommonDlg.ShowSave
    txtPathResult = CommonDlg.FileName
End Sub

⌨️ 快捷键说明

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