📄 form3.frm
字号:
VERSION 5.00
Begin VB.Form Form3
Caption = "Form3"
ClientHeight = 3375
ClientLeft = 60
ClientTop = 450
ClientWidth = 3930
LinkTopic = "Form3"
ScaleHeight = 3375
ScaleWidth = 3930
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "退出"
Height = 495
Left = 960
TabIndex = 2
Top = 2400
Width = 1695
End
Begin VB.CommandButton Command2
Caption = "提示信息"
Height = 495
Left = 960
TabIndex = 1
Top = 1560
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "联系人"
Height = 495
Left = 960
TabIndex = 0
Top = 720
Width = 1695
End
Begin VB.Timer timAlarms
Left = 120
Top = 480
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form2.Show
Form3.Hide
End Sub
Private Sub Command2_Click()
Form4.Show
Form3.Hide
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub timAlarms_Timer()
Dim rsalarms As ADODB.Recordset
Set rsalarms = MyConnection.Execute("view1")
Do Until rsalarms.EOF
MsgBox "alarm:" & rsalarms("alarmtime") & vbNewLine & "note:" & rsalarms("remindernote")
rsalarms.MoveNext
Loop
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -