📄 form1.vb
字号:
Imports System.Data.OleDb
Imports Microsoft.VisualBasic
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents MSComm1 As AxMSCommLib.AxMSComm
Friend WithEvents ExitBut As System.Windows.Forms.Button
Friend WithEvents Timer1 As System.Windows.Forms.Timer
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label9 As System.Windows.Forms.Label
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents Label11 As System.Windows.Forms.Label
Friend WithEvents Label13 As System.Windows.Forms.Label
Friend WithEvents Label15 As System.Windows.Forms.Label
Friend WithEvents Label17 As System.Windows.Forms.Label
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
Friend WithEvents Label10 As System.Windows.Forms.Label
Friend WithEvents Label12 As System.Windows.Forms.Label
Friend WithEvents Label14 As System.Windows.Forms.Label
Friend WithEvents Label16 As System.Windows.Forms.Label
Friend WithEvents Txt14 As System.Windows.Forms.TextBox
Friend WithEvents Txt12 As System.Windows.Forms.TextBox
Friend WithEvents Txt13 As System.Windows.Forms.TextBox
Friend WithEvents Txt11 As System.Windows.Forms.TextBox
Friend WithEvents Txt23 As System.Windows.Forms.TextBox
Friend WithEvents Txt22 As System.Windows.Forms.TextBox
Friend WithEvents Txt24 As System.Windows.Forms.TextBox
Friend WithEvents Txt21 As System.Windows.Forms.TextBox
Friend WithEvents Txt31 As System.Windows.Forms.TextBox
Friend WithEvents Txt34 As System.Windows.Forms.TextBox
Friend WithEvents Txt32 As System.Windows.Forms.TextBox
Friend WithEvents Txt33 As System.Windows.Forms.TextBox
Friend WithEvents Txt41 As System.Windows.Forms.TextBox
Friend WithEvents Txt44 As System.Windows.Forms.TextBox
Friend WithEvents Txt42 As System.Windows.Forms.TextBox
Friend WithEvents Txt43 As System.Windows.Forms.TextBox
Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
Friend WithEvents Label18 As System.Windows.Forms.Label
Friend WithEvents Label19 As System.Windows.Forms.Label
Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
Friend WithEvents AdjTxt As System.Windows.Forms.TextBox
Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
Friend WithEvents Label20 As System.Windows.Forms.Label
Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
Friend WithEvents Label21 As System.Windows.Forms.Label
Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents Label22 As System.Windows.Forms.Label
Friend WithEvents StartBut As System.Windows.Forms.Button
Friend WithEvents Label23 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
Me.ExitBut = New System.Windows.Forms.Button
Me.MSComm1 = New AxMSCommLib.AxMSComm
Me.StartBut = New System.Windows.Forms.Button
Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.Txt11 = New System.Windows.Forms.TextBox
Me.Txt14 = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label8 = New System.Windows.Forms.Label
Me.Txt12 = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.Txt13 = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.Label9 = New System.Windows.Forms.Label
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.Txt21 = New System.Windows.Forms.TextBox
Me.Label11 = New System.Windows.Forms.Label
Me.Txt23 = New System.Windows.Forms.TextBox
Me.Label13 = New System.Windows.Forms.Label
Me.Txt22 = New System.Windows.Forms.TextBox
Me.Label15 = New System.Windows.Forms.Label
Me.Txt24 = New System.Windows.Forms.TextBox
Me.Label17 = New System.Windows.Forms.Label
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.Txt31 = New System.Windows.Forms.TextBox
Me.Txt34 = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Txt32 = New System.Windows.Forms.TextBox
Me.Label5 = New System.Windows.Forms.Label
Me.Txt33 = New System.Windows.Forms.TextBox
Me.Label7 = New System.Windows.Forms.Label
Me.GroupBox4 = New System.Windows.Forms.GroupBox
Me.Txt41 = New System.Windows.Forms.TextBox
Me.Txt44 = New System.Windows.Forms.TextBox
Me.Label10 = New System.Windows.Forms.Label
Me.Label12 = New System.Windows.Forms.Label
Me.Txt42 = New System.Windows.Forms.TextBox
Me.Label14 = New System.Windows.Forms.Label
Me.Txt43 = New System.Windows.Forms.TextBox
Me.Label16 = New System.Windows.Forms.Label
Me.TabControl1 = New System.Windows.Forms.TabControl
Me.TabPage1 = New System.Windows.Forms.TabPage
Me.Button4 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.TabPage2 = New System.Windows.Forms.TabPage
Me.ComboBox1 = New System.Windows.Forms.ComboBox
Me.Label19 = New System.Windows.Forms.Label
Me.AdjTxt = New System.Windows.Forms.TextBox
Me.Label18 = New System.Windows.Forms.Label
Me.TabPage3 = New System.Windows.Forms.TabPage
Me.ComboBox3 = New System.Windows.Forms.ComboBox
Me.Label21 = New System.Windows.Forms.Label
Me.ComboBox2 = New System.Windows.Forms.ComboBox
Me.Label20 = New System.Windows.Forms.Label
Me.Label22 = New System.Windows.Forms.Label
Me.Label23 = New System.Windows.Forms.Label
CType(Me.MSComm1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.TabPage2.SuspendLayout()
Me.TabPage3.SuspendLayout()
Me.SuspendLayout()
'
'ExitBut
'
Me.ExitBut.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.ExitBut.ForeColor = System.Drawing.Color.FromArgb(CType(0, Byte), CType(192, Byte), CType(192, Byte))
Me.ExitBut.Location = New System.Drawing.Point(896, 72)
Me.ExitBut.Name = "ExitBut"
Me.ExitBut.Size = New System.Drawing.Size(88, 40)
Me.ExitBut.TabIndex = 3
Me.ExitBut.Text = "退出"
'
'MSComm1
'
Me.MSComm1.Enabled = True
Me.MSComm1.Location = New System.Drawing.Point(32, 8)
Me.MSComm1.Name = "MSComm1"
Me.MSComm1.OcxState = CType(resources.GetObject("MSComm1.OcxState"), System.Windows.Forms.AxHost.State)
Me.MSComm1.Size = New System.Drawing.Size(38, 38)
Me.MSComm1.TabIndex = 4
'
'StartBut
'
Me.StartBut.Font = New System.Drawing.Font("宋体", 15.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.StartBut.ForeColor = System.Drawing.Color.FromArgb(CType(0, Byte), CType(192, Byte), CType(192, Byte))
Me.StartBut.Location = New System.Drawing.Point(776, 72)
Me.StartBut.Name = "StartBut"
Me.StartBut.Size = New System.Drawing.Size(88, 40)
Me.StartBut.TabIndex = 17
Me.StartBut.Text = "开始"
'
'Timer1
'
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.Txt11)
Me.GroupBox1.Controls.Add(Me.Txt14)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.Label8)
Me.GroupBox1.Controls.Add(Me.Txt12)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Txt13)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.GroupBox1.Location = New System.Drawing.Point(24, 24)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(448, 176)
Me.GroupBox1.TabIndex = 18
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "1#"
'
'Txt11
'
Me.Txt11.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.Txt11.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txt11.Location = New System.Drawing.Point(112, 48)
Me.Txt11.Name = "Txt11"
Me.Txt11.Size = New System.Drawing.Size(88, 29)
Me.Txt11.TabIndex = 29
Me.Txt11.Text = "Txt11"
'
'Txt14
'
Me.Txt14.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.Txt14.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txt14.Location = New System.Drawing.Point(328, 112)
Me.Txt14.Name = "Txt14"
Me.Txt14.Size = New System.Drawing.Size(88, 29)
Me.Txt14.TabIndex = 27
Me.Txt14.Text = "Txt14"
'
'Label6
'
Me.Label6.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label6.ForeColor = System.Drawing.Color.Gray
Me.Label6.Location = New System.Drawing.Point(240, 112)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(88, 40)
Me.Label6.TabIndex = 26
Me.Label6.Text = "定时时间:"
'
'Label8
'
Me.Label8.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label8.ForeColor = System.Drawing.Color.Gray
Me.Label8.Location = New System.Drawing.Point(240, 48)
Me.Label8.Name = "Label8"
Me.Label8.Size = New System.Drawing.Size(88, 40)
Me.Label8.TabIndex = 23
Me.Label8.Text = "设定温度:"
'
'Txt12
'
Me.Txt12.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.Txt12.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txt12.Location = New System.Drawing.Point(328, 48)
Me.Txt12.Name = "Txt12"
Me.Txt12.Size = New System.Drawing.Size(88, 29)
Me.Txt12.TabIndex = 21
Me.Txt12.Text = "Txt12"
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.ForeColor = System.Drawing.Color.FromArgb(CType(128, Byte), CType(128, Byte), CType(255, Byte))
Me.Label3.Location = New System.Drawing.Point(24, 112)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(88, 40)
Me.Label3.TabIndex = 20
Me.Label3.Text = "当前时间:"
'
'Txt13
'
Me.Txt13.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.Txt13.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Txt13.Location = New System.Drawing.Point(112, 112)
Me.Txt13.Name = "Txt13"
Me.Txt13.Size = New System.Drawing.Size(88, 29)
Me.Txt13.TabIndex = 18
Me.Txt13.Text = "Txt13"
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("宋体", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.ForeColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(128, Byte), CType(128, Byte))
Me.Label1.Location = New System.Drawing.Point(24, 48)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(88, 40)
Me.Label1.TabIndex = 17
Me.Label1.Text = "当前温度:"
'
'Label9
'
Me.Label9.Font = New System.Drawing.Font("楷体_GB2312", 21.75!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label9.ForeColor = System.Drawing.Color.Green
Me.Label9.Location = New System.Drawing.Point(408, 48)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(232, 48)
Me.Label9.TabIndex = 19
Me.Label9.Text = "瑞萨烘干机系统"
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.Txt21)
Me.GroupBox2.Controls.Add(Me.Label11)
Me.GroupBox2.Controls.Add(Me.Txt23)
Me.GroupBox2.Controls.Add(Me.Label13)
Me.GroupBox2.Controls.Add(Me.Txt22)
Me.GroupBox2.Controls.Add(Me.Label15)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -