📄 form2.frm
字号:
TabIndex = 53
Top = 1560
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 45
Left = 240
TabIndex = 52
Top = 1560
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 44
Left = 6960
TabIndex = 51
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 43
Left = 6480
TabIndex = 50
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 42
Left = 6000
TabIndex = 49
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 41
Left = 5520
TabIndex = 48
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 40
Left = 5040
TabIndex = 47
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 39
Left = 4560
TabIndex = 46
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 38
Left = 4080
TabIndex = 45
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 37
Left = 3600
TabIndex = 44
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 36
Left = 3120
TabIndex = 43
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 35
Left = 2640
TabIndex = 42
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 34
Left = 2160
TabIndex = 41
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 33
Left = 1680
TabIndex = 40
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 32
Left = 1200
TabIndex = 39
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 31
Left = 720
TabIndex = 38
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 30
Left = 240
TabIndex = 37
Top = 1200
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 29
Left = 6960
TabIndex = 36
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 28
Left = 6480
TabIndex = 35
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 27
Left = 6000
TabIndex = 34
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 26
Left = 5520
TabIndex = 33
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 25
Left = 5040
TabIndex = 32
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 24
Left = 4560
TabIndex = 31
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 23
Left = 4080
TabIndex = 30
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 22
Left = 3600
TabIndex = 29
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 21
Left = 3120
TabIndex = 28
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 20
Left = 2640
TabIndex = 27
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 19
Left = 2160
TabIndex = 26
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 18
Left = 1680
TabIndex = 25
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 17
Left = 1200
TabIndex = 24
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 16
Left = 720
TabIndex = 23
Text = "0"
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 15
Left = 240
TabIndex = 22
Text = "1"
Top = 720
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 14
Left = 6960
TabIndex = 21
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 13
Left = 6480
TabIndex = 20
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 12
Left = 6000
TabIndex = 19
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 11
Left = 5520
TabIndex = 18
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 10
Left = 5040
TabIndex = 17
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 9
Left = 4560
TabIndex = 16
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 8
Left = 4080
TabIndex = 15
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 7
Left = 3600
TabIndex = 14
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 6
Left = 3120
TabIndex = 13
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 5
Left = 2640
TabIndex = 12
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 4
Left = 2160
TabIndex = 11
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 3
Left = 1680
TabIndex = 10
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 2
Left = 1200
TabIndex = 9
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 1
Left = 720
TabIndex = 8
Text = "1"
Top = 240
Width = 375
End
Begin VB.TextBox Text3
Height = 285
Index = 0
Left = 240
TabIndex = 7
Text = "1"
Top = 240
Width = 375
End
End
Begin VB.CommandButton Command3
Caption = "OK"
Height = 375
Left = 3840
TabIndex = 5
Top = 600
Width = 1215
End
Begin VB.TextBox Text2
Height = 375
Left = 2880
TabIndex = 4
Text = "2"
Top = 600
Width = 615
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 3
Text = "2"
Top = 600
Width = 615
End
Begin VB.CommandButton Command2
Caption = "下一步"
Height = 375
Left = 6840
TabIndex = 1
Top = 7560
Width = 1215
End
Begin VB.CommandButton Command1
Caption = "上一步"
Height = 375
Left = 5280
TabIndex = 0
Top = 7560
Width = 1455
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "X"
Height = 195
Left = 2520
TabIndex = 202
Top = 720
Width = 105
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "行列数:"
Height = 195
Left = 720
TabIndex = 2
Top = 720
Width = 720
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form1.Show
Unload Me
End Sub
Private Sub Command2_Click()
For i = 0 To Val(Text1.Text) - 1
For j = 0 To Val(Text2.Text) - 1
b(i, j) = Val(Text3(i * 15 + j).Text)
Next
Next
Form3.Show
Unload Me
End Sub
Private Sub Command3_Click()
For i = 0 To 14
For j = 0 To 14
Text3(i * 15 + j).Visible = False
Next
Next
For i = 0 To Val(Text1.Text) - 1
For j = 0 To Val(Text2.Text) - 1
Text3(i * 15 + j).Visible = True
Next
Next
t3 = Text1.Text
t4 = Text2.Text
End Sub
Private Sub Form_Load()
For i = 0 To 14
For j = 0 To 14
Text3(i * 15 + j).Visible = False
Next
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -