📄 frmsetplan.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.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 frmsetplan
BackColor = &H00B9C4B9&
BorderStyle = 0 'None
Caption = "计划生成"
ClientHeight = 5820
ClientLeft = 0
ClientTop = 0
ClientWidth = 6345
Icon = "frmsetplan.frx":0000
LinkTopic = "Form7"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 5820
ScaleWidth = 6345
ShowInTaskbar = 0 'False
Begin VB.TextBox Text4
Height = 270
Left = 4800
TabIndex = 25
Top = 1200
Width = 615
End
Begin VB.TextBox Text3
Height = 270
Left = 3840
TabIndex = 24
Top = 1200
Width = 495
End
Begin VB.TextBox Text2
Height = 270
Left = 4800
TabIndex = 23
Top = 720
Width = 615
End
Begin VB.TextBox Text1
Height = 270
Left = 3840
TabIndex = 22
Top = 720
Width = 495
End
Begin as97Popup.asPopup asPopup2
Height = 375
Left = 3840
Top = 4680
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
Begin as97Popup.asPopup asPopup1
Height = 375
Left = 1680
Top = 4680
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 VB.TextBox Text5
Height = 270
Left = 4080
TabIndex = 20
Text = "10"
Top = 1920
Width = 1335
End
Begin VB.ComboBox Combo3
Height = 300
Left = 1320
TabIndex = 19
Top = 1800
Width = 1335
End
Begin VB.ComboBox Combo2
Height = 300
Left = 1320
TabIndex = 18
Text = "任何人"
Top = 1080
Width = 1335
End
Begin VB.ComboBox Combo1
Height = 300
Left = 1320
TabIndex = 17
Top = 600
Width = 1335
End
Begin VB.Frame Frame1
BackColor = &H00B9C4B9&
Caption = "选择方式"
Height = 1815
Left = 720
TabIndex = 6
Top = 2520
Width = 4815
Begin VB.OptionButton Option2
Caption = "按次数分隔"
Height = 375
Left = 4080
TabIndex = 16
Top = 360
Visible = 0 'False
Width = 1575
End
Begin VB.OptionButton Option1
BackColor = &H0000FF00&
Caption = "按时间分隔"
Height = 255
Left = 1440
TabIndex = 15
Top = 480
Value = -1 'True
Width = 1455
End
Begin VB.TextBox Text8
Height = 270
Left = 4440
TabIndex = 8
Text = "1"
Top = 1200
Visible = 0 'False
Width = 645
End
Begin VB.TextBox Text7
Height = 270
Left = 1560
TabIndex = 7
Text = "5"
Top = 1200
Width = 495
End
Begin MSComCtl2.UpDown UpDown3
Height = 270
Left = 4800
TabIndex = 9
Top = 1200
Width = 270
_ExtentX = 423
_ExtentY = 476
_Version = 393216
Value = 1
BuddyControl = "Text8"
BuddyDispid = 196620
OrigLeft = 3720
OrigTop = 360
OrigRight = 3990
OrigBottom = 615
Max = 100
Min = 1
SyncBuddy = -1 'True
BuddyProperty = 0
Enabled = -1 'True
End
Begin MSComCtl2.UpDown UpDown2
Height = 270
Left = 2280
TabIndex = 10
Top = 1200
Width = 270
_ExtentX = 423
_ExtentY = 476
_Version = 393216
Value = 5
BuddyControl = "Text7"
BuddyDispid = 196621
OrigLeft = 1440
OrigTop = 360
OrigRight = 1710
OrigBottom = 615
Increment = 5
Max = 600
Min = 5
SyncBuddy = -1 'True
BuddyProperty = 0
Enabled = -1 'True
End
Begin VB.Label Label14
BackStyle = 0 'Transparent
Caption = "次"
Height = 255
Left = 4320
TabIndex = 14
Top = 1215
Visible = 0 'False
Width = 165
End
Begin VB.Label Label8
BackColor = &H00C7CBC5&
BackStyle = 0 'Transparent
Caption = "间隔时间:"
Height = 255
Left = 600
TabIndex = 13
Top = 1200
Width = 855
End
Begin VB.Label Label9
BackColor = &H00C7CBC5&
BackStyle = 0 'Transparent
Caption = "累计次数:"
Height = 255
Left = 4680
TabIndex = 12
Top = 1200
Visible = 0 'False
Width = 855
End
Begin VB.Label Label13
BackColor = &H00C7CBC5&
BackStyle = 0 'Transparent
Caption = "分"
Height = 255
Left = 2640
TabIndex = 11
Top = 1200
Width = 210
End
End
Begin XP窗体控件.XPForm XPForm1
Height = 810
Left = 1680
Top = 3120
Width = 1920
_ExtentX = 3387
_ExtentY = 1429
Caption = "计划生成"
Icon = "frmsetplan.frx":1272
AlwaysOnTop = 0 'False
ShowFormSize = 0 'False
End
Begin VB.Label Label15
Caption = "分"
Height = 375
Left = 5520
TabIndex = 29
Top = 1200
Width = 255
End
Begin VB.Label Label11
Caption = "时"
Height = 255
Left = 4440
TabIndex = 28
Top = 1200
Width = 375
End
Begin VB.Label Label7
Caption = "分"
Height = 375
Left = 5520
TabIndex = 27
Top = 720
Width = 375
End
Begin VB.Label Label6
Caption = "时"
Height = 255
Left = 4440
TabIndex = 26
Top = 720
Width = 375
End
Begin VB.Label Label12
Caption = "分"
Height = 255
Index = 1
Left = 5520
TabIndex = 21
Top = 1920
Width = 255
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "开始时间"
Height = 375
Left = 3000
TabIndex = 5
Top = 720
Width = 855
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "结束时间"
Height = 495
Left = 3000
TabIndex = 4
Top = 1200
Width = 735
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "棒号设置:"
Height = 255
Left = 480
TabIndex = 3
Top = 600
Width = 735
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "人员:"
Height = 255
Left = 480
TabIndex = 2
Top = 1080
Width = 615
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "误差时间"
Height = 495
Left = 3000
TabIndex = 1
Top = 1920
Width = 735
End
Begin VB.Label Label10
BackStyle = 0 'Transparent
Caption = "地点:"
Height = 255
Left = 600
TabIndex = 0
Top = 1800
Width = 615
End
End
Attribute VB_Name = "frmsetplan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim conn1 As New ADODB.Connection
Private Sub asPopup1_Click(Cancel As Boolean)
Horizontal Me, &HB9C4B9, &HB9C4B9
Dim totaltime As Long
Dim JG, total_Re As Integer
Dim begin_time, end_time As String
Dim connecting As String
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -