📄 frmcircle.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form frmCircle
Caption = "圆信息"
ClientHeight = 6780
ClientLeft = 60
ClientTop = 450
ClientWidth = 6975
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form2"
ScaleHeight = 6780
ScaleWidth = 6975
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog CommonDialog1
Left = 5040
Top = 3960
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "确定"
Height = 975
Left = 4680
TabIndex = 17
Top = 2040
Width = 1695
End
Begin VB.TextBox Text8
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 16
Top = 5760
Width = 1815
End
Begin VB.TextBox Text7
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 15
Top = 4920
Width = 1815
End
Begin VB.TextBox Text6
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 14
Top = 4200
Width = 1815
End
Begin VB.TextBox Text5
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 13
Top = 3360
Width = 1815
End
Begin VB.TextBox Text4
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 12
Top = 2520
Width = 1815
End
Begin VB.TextBox Text3
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 11
Top = 1680
Width = 1815
End
Begin VB.TextBox Text2
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 10
Top = 960
Width = 1815
End
Begin VB.TextBox Text1
Enabled = 0 'False
Height = 615
Left = 2160
TabIndex = 9
Top = 120
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "修改"
Height = 855
Left = 4680
TabIndex = 6
Top = 840
Width = 1695
End
Begin VB.Label Label8
Caption = "Fillstyle"
Height = 615
Left = 0
TabIndex = 8
Top = 5760
Width = 1575
End
Begin VB.Label Label7
Caption = " Color"
Height = 495
Left = 120
TabIndex = 7
Top = 5040
Width = 1455
End
Begin VB.Label Label6
Caption = " Size"
Height = 615
Left = 120
TabIndex = 5
Top = 4200
Width = 1695
End
Begin VB.Label Label5
Caption = "C.Y"
Height = 615
Left = 120
TabIndex = 4
Top = 3360
Width = 1695
End
Begin VB.Label Label4
Caption = "C.X"
Height = 615
Left = 120
TabIndex = 3
Top = 2520
Width = 1575
End
Begin VB.Label Label3
Caption = "Center.Y"
Height = 495
Left = 120
TabIndex = 2
Top = 1800
Width = 1575
End
Begin VB.Label Label2
Caption = "Center.X"
Height = 495
Left = 120
TabIndex = 1
Top = 960
Width = 1455
End
Begin VB.Label Label1
Caption = " ID"
Height = 495
Left = 120
TabIndex = 0
Top = 240
Width = 1455
End
End
Attribute VB_Name = "frmCircle"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Me.Text2.Enabled = True
Me.Text3.Enabled = True
Me.Text4.Enabled = True
Me.Text5.Enabled = True
Me.Text6.Enabled = True
Me.Text7.Enabled = True
Me.Text8.Enabled = True
End Sub
Private Sub Command2_Click()
CircleArray(nselectidc).CenterPoint.X = Me.Text2
CircleArray(nselectidc).CenterPoint.Y = Me.Text3
CircleArray(nselectidc).cp.X = Me.Text4
CircleArray(nselectidc).cp.Y = Me.Text5
CircleArray(nselectidc).size = Me.Text6
CircleArray(nselectidc).color = Me.Text7.BackColor
Form1.FillStyle = Me.Text8
CircleArray(nselectidc).nFillStyle = Me.Text8
Form1.Refresh
End Sub
Private Sub Text7_click()
Me.CommonDialog1.ShowColor
Me.Text7.BackColor = CommonDialog1.color
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -