📄 安装信息.frm
字号:
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 11400
TabIndex = 31
Top = 720
Width = 1215
End
Begin VB.Label Label12
BackStyle = 0 'Transparent
Caption = "Label12"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 12720
TabIndex = 30
Top = 240
Width = 1455
End
Begin VB.Label Label11
BackStyle = 0 'Transparent
Caption = "现在日期"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 11400
TabIndex = 29
Top = 240
Width = 1215
End
Begin VB.Label Label10
Caption = "差旅费给"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 8400
TabIndex = 18
Top = 10080
Width = 1455
End
Begin VB.Label Label9
Caption = "材料费给"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 8400
TabIndex = 17
Top = 9360
Width = 1455
End
Begin VB.Label Label8
Caption = "交通费给"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 8400
TabIndex = 16
Top = 8640
Width = 1455
End
Begin VB.Label Label2
Caption = "内机编号1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 15
Top = 8640
Width = 1095
End
Begin VB.Label Label3
Caption = "内机编号2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 14
Top = 9240
Width = 1095
End
Begin VB.Label Label4
Caption = "外机编号"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 13
Top = 9840
Width = 975
End
Begin VB.Label Label5
Caption = "辅安装人1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4560
TabIndex = 12
Top = 8640
Width = 1455
End
Begin VB.Label Label6
Caption = "辅安装人2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4560
TabIndex = 11
Top = 9360
Width = 1455
End
Begin VB.Label Label7
Caption = "辅安装人3"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 4560
TabIndex = 10
Top = 10080
Width = 1455
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "安装信息管理系统"
BeginProperty Font
Name = "隶书"
Size = 36
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 4440
TabIndex = 2
Top = 360
Width = 5775
End
End
Attribute VB_Name = "安装信息"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub AddCommand_Click()
If Data1.Recordset.RecordCount <> 0 Then
Data1.Recordset.MoveLast
ID = Data1.Recordset.Fields("序号").Value + 1
Else
ID = 1
End If
Data1.Recordset.AddNew
Data1.Recordset.Fields("序号").Value = ID
Data1.Recordset.Update
Data1.Recordset.MoveLast
End Sub
Private Sub Check1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Data1.Recordset.Edit
Data1.Recordset.Update
End Sub
Private Sub Data1_Reposition()
Label14.Caption = Data1.Recordset.RecordCount
End Sub
Private Sub DBGrid1_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
DBCombo8.Top = DBGrid1.Top + 220 + DBGrid1.Row * DBGrid1.RowHeight
DBCombo9.Top = DBCombo8.Top
End Sub
Private Sub DBGrid2_RowColChange(LastRow As Variant, ByVal LastCol As Integer)
DBCombo1.Top = DBGrid2.Top + 220 + DBGrid2.Row * DBGrid2.RowHeight
Check1.Top = DBGrid2.Top + 310 + DBGrid2.Row * DBGrid2.RowHeight
End Sub
Private Sub DeleteCommand_Click()
YesNo = MsgBox("真的要删除吗", vbYesNo + vbQuestion)
If YesNo <> vbYes Then
Exit Sub
End If
If Data1.Recordset.RecordCount > 0 Then
Data1.Recordset.Delete
Data1.Recordset.MovePrevious
End If
End Sub
Private Sub ExitCommand_Click()
Unload Me
End Sub
Private Sub Form_Load()
Label12.Caption = Date
End Sub
Private Sub SelectCommand_Click()
安装查询.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -