📄 inputdate.frm
字号:
VERSION 5.00
Begin VB.Form inputdate
BorderStyle = 0 'None
Caption = "输入查询天数"
ClientHeight = 2715
ClientLeft = 0
ClientTop = -105
ClientWidth = 4515
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2715
ScaleWidth = 4515
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command1
BackColor = &H00E8D9C6&
Caption = "确定"
Height = 320
Left = 1200
Style = 1 'Graphical
TabIndex = 3
Top = 2160
Width = 900
End
Begin VB.CommandButton Command2
BackColor = &H00E8D9C6&
Caption = "取消"
Height = 320
Left = 2520
Style = 1 'Graphical
TabIndex = 2
Top = 2160
Width = 900
End
Begin VB.TextBox Text1
Height = 375
Left = 1560
TabIndex = 0
Top = 1440
Width = 1455
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "输入要查询几天以后到期的仪表"
BeginProperty Font
Name = "华文新魏"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 735
Left = 1320
TabIndex = 1
Top = 480
Width = 2055
End
Begin VB.Image Image1
Height = 2850
Left = 0
Picture = "inputdate.frx":0000
Top = 0
Width = 4545
End
End
Attribute VB_Name = "inputdate"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public a As Integer
Private Sub Command1_Click()
If Val(Text1.Text) <= 0 Or Val(Text1.Text) > 4000 Then
MsgBox "输入有误!", vbCritical, "失败"
Text1.Text = ""
Else
a = Val(Text1.Text)
inputdate.Hide
searchdate.Show
End If
End Sub
Private Sub Command2_Click()
main.Enabled = True
Unload Me
End Sub
Private Sub Label1_Click()
End Sub
Private Sub Form_Load()
main.Enabled = False
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -