📄 frmshowtimes.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 frmshowtimes
BorderStyle = 0 'None
Caption = "按次数计划设置"
ClientHeight = 9465
ClientLeft = 0
ClientTop = 0
ClientWidth = 12465
Icon = "frmshowtimes.frx":0000
LinkTopic = "Form1"
ScaleHeight = 9465
ScaleWidth = 12465
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame3
BackColor = &H00C0FFC0&
Height = 975
Left = 5640
TabIndex = 7
Top = 7560
Width = 3615
Begin as97Popup.asPopup asPopup7
Height = 375
Left = 1320
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 VB.Frame Frame2
BackColor = &H00C0FFC0&
Height = 975
Left = 0
TabIndex = 6
Top = 7560
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.ComboBox Combo1
BackColor = &H00FFC0C0&
Height = 300
Left = 720
TabIndex = 5
Top = 6360
Visible = 0 'False
Width = 1935
End
Begin VB.ComboBox Combo2
BackColor = &H00FFC0C0&
Height = 300
Left = 3480
TabIndex = 4
Top = 6480
Visible = 0 'False
Width = 1935
End
Begin VB.TextBox Text5
Height = 375
Left = 1920
TabIndex = 3
Text = "Text5"
Top = 7080
Visible = 0 'False
Width = 2055
End
Begin VB.ComboBox Combo3
BackColor = &H00FFC0C0&
Height = 300
Left = 3360
TabIndex = 2
Top = 0
Visible = 0 'False
Width = 1815
End
Begin VB.TextBox Text1
BackColor = &H00FFC0C0&
Height = 375
Left = 5640
TabIndex = 1
Top = 6600
Visible = 0 'False
Width = 1935
End
Begin MSDataGridLib.DataGrid DataGrid1
Height = 6015
Left = 600
TabIndex = 0
Top = 1080
Width = 11655
_ExtentX = 20558
_ExtentY = 10610
_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 XP窗体控件.XPForm XPForm1
Height = 810
Left = 4320
Top = 7200
Width = 3135
_ExtentX = 5530
_ExtentY = 1429
Caption = "按次数计划设置"
Icon = "frmshowtimes.frx":1272
AlwaysOnTop = 0 'False
ShowFormSize = 0 'False
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 9120
Top = 6120
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
End
Attribute VB_Name = "frmshowtimes"
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
If rs1.EOF = True Or rs1.BOF = True Then
Else
rs1.MoveFirst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -