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

📄 frmpolygonselect.frm

📁 FloodEvaluation-程序是gis方面的程序
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form frmPolygonSelect 
   Caption         =   "多边形提取栅格图斑"
   ClientHeight    =   3075
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3840
   Icon            =   "frmPolygonSelect.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3075
   ScaleWidth      =   3840
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame4 
      Caption         =   "请输入栅格文件"
      Height          =   735
      Left            =   120
      TabIndex        =   8
      Top             =   960
      Width           =   3615
      Begin VB.TextBox strPathGRID 
         Height          =   375
         Left            =   120
         TabIndex        =   10
         Top             =   240
         Width           =   3015
      End
      Begin VB.CommandButton cmdGRID 
         Caption         =   "..."
         Height          =   375
         Left            =   3120
         TabIndex        =   9
         Top             =   240
         Width           =   375
      End
   End
   Begin VB.Frame Frame3 
      Caption         =   "将提取结果保存为"
      Height          =   735
      Left            =   120
      TabIndex        =   5
      Top             =   1800
      Width           =   3615
      Begin VB.CommandButton cmdResult 
         Caption         =   "..."
         Height          =   375
         Left            =   3120
         TabIndex        =   7
         Top             =   240
         Width           =   375
      End
      Begin VB.TextBox strPathResult 
         Height          =   375
         Left            =   120
         TabIndex        =   6
         Top             =   240
         Width           =   3015
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "请输入多边形文件"
      Height          =   735
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   3615
      Begin VB.CommandButton cmdPolygon 
         Caption         =   "..."
         Height          =   375
         Left            =   3120
         TabIndex        =   4
         Top             =   240
         Width           =   375
      End
      Begin VB.TextBox strPathPolygon 
         Height          =   375
         Left            =   120
         TabIndex        =   3
         Top             =   240
         Width           =   3015
      End
   End
   Begin VB.CommandButton cmdCancel 
      Caption         =   "取消"
      Height          =   375
      Left            =   720
      TabIndex        =   1
      Top             =   2640
      Width           =   735
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确认"
      Height          =   375
      Left            =   2160
      TabIndex        =   0
      Top             =   2640
      Width           =   735
   End
   Begin MSComDlg.CommonDialog CommonDlg 
      Left            =   0
      Top             =   2400
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
End
Attribute VB_Name = "frmPolygonSelect"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public flagOK As Boolean

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

Private Sub cmdPolygon_Click()
    CommonDlg.DialogTitle = "请选择多边形文件"
    CommonDlg.FileName = "C:\Program Files\BeijiangTemp\resultfeat.shp"
    CommonDlg.Filter = "Shape file(*.shp)|*.shp"
    CommonDlg.ShowOpen
    strPathPolygon = CommonDlg.FileName
End Sub

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

Private Sub cmdResult_Click()
    CommonDlg.DialogTitle = "结果保存为(请使用英文名称)"
    CommonDlg.FileName = "C:\Program Files\BeijiangTemp\polyExtract.aux"
    CommonDlg.Filter = "ESRI GRID(*.aux)|*.aux"
    CommonDlg.ShowSave
    strPathResult = CommonDlg.FileName
End Sub

Private Sub cmdGRID_Click()
'    CommonDlg.InitDir = upperPath
    CommonDlg.DialogTitle = "请选择栅格文件"
    CommonDlg.FileName = "C:\Program Files\BeijiangTemp\dem1.aux"
    CommonDlg.Filter = "ESRI GRID(*.aux)|*.aux"
    CommonDlg.ShowOpen
    strPathGRID = CommonDlg.FileName
End Sub

Private Sub form_load()
    flagOK = False
End Sub


⌨️ 快捷键说明

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