📄 frm_simulation.frm
字号:
VERSION 5.00
Object = "{FE0065C0-1B7B-11CF-9D53-00AA003C9CB6}#1.1#0"; "comct232.ocx"
Begin VB.Form Frm_Simulation
AutoRedraw = -1 'True
BorderStyle = 0 'None
Caption = "ACS Simulation"
ClientHeight = 9480
ClientLeft = 6270
ClientTop = 945
ClientWidth = 7455
LinkTopic = "Form1"
MDIChild = -1 'True
Moveable = 0 'False
ScaleHeight = 9480
ScaleWidth = 7455
ShowInTaskbar = 0 'False
Begin VB.Frame Frame1
Caption = "ACS Simulation Parameters"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 9015
Left = 240
TabIndex = 0
Top = 240
Width = 6975
Begin ComCtl2.UpDown UD_RepNo
Height = 345
Left = 4800
TabIndex = 11
Top = 600
Width = 255
_ExtentX = 450
_ExtentY = 609
_Version = 327681
AutoBuddy = -1 'True
BuddyControl = "txt_RepNo"
BuddyDispid = 196610
OrigLeft = 5040
OrigTop = 960
OrigRight = 5295
OrigBottom = 1335
SyncBuddy = -1 'True
BuddyProperty = 0
Enabled = -1 'True
End
Begin VB.TextBox txt_RepNo
Alignment = 2 'Center
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 420
Left = 3480
TabIndex = 10
Text = "1000"
Top = 600
Width = 1320
End
Begin VB.CommandButton cmd_ok
Caption = "OK"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 8
Top = 8400
Width = 1095
End
Begin VB.CommandButton cmd_cancel
Cancel = -1 'True
Caption = "Cancel"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4320
TabIndex = 7
Top = 8400
Width = 1095
End
Begin VB.Frame Frame4
Caption = "Sampling Settings"
BeginProperty Font
Name = "@Arial Unicode MS"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6975
Left = 240
TabIndex = 1
Top = 1200
Width = 6495
Begin ComCtl2.UpDown UD_EF
Height = 495
Left = 6000
TabIndex = 22
Top = 3240
Width = 255
_ExtentX = 450
_ExtentY = 873
_Version = 327681
Enabled = -1 'True
End
Begin VB.TextBox txt_ef
Alignment = 2 'Center
Height = 495
Left = 4200
TabIndex = 21
Text = "2"
Top = 3240
Width = 1815
End
Begin ComCtl2.UpDown UD_extensionfactor
Height = 495
Left = 5880
TabIndex = 19
Top = 2520
Width = 255
_ExtentX = 450
_ExtentY = 873
_Version = 327681
Enabled = -1 'True
End
Begin VB.TextBox txt_extensionfactor
Alignment = 2 'Center
Height = 495
Left = 4200
TabIndex = 18
Text = "1"
Top = 2520
Width = 1815
End
Begin ComCtl2.UpDown UD_criticalvalue
Height = 495
Left = 5880
TabIndex = 17
Top = 1800
Width = 255
_ExtentX = 450
_ExtentY = 873
_Version = 327681
Enabled = -1 'True
End
Begin VB.TextBox criticalvalue
Alignment = 2 'Center
Height = 495
Left = 4200
TabIndex = 16
Text = "Text3"
Top = 1800
Width = 1935
End
Begin ComCtl2.UpDown UD_plotsize
Height = 495
Left = 6000
TabIndex = 15
Top = 1080
Width = 255
_ExtentX = 450
_ExtentY = 873
_Version = 327681
Enabled = -1 'True
End
Begin VB.TextBox txt_plotsize
Alignment = 2 'Center
Height = 495
Left = 4200
TabIndex = 14
Text = "0.1"
Top = 1080
Width = 2055
End
Begin ComCtl2.UpDown UpDown2
Height = 495
Left = 5880
TabIndex = 13
Top = 480
Width = 255
_ExtentX = 450
_ExtentY = 873
_Version = 327681
Enabled = -1 'True
End
Begin VB.TextBox txt_samplesize
Alignment = 2 'Center
Height = 495
Left = 4200
TabIndex = 12
Text = "20"
Top = 360
Width = 1935
End
Begin VB.Label lbl_explanation
Caption = "Factor of conditional plot extension is referenced to the initial plot size."
Height = 615
Left = 480
TabIndex = 20
Top = 3000
Width = 1815
End
Begin VB.Label lbl_plotsize
Caption = "Plot Size (ha):"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 480
TabIndex = 6
Top = 1080
Width = 1575
End
Begin VB.Label lbl_SampleSize
Caption = "Sample Size:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 5
Top = 480
Width = 1815
End
Begin VB.Label lbl_plotshape
Caption = "Plot Shape:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
TabIndex = 4
Top = 1440
Width = 1335
End
Begin VB.Label lbl_criticalvalue
Caption = "Critical Value"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 3
Top = 1920
Width = 2655
End
Begin VB.Label lbl_extensionfactor
Caption = "Plot Extension Factor:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 360
TabIndex = 2
Top = 2520
Width = 2175
End
End
Begin VB.Label lbl_RepNo
Caption = "Number of Replications:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 480
TabIndex = 9
Top = 600
Width = 3135
End
End
End
Attribute VB_Name = "Frm_Simulation"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmd_cancel_Click()
If MsgBox("Do you really want to exit the ACS simulation?", vbQuestion Or vbYesNo, "Exit ACS Simulation ?") = vbYes Then
Exit Sub
Else
cmd_ok.SetFocus
End If
End Sub
Private Sub cmd_ok_Click()
MsgBox ("OK!")
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -