📄 frmau.frm
字号:
Left = 4240
TabIndex = 12
Top = 3960
Width = 540
End
Begin VB.Shape shapeNext1
BackStyle = 1 'Opaque
Height = 495
Left = 3720
Top = 3840
Width = 1575
End
Begin VB.Label lblCancelSupport
BackStyle = 0 'Transparent
Height = 495
Left = 1920
TabIndex = 11
Top = 3840
Width = 1575
End
Begin VB.Label lblCancel
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Cancel"
Height = 225
Left = 2400
TabIndex = 10
Top = 3960
Width = 585
End
Begin VB.Shape shapeCancel
BackStyle = 1 'Opaque
Height = 495
Left = 1920
Top = 3840
Width = 1575
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = $"frmAU.frx":03A1
Height = 735
Left = 120
TabIndex = 9
Top = 0
Width = 5655
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Data to Retrive"
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 120
TabIndex = 8
Top = 840
Width = 1245
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "This wizard will get the following information:"
Height = 225
Left = 120
TabIndex = 7
Top = 1080
Width = 3810
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "- Check for the update."
Height = 225
Left = 240
TabIndex = 6
Top = 1800
Width = 1920
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "- A message to explain to user about new version."
Height = 225
Left = 360
TabIndex = 5
Top = 2160
Width = 4230
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "- Whether user wants to update the software or not?"
Height = 225
Left = 480
TabIndex = 4
Top = 2520
Width = 4455
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Step 1"
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 120
TabIndex = 3
Top = 2880
Width = 540
End
Begin VB.Label Label8
BackStyle = 0 'Transparent
Caption = "If you want to update HDD click on Next button otherwise click on Cancel."
Height = 495
Left = 360
TabIndex = 2
Top = 3240
Width = 5295
End
End
Begin VB.Line Line3
BorderWidth = 2
X1 = 6000
X2 = 6000
Y1 = 240
Y2 = 4920
End
Begin VB.Line Line2
BorderWidth = 2
X1 = 0
X2 = 6000
Y1 = 4920
Y2 = 4920
End
Begin VB.Line Line1
BorderWidth = 2
X1 = 15
X2 = 0
Y1 = 240
Y2 = 4920
End
Begin VB.Label lblCaption
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Hirdhav Digital Diary - Auto Update"
Height = 225
Left = 200
TabIndex = 0
Top = 10
Width = 2970
End
Begin VB.Shape shapeCaption
BackStyle = 1 'Opaque
BorderWidth = 2
Height = 255
Left = 15
Top = 15
Width = 6000
End
End
Attribute VB_Name = "frmAU"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Me.BackColor = RGB(145, 155, 100)
shapeCaption.BackColor = vbBlack
lblCaption.ForeColor = RGB(145, 155, 100)
FrameWelcome.BackColor = RGB(145, 155, 100)
Frame2.BackColor = RGB(145, 155, 100)
shapeCancel.BackColor = RGB(145, 155, 100)
shapeStart.BackColor = RGB(145, 155, 100)
shapeCancel2.BackColor = RGB(145, 155, 100)
shapeUpdate.BackColor = RGB(145, 155, 100)
shapeNext2.BackColor = RGB(145, 155, 100)
shapeCancel1.BackColor = RGB(145, 155, 100)
shapeNext1.BackColor = RGB(145, 155, 100)
FrameMessage.BackColor = RGB(145, 155, 100)
End Sub
Private Sub lblCancel1Support_Click()
End
End Sub
Private Sub lblCancel1Support_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblCancel1.ForeColor = RGB(145, 155, 100)
shapeCancel1.BackColor = vbBlack
End Sub
Private Sub lblCancel1Support_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
shapeCancel1.BackColor = RGB(145, 155, 100)
lblCancel1.ForeColor = vbBlack
End Sub
Private Sub lblCancel2Support_Click()
If lblCancel2.Caption = "Exit" Then
Shell App.Path + nEXE
End
Else
End
End If
End Sub
Private Sub lblCancel2Support_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblCancel2.ForeColor = RGB(145, 155, 100)
shapeCancel2.BackColor = vbBlack
End Sub
Private Sub lblCancel2Support_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
shapeCancel2.BackColor = RGB(145, 155, 100)
lblCancel2.ForeColor = vbBlack
End Sub
Private Sub lblCancelSupport_Click()
End
End Sub
Private Sub lblCancelSupport_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblCancel.ForeColor = RGB(145, 155, 100)
shapeCancel.BackColor = vbBlack
End Sub
Private Sub lblCancelSupport_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
shapeCancel.BackColor = RGB(145, 155, 100)
lblCancel.ForeColor = vbBlack
End Sub
Private Sub lblNext1Support_Click()
FrameWelcome.Visible = False
Frame2.Visible = True
lblNext2.Enabled = False
lblNext2Support.Enabled = False
End Sub
Private Sub lblNext1Support_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblNext1.ForeColor = RGB(145, 155, 100)
shapeNext1.BackColor = vbBlack
End Sub
Private Sub lblNext1Support_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
shapeNext1.BackColor = RGB(145, 155, 100)
lblNext1.ForeColor = vbBlack
End Sub
Private Sub lblNext2Support_Click()
Frame2.Visible = False
FrameMessage.Visible = True
lblNewVer.Caption = "New Version of Hirdhav Digital Diary is " & nVer
lblMessage.Caption = nMsg
End Sub
Private Sub lblNext2Support_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblNext2.ForeColor = RGB(145, 155, 100)
shapeNext2.BackColor = vbBlack
End Sub
Private Sub lblNext2Support_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblNext2.ForeColor = vbBlack
shapeNext2.BackColor = RGB(145, 155, 100)
End Sub
Private Sub lblStartSupport_Click()
lblStart.Enabled = False
lblStartSupport.Enabled = False
lblStatus.Caption = "Please wait... Checking Internet Connection..."
CheckINET
End Sub
Private Sub lblStartSupport_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblStart.ForeColor = RGB(145, 155, 100)
shapeStart.BackColor = vbBlack
End Sub
Private Sub lblStartSupport_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblStart.ForeColor = vbBlack
shapeStart.BackColor = RGB(145, 155, 100)
End Sub
Private Sub lblUpdateSupport_Click()
DownloadFile
End Sub
Private Sub lblUpdateSupport_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblUpdate.ForeColor = RGB(145, 155, 100)
shapeUpdate.BackColor = vbBlack
End Sub
Private Sub lblUpdateSupport_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
shapeUpdate.BackColor = RGB(145, 155, 100)
lblUpdate.ForeColor = vbBlack
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -