📄 clock.vb
字号:
Imports System
Imports System.Text
Imports System.IO
Public Class Clock
Inherits System.Windows.Forms.Form
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
MyBase.Dispose(disposing)
End Sub
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents TB01 As System.Windows.Forms.TextBox
Friend WithEvents cB01 As System.Windows.Forms.Button
Friend WithEvents OF As System.Windows.Forms.OpenFileDialog
Friend WithEvents TimeTB01 As System.Windows.Forms.TextBox
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents CB11 As System.Windows.Forms.CheckBox
Friend WithEvents CB12 As System.Windows.Forms.CheckBox
Friend WithEvents CB14 As System.Windows.Forms.CheckBox
Friend WithEvents CB13 As System.Windows.Forms.CheckBox
Friend WithEvents CB17 As System.Windows.Forms.CheckBox
Friend WithEvents CB16 As System.Windows.Forms.CheckBox
Friend WithEvents CB15 As System.Windows.Forms.CheckBox
Friend WithEvents TimeTB02 As System.Windows.Forms.TextBox
Friend WithEvents TB02 As System.Windows.Forms.TextBox
Friend WithEvents CB27 As System.Windows.Forms.CheckBox
Friend WithEvents CB26 As System.Windows.Forms.CheckBox
Friend WithEvents CB25 As System.Windows.Forms.CheckBox
Friend WithEvents CB24 As System.Windows.Forms.CheckBox
Friend WithEvents CB23 As System.Windows.Forms.CheckBox
Friend WithEvents CB22 As System.Windows.Forms.CheckBox
Friend WithEvents CB21 As System.Windows.Forms.CheckBox
Friend WithEvents TimeLB As System.Windows.Forms.Label
Private WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar
Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents SaveExit As System.Windows.Forms.MenuItem
Friend WithEvents cB02 As System.Windows.Forms.Button
Friend WithEvents PlayCB01 As System.Windows.Forms.Button
Friend WithEvents PlayCB02 As System.Windows.Forms.Button
Friend WithEvents PlayCB03 As System.Windows.Forms.Button
Friend WithEvents TimeTB03 As System.Windows.Forms.TextBox
Friend WithEvents cb03 As System.Windows.Forms.Button
Friend WithEvents TB03 As System.Windows.Forms.TextBox
Friend WithEvents CB37 As System.Windows.Forms.CheckBox
Friend WithEvents CB36 As System.Windows.Forms.CheckBox
Friend WithEvents CB35 As System.Windows.Forms.CheckBox
Friend WithEvents CB34 As System.Windows.Forms.CheckBox
Friend WithEvents CB33 As System.Windows.Forms.CheckBox
Friend WithEvents CB32 As System.Windows.Forms.CheckBox
Friend WithEvents CB31 As System.Windows.Forms.CheckBox
Friend WithEvents PlayCB04 As System.Windows.Forms.Button
Friend WithEvents TimeTB04 As System.Windows.Forms.TextBox
Friend WithEvents CB04 As System.Windows.Forms.Button
Friend WithEvents TB04 As System.Windows.Forms.TextBox
Friend WithEvents CB47 As System.Windows.Forms.CheckBox
Friend WithEvents CB46 As System.Windows.Forms.CheckBox
Friend WithEvents CB45 As System.Windows.Forms.CheckBox
Friend WithEvents CB44 As System.Windows.Forms.CheckBox
Friend WithEvents CB43 As System.Windows.Forms.CheckBox
Friend WithEvents CB42 As System.Windows.Forms.CheckBox
Friend WithEvents CB41 As System.Windows.Forms.CheckBox
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Clock))
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem2 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.SaveExit = New System.Windows.Forms.MenuItem
Me.CB11 = New System.Windows.Forms.CheckBox
Me.CB12 = New System.Windows.Forms.CheckBox
Me.CB14 = New System.Windows.Forms.CheckBox
Me.CB13 = New System.Windows.Forms.CheckBox
Me.CB17 = New System.Windows.Forms.CheckBox
Me.CB16 = New System.Windows.Forms.CheckBox
Me.CB15 = New System.Windows.Forms.CheckBox
Me.TB01 = New System.Windows.Forms.TextBox
Me.cB01 = New System.Windows.Forms.Button
Me.OF = New System.Windows.Forms.OpenFileDialog
Me.TimeTB01 = New System.Windows.Forms.TextBox
Me.Timer1 = New System.Windows.Forms.Timer
Me.Label1 = New System.Windows.Forms.Label
Me.TimeTB02 = New System.Windows.Forms.TextBox
Me.cB02 = New System.Windows.Forms.Button
Me.TB02 = New System.Windows.Forms.TextBox
Me.CB27 = New System.Windows.Forms.CheckBox
Me.CB26 = New System.Windows.Forms.CheckBox
Me.CB25 = New System.Windows.Forms.CheckBox
Me.CB24 = New System.Windows.Forms.CheckBox
Me.CB23 = New System.Windows.Forms.CheckBox
Me.CB22 = New System.Windows.Forms.CheckBox
Me.CB21 = New System.Windows.Forms.CheckBox
Me.Label2 = New System.Windows.Forms.Label
Me.TimeLB = New System.Windows.Forms.Label
Me.ToolBar1 = New System.Windows.Forms.ToolBar
Me.PlayCB01 = New System.Windows.Forms.Button
Me.PlayCB02 = New System.Windows.Forms.Button
Me.PlayCB03 = New System.Windows.Forms.Button
Me.TimeTB03 = New System.Windows.Forms.TextBox
Me.cb03 = New System.Windows.Forms.Button
Me.TB03 = New System.Windows.Forms.TextBox
Me.CB37 = New System.Windows.Forms.CheckBox
Me.CB36 = New System.Windows.Forms.CheckBox
Me.CB35 = New System.Windows.Forms.CheckBox
Me.CB34 = New System.Windows.Forms.CheckBox
Me.CB33 = New System.Windows.Forms.CheckBox
Me.CB32 = New System.Windows.Forms.CheckBox
Me.CB31 = New System.Windows.Forms.CheckBox
Me.PlayCB04 = New System.Windows.Forms.Button
Me.TimeTB04 = New System.Windows.Forms.TextBox
Me.CB04 = New System.Windows.Forms.Button
Me.TB04 = New System.Windows.Forms.TextBox
Me.CB47 = New System.Windows.Forms.CheckBox
Me.CB46 = New System.Windows.Forms.CheckBox
Me.CB45 = New System.Windows.Forms.CheckBox
Me.CB44 = New System.Windows.Forms.CheckBox
Me.CB43 = New System.Windows.Forms.CheckBox
Me.CB42 = New System.Windows.Forms.CheckBox
Me.CB41 = New System.Windows.Forms.CheckBox
Me.MenuItem6 = New System.Windows.Forms.MenuItem
'
'MainMenu1
'
Me.MainMenu1.MenuItems.Add(Me.MenuItem1)
Me.MainMenu1.MenuItems.Add(Me.MenuItem2)
'
'MenuItem1
'
Me.MenuItem1.MenuItems.Add(Me.MenuItem4)
Me.MenuItem1.MenuItems.Add(Me.MenuItem3)
Me.MenuItem1.Text = "文件"
'
'MenuItem4
'
Me.MenuItem4.Text = "退出"
'
'MenuItem3
'
Me.MenuItem3.Text = "关于"
'
'MenuItem2
'
Me.MenuItem2.MenuItems.Add(Me.MenuItem5)
Me.MenuItem2.MenuItems.Add(Me.SaveExit)
Me.MenuItem2.MenuItems.Add(Me.MenuItem6)
Me.MenuItem2.Text = "设置"
'
'MenuItem5
'
Me.MenuItem5.Text = "保存设置"
'
'SaveExit
'
Me.SaveExit.Checked = True
Me.SaveExit.Text = "退出时保存"
'
'CB11
'
Me.CB11.Location = New System.Drawing.Point(19, 33)
Me.CB11.Size = New System.Drawing.Size(16, 20)
Me.CB11.Text = "1"
'
'CB12
'
Me.CB12.Location = New System.Drawing.Point(35, 33)
Me.CB12.Size = New System.Drawing.Size(16, 20)
Me.CB12.Text = "2"
'
'CB14
'
Me.CB14.Location = New System.Drawing.Point(67, 33)
Me.CB14.Size = New System.Drawing.Size(16, 20)
Me.CB14.Text = "4"
'
'CB13
'
Me.CB13.Location = New System.Drawing.Point(51, 33)
Me.CB13.Size = New System.Drawing.Size(16, 20)
Me.CB13.Text = "3"
'
'CB17
'
Me.CB17.Location = New System.Drawing.Point(115, 33)
Me.CB17.Size = New System.Drawing.Size(16, 20)
Me.CB17.Text = "7"
'
'CB16
'
Me.CB16.Location = New System.Drawing.Point(99, 33)
Me.CB16.Size = New System.Drawing.Size(16, 20)
Me.CB16.Text = "6"
'
'CB15
'
Me.CB15.Location = New System.Drawing.Point(83, 33)
Me.CB15.Size = New System.Drawing.Size(16, 20)
Me.CB15.Text = "5"
'
'TB01
'
Me.TB01.Location = New System.Drawing.Point(19, 57)
Me.TB01.Size = New System.Drawing.Size(200, 21)
Me.TB01.Text = "请输入MP3或WMA文件..."
'
'cB01
'
Me.cB01.Location = New System.Drawing.Point(187, 57)
Me.cB01.Size = New System.Drawing.Size(32, 21)
Me.cB01.Text = "选择"
'
'TimeTB01
'
Me.TimeTB01.Location = New System.Drawing.Point(132, 33)
Me.TimeTB01.Size = New System.Drawing.Size(56, 21)
Me.TimeTB01.Text = "10:30:00"
'
'Timer1
'
Me.Timer1.Enabled = True
Me.Timer1.Interval = 1000
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(19, 17)
Me.Label1.Size = New System.Drawing.Size(136, 20)
Me.Label1.Text = "日 一 二 三 四 五 六"
'
'TimeTB02
'
Me.TimeTB02.Location = New System.Drawing.Point(132, 81)
Me.TimeTB02.Size = New System.Drawing.Size(56, 21)
Me.TimeTB02.Text = "10:30:00"
'
'cB02
'
Me.cB02.Location = New System.Drawing.Point(187, 105)
Me.cB02.Size = New System.Drawing.Size(32, 21)
Me.cB02.Text = "选择"
'
'TB02
'
Me.TB02.Location = New System.Drawing.Point(19, 105)
Me.TB02.Size = New System.Drawing.Size(200, 21)
Me.TB02.Text = "请输入MP3或WMA文件..."
'
'CB27
'
Me.CB27.Location = New System.Drawing.Point(115, 81)
Me.CB27.Size = New System.Drawing.Size(16, 20)
Me.CB27.Text = "7"
'
'CB26
'
Me.CB26.Location = New System.Drawing.Point(99, 81)
Me.CB26.Size = New System.Drawing.Size(16, 20)
Me.CB26.Text = "6"
'
'CB25
'
Me.CB25.Location = New System.Drawing.Point(83, 81)
Me.CB25.Size = New System.Drawing.Size(16, 20)
Me.CB25.Text = "5"
'
'CB24
'
Me.CB24.Location = New System.Drawing.Point(67, 81)
Me.CB24.Size = New System.Drawing.Size(16, 20)
Me.CB24.Text = "4"
'
'CB23
'
Me.CB23.Location = New System.Drawing.Point(51, 81)
Me.CB23.Size = New System.Drawing.Size(16, 20)
Me.CB23.Text = "3"
'
'CB22
'
Me.CB22.Location = New System.Drawing.Point(35, 81)
Me.CB22.Size = New System.Drawing.Size(16, 20)
Me.CB22.Text = "2"
'
'CB21
'
Me.CB21.Location = New System.Drawing.Point(19, 81)
Me.CB21.Size = New System.Drawing.Size(16, 20)
Me.CB21.Text = "1"
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular)
Me.Label2.ForeColor = System.Drawing.Color.Black
Me.Label2.Location = New System.Drawing.Point(155, 9)
Me.Label2.Size = New System.Drawing.Size(72, 24)
Me.Label2.Text = "闹钟:)"
'
'TimeLB
'
Me.TimeLB.Font = New System.Drawing.Font("宋体", 15.0!, System.Drawing.FontStyle.Regular)
Me.TimeLB.Location = New System.Drawing.Point(24, 240)
Me.TimeLB.Size = New System.Drawing.Size(192, 24)
Me.TimeLB.Text = "23:23:23"
Me.TimeLB.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'PlayCB01
'
Me.PlayCB01.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular)
Me.PlayCB01.Location = New System.Drawing.Point(187, 33)
Me.PlayCB01.Size = New System.Drawing.Size(32, 21)
Me.PlayCB01.Text = "播放"
'
'PlayCB02
'
Me.PlayCB02.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular)
Me.PlayCB02.Location = New System.Drawing.Point(187, 81)
Me.PlayCB02.Size = New System.Drawing.Size(32, 21)
Me.PlayCB02.Text = "播放"
'
'PlayCB03
'
Me.PlayCB03.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular)
Me.PlayCB03.Location = New System.Drawing.Point(187, 129)
Me.PlayCB03.Size = New System.Drawing.Size(32, 21)
Me.PlayCB03.Text = "播放"
'
'TimeTB03
'
Me.TimeTB03.Location = New System.Drawing.Point(132, 129)
Me.TimeTB03.Size = New System.Drawing.Size(56, 21)
Me.TimeTB03.Text = "10:30:00"
'
'cb03
'
Me.cb03.Location = New System.Drawing.Point(187, 153)
Me.cb03.Size = New System.Drawing.Size(32, 21)
Me.cb03.Text = "选择"
'
'TB03
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -