📄 生产规划-原料订购计算.frm
字号:
VERSION 5.00
Begin VB.Form Form17
Caption = "生产规划-原料订购计算"
ClientHeight = 5130
ClientLeft = 60
ClientTop = 345
ClientWidth = 5595
LinkTopic = "Form17"
ScaleHeight = 5130
ScaleWidth = 5595
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "确认"
Height = 375
Left = 2160
TabIndex = 6
Top = 4320
Width = 1335
End
Begin VB.TextBox Text2
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 5
Top = 1680
Width = 1935
End
Begin VB.TextBox Text3
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 4
Top = 2760
Width = 1935
End
Begin VB.TextBox Text1
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3000
TabIndex = 3
Top = 600
Width = 1935
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "请及时订购所需的原料!!"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 240
Left = 1440
TabIndex = 7
Top = 3600
Width = 3060
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "公司下月原料订购量:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 210
Left = 600
TabIndex = 2
Top = 2880
Width = 2100
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "公司上月原料订购量:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 210
Left = 600
TabIndex = 1
Top = 1800
Width = 2100
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "公司上月原料总消耗量:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 210
Left = 600
TabIndex = 0
Top = 720
Width = 2310
End
End
Attribute VB_Name = "Form17"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Me.Hide
Form2.Show
End Sub
Private Sub Form_Load()
Dim i, j As Integer
j = 100
For i = 0 To j
If i = j Then
Text1.Text = i * j & "件"
Text2.Text = i * j * 0.5 & "件"
Text3.Text = i * j * 0.2 & "件"
End If
Next i
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -