📄 dayplanprint.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{2E44842E-D24E-11D3-9FE4-00108801B099}#3.0#0"; "Preview2000.ocx"
Begin VB.Form DayPlanPrint
BorderStyle = 1 'Fixed Single
Caption = "每日计划打印"
ClientHeight = 2310
ClientLeft = 45
ClientTop = 435
ClientWidth = 6150
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2310
ScaleWidth = 6150
StartUpPosition = 3 '窗口缺省
Begin VB.ComboBox Combo1
Height = 300
ItemData = "DayPlanPrint.frx":0000
Left = 840
List = "DayPlanPrint.frx":0028
Style = 2 'Dropdown List
TabIndex = 7
Top = 960
Width = 1095
End
Begin VB.ComboBox Combo2
Height = 300
ItemData = "DayPlanPrint.frx":0078
Left = 2760
List = "DayPlanPrint.frx":00A0
Style = 2 'Dropdown List
TabIndex = 2
Top = 960
Width = 1095
End
Begin VB.CommandButton CandyButton1
Caption = "打印"
Height = 375
Left = 3000
TabIndex = 1
Top = 1680
Width = 1215
End
Begin VB.CommandButton CandyButton2
Caption = "退出"
Height = 375
Left = 4560
TabIndex = 0
Top = 1680
Width = 1215
End
Begin vbpPreview2000.Preview Preview1
Left = 0
Top = 120
_ExtentX = 741
_ExtentY = 741
Caption = "打印预览"
End
Begin MSComCtl2.DTPicker RQ
Height = 330
Left = 4560
TabIndex = 3
Top = 960
Width = 1335
_ExtentX = 2355
_ExtentY = 582
_Version = 393216
Format = 24969217
CurrentDate = 39330
End
Begin VB.Image Image1
Height = 1650
Left = 240
Picture = "DayPlanPrint.frx":00F0
Top = 3600
Width = 1995
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "部门:"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 240
TabIndex = 8
Top = 1020
Width = 1455
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "每日计划打印"
BeginProperty Font
Name = "楷体_GB2312"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000040C0&
Height = 495
Left = 1920
TabIndex = 6
Top = 240
Width = 2295
End
Begin VB.Line Line1
BorderColor = &H80000010&
X1 = 240
X2 = 5880
Y1 = 720
Y2 = 720
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "班组:"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 2160
TabIndex = 5
Top = 1020
Width = 1455
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "日期:"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 375
Left = 3960
TabIndex = 4
Top = 1020
Width = 1455
End
Begin VB.Line Line2
BorderColor = &H80000010&
X1 = 240
X2 = 5880
Y1 = 1440
Y2 = 1440
End
End
Attribute VB_Name = "DayPlanPrint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CandyButton1_Click()
If Trim(Combo2.Text) <> "全部班组" Then
Prt_DayPlan Me, RQ.Value, Combo1.Text, Combo2.Text
Else
'Prt_ALL_DayPlan Me, RQ.Value
End If
End Sub
Private Sub CandyButton2_Click()
Unload Me
End Sub
Private Sub Combo1_Click()
TeamsToCombo Combo2, Combo1.Text
End Sub
Private Sub Form_Load()
Me.Left = (Screen.Width - Me.Width) / 2
Me.Top = (Screen.Height - Me.Height) / 2
RQ.Value = CDate(Format(Now(), "yyyy-mm-dd"))
DepartToCombo Combo1
ConvertFont Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -