📄 frmplan.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{D959C709-8613-11D1-9840-002078110E7D}#1.0#0"; "as97Popup.ocx"
Object = "{C7AE747C-B9E4-11D7-B0E3-D8165009166E}#7.0#0"; "XPForm.ocx"
Begin VB.Form frmplan
BackColor = &H00C0FFFF&
BorderStyle = 0 'None
Caption = "按时间计划设置"
ClientHeight = 9045
ClientLeft = 0
ClientTop = 0
ClientWidth = 13590
Icon = "frmplan.frx":0000
LinkTopic = "Form1"
ScaleHeight = 9045
ScaleWidth = 13590
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text1
BackColor = &H00FFC0C0&
Height = 375
Left = 5880
TabIndex = 7
Top = 6960
Visible = 0 'False
Width = 1935
End
Begin VB.ComboBox Combo3
BackColor = &H00FFC0C0&
Height = 300
Left = 3600
TabIndex = 6
Top = 360
Visible = 0 'False
Width = 1815
End
Begin VB.TextBox Text5
Height = 375
Left = 2160
TabIndex = 5
Text = "Text5"
Top = 7440
Visible = 0 'False
Width = 2055
End
Begin VB.ComboBox Combo2
BackColor = &H00FFC0C0&
Height = 300
Left = 3720
TabIndex = 4
Top = 6840
Visible = 0 'False
Width = 1935
End
Begin VB.ComboBox Combo1
BackColor = &H00FFC0C0&
Height = 300
Left = 960
TabIndex = 3
Top = 6720
Visible = 0 'False
Width = 1935
End
Begin MSDataGridLib.DataGrid DataGrid1
Height = 5415
Left = 840
TabIndex = 2
Top = 960
Width = 10335
_ExtentX = 18230
_ExtentY = 9551
_Version = 393216
HeadLines = 1
RowHeight = 15
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 2
BeginProperty Column00
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = ""
Caption = ""
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
EndProperty
BeginProperty Column01
EndProperty
EndProperty
End
Begin VB.Frame Frame2
BackColor = &H00C0FFC0&
Height = 975
Left = 240
TabIndex = 1
Top = 7920
Width = 5175
Begin as97Popup.asPopup asPopup4
Height = 375
Left = 4200
Top = 360
Width = 735
_ExtentX = 1296
_ExtentY = 661
Caption = "生成"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ScaleWidth = 49
ScaleMode = 0
ScaleHeight = 25
End
Begin as97Popup.asPopup cmdmodify
Height = 375
Left = 2160
Top = 360
Width = 735
_ExtentX = 1296
_ExtentY = 661
Caption = "修改"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BackColor = 16777088
ScaleWidth = 49
ScaleMode = 0
ScaleHeight = 25
End
Begin as97Popup.asPopup cmddel
Height = 375
Left = 1080
Top = 360
Width = 855
_ExtentX = 1508
_ExtentY = 661
Caption = "删除"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BackColor = 16777088
ScaleWidth = 57
ScaleMode = 0
ScaleHeight = 25
End
Begin as97Popup.asPopup asPopup1
Height = 375
Left = 120
Top = 360
Width = 855
_ExtentX = 1508
_ExtentY = 661
Caption = "添加"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BackColor = 16777152
ScaleWidth = 57
ScaleMode = 0
ScaleHeight = 25
End
Begin as97Popup.asPopup cmdupdate
Height = 375
Left = 3240
Top = 360
Width = 735
_ExtentX = 1296
_ExtentY = 661
Caption = "更新"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ScaleWidth = 49
ScaleMode = 0
ScaleHeight = 25
End
End
Begin VB.Frame Frame3
BackColor = &H00C0FFC0&
Height = 975
Left = 5880
TabIndex = 0
Top = 7920
Width = 3615
Begin as97Popup.asPopup asPopup7
Height = 375
Left = 960
Top = 360
Width = 855
_ExtentX = 1508
_ExtentY = 661
Caption = "退出"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ScaleWidth = 57
ScaleMode = 0
ScaleHeight = 25
End
End
Begin XP窗体控件.XPForm XPForm1
Height = 1215
Left = 240
Top = 360
Width = 1920
_ExtentX = 3387
_ExtentY = 2143
Caption = "按时间计划设置"
ShowMaxButton = 0 'False
ShowMinButton = 0 'False
ShowHelpButton = 0 'False
Icon = "frmplan.frx":08CA
AlwaysOnTop = 0 'False
ShowFormSize = 0 'False
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 9360
Top = 6480
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
End
Attribute VB_Name = "frmplan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim conn1 As New ADODB.Connection
Dim rs1 As New ADODB.Recordset
Private Sub asPopup1_Click(Cancel As Boolean)
Dim flag As Boolean
'On Error Resume Next
Horizontal Me, RGB(131, 166, 244), RGB(33, 120, 224)
DataGrid1.AllowAddNew = True
DataGrid1.AllowUpdate = True
cmdupdate.Enabled = True
DataGrid1.Refresh
DataGrid1.Col = 4
If rs1.EOF <> True And rs1.BOF <> True Then
rs1.MoveFirst
End If
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -