📄 form17.frm
字号:
VERSION 5.00
Begin VB.Form Form17
BackColor = &H00808080&
Caption = "编辑仓库信息"
ClientHeight = 4155
ClientLeft = 60
ClientTop = 420
ClientWidth = 4995
LinkTopic = "Form17"
ScaleHeight = 4155
ScaleWidth = 4995
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
BackColor = &H00808080&
Caption = "操作"
Height = 735
Left = 0
TabIndex = 6
Top = 3360
Width = 5055
Begin VB.CommandButton Command3
BackColor = &H00808080&
Caption = "取消"
Height = 375
Left = 3600
Style = 1 'Graphical
TabIndex = 9
Top = 240
Width = 855
End
Begin VB.CommandButton Command2
BackColor = &H00808080&
Caption = "修改"
Height = 375
Left = 2040
Style = 1 'Graphical
TabIndex = 8
Top = 240
Width = 855
End
Begin VB.CommandButton Command1
BackColor = &H00808080&
Caption = "添加"
Height = 375
Left = 600
Style = 1 'Graphical
TabIndex = 7
Top = 240
Width = 855
End
End
Begin VB.TextBox Text3
Height = 1335
Left = 2040
TabIndex = 5
Top = 1800
Width = 2535
End
Begin VB.TextBox Text2
Height = 375
Left = 2040
TabIndex = 4
Top = 1080
Width = 2535
End
Begin VB.TextBox Text1
Height = 375
Left = 2040
TabIndex = 3
Top = 360
Width = 855
End
Begin VB.Label Label3
BackColor = &H00808080&
Caption = "仓库说明:"
Height = 375
Left = 360
TabIndex = 2
Top = 1800
Width = 1455
End
Begin VB.Label Label2
BackColor = &H00808080&
Caption = "仓库名称:"
Height = 375
Left = 360
TabIndex = 1
Top = 1080
Width = 1335
End
Begin VB.Label Label1
BackColor = &H00808080&
Caption = "仓库编号:"
Height = 375
Left = 360
TabIndex = 0
Top = 360
Width = 1335
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()
rststore.AddNew
rststore.Fields(0).Value = Text1.Text
rststore.Fields(1).Value = Text2.Text
rststore.Fields(2).Value = Text3.Text
rststore.update
Form16.DataGrid1.Refresh
MsgBox "添加成功!!!!!!!"
Form17.Hide
End Sub
Private Sub Command2_Click()
rststore.Fields(0).Value = Text1.Text
rststore.Fields(1).Value = Text2.Text
rststore.Fields(2).Value = Text3.Text
rststore.update
Form16.DataGrid1.Refresh
MsgBox "修改成功!!!!!!!", , "库存管理系统"
Form17.Hide
End Sub
Private Sub Command3_Click()
Form17.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -