📄 work.frm
字号:
VERSION 5.00
Begin VB.Form Work
Caption = "作业管理程序"
ClientHeight = 5565
ClientLeft = 60
ClientTop = 345
ClientWidth = 7455
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 5565
ScaleWidth = 7455
WindowState = 2 'Maximized
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 495
Left = 360
TabIndex = 7
Top = 2280
Width = 975
End
Begin VB.Frame Frame3
Caption = "册除作业"
Height = 1695
Left = 3855
TabIndex = 4
Top = 3240
Width = 3375
Begin VB.CommandButton Command3
Caption = "删除<&D>"
Height = 315
Left = 2220
TabIndex = 14
Top = 1215
Width = 945
End
Begin VB.ComboBox Combo1
Height = 300
Left = 1500
TabIndex = 12
Top = 330
Width = 1455
End
Begin VB.Label Label5
Caption = "作业名称:"
Height = 255
Left = 345
TabIndex = 13
Top = 390
Width = 1215
End
End
Begin VB.Frame Frame2
Caption = "加载作业"
Height = 1695
Left = 240
TabIndex = 3
Top = 3240
Width = 3255
Begin VB.TextBox Text2
Height = 270
Left = 1155
TabIndex = 17
Text = "1"
Top = 780
Width = 855
End
Begin VB.CommandButton Command2
Caption = " 添加<&A>"
Height = 300
Left = 2025
TabIndex = 9
Top = 1230
Width = 975
End
Begin VB.TextBox Text1
Height = 270
Left = 1155
TabIndex = 8
Text = "PROC"
Top = 345
Width = 1695
End
Begin VB.Label Label6
Caption = "作业大小:"
Height = 270
Left = 255
TabIndex = 16
Top = 810
Width = 945
End
Begin VB.Label Label4
Caption = "当前作业数: 个"
Height = 255
Left = 270
TabIndex = 11
Top = 1335
Width = 1860
End
Begin VB.Label Label3
Caption = "作业名称:"
Height = 255
Left = 240
TabIndex = 10
Top = 405
Width = 975
End
End
Begin VB.Frame Frame1
Caption = "作业管理内存分配表"
Height = 2895
Left = 1800
TabIndex = 0
Top = 240
Width = 3975
Begin VB.Label Work
BackColor = &H00FF8080&
Caption = "Work"
Height = 195
Index = 0
Left = 1380
TabIndex = 15
Top = 510
Visible = 0 'False
Width = 1005
End
Begin VB.Label Label1
Caption = "先进先出算法"
Height = 255
Left = 390
TabIndex = 5
Top = 2475
Width = 1095
End
Begin VB.Label Label_type2
BackColor = &H00FFC0C0&
Height = 1815
Left = 2400
TabIndex = 2
Top = 480
Width = 1095
End
Begin VB.Label Label_type1
BackColor = &H00FFC0C0&
Height = 1800
Left = 360
TabIndex = 1
Top = 480
Visible = 0 'False
Width = 1000
End
End
Begin VB.Label Label2
Caption = "Label2"
Height = 375
Left = 360
TabIndex = 6
Top = 1560
Width = 1335
End
End
Attribute VB_Name = "Work"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
'Label1.Caption = MM(1)
Unload yinhan
End Sub
Private Sub Command2_Click()
' 这难道就是结局
Load Work(Coun)
Work(Coun).Visible = True
Work(Coun).Caption = Text1.Text & Coun
Work(Coun).Left = xx
Work(Coun).Top = yy
Work(Coun).Height = Text2.Text * 18
Work(Coun).BackColor = RGB(130 + Coun * 10, Coun * 20, Coun * 30)
Combo1.AddItem (Text1.Text & Coun)
Combo1.Text = Text1.Text & Coun
yy = yy + Text2.Text * 18
Label4.Caption = "当前作业数:" & Coun & "个"
Coun = Coun + 1
End Sub
Private Sub Command4_Click()
Dim aa(2, 3, 3) As Integer
End Sub
Private Sub Form_Load()
xx = 360
yy = 480
Coun = 1
'MM(1) = 23
End Sub
Private Sub Label2_Click()
End Sub
Private Sub Text2_Change()
Text2.Text = Val(Text2.Text)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -