📄 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 Label9 As System.Windows.Forms.Label
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 Label22 As System.Windows.Forms.Label
Friend WithEvents StartBut As System.Windows.Forms.Button
Friend WithEvents Label23 As System.Windows.Forms.Label
Friend WithEvents StateTxt As System.Windows.Forms.TextBox
Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
Friend WithEvents OutBut As System.Windows.Forms.Button
Friend WithEvents SearchBut As System.Windows.Forms.Button
Friend WithEvents Label24 As System.Windows.Forms.Label
Friend WithEvents Label25 As System.Windows.Forms.Label
Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid
Friend WithEvents Label26 As System.Windows.Forms.Label
Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox
Friend WithEvents DateTimePicker1 As System.Windows.Forms.DateTimePicker
Friend WithEvents DateTimePicker2 As System.Windows.Forms.DateTimePicker
Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
Friend WithEvents TabPage5 As System.Windows.Forms.TabPage
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents ComboBox6 As System.Windows.Forms.ComboBox
Friend WithEvents PictureBox5 As System.Windows.Forms.PictureBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents txt As System.Windows.Forms.GroupBox
Friend WithEvents lbAD As System.Windows.Forms.Label
Friend WithEvents lbPhy As System.Windows.Forms.Label
Friend WithEvents Timer3 As System.Windows.Forms.Timer
Friend WithEvents btnRevise As System.Windows.Forms.Button
Friend WithEvents btnWrite As System.Windows.Forms.Button
Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
Friend WithEvents txtWrite As System.Windows.Forms.TextBox
Friend WithEvents Button5 As System.Windows.Forms.Button
Friend WithEvents ButState As System.Windows.Forms.Button
Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
Friend WithEvents TxtRead As System.Windows.Forms.TextBox
Friend WithEvents Button6 As System.Windows.Forms.Button
Friend WithEvents cbShow As System.Windows.Forms.ComboBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents TabPage6 As System.Windows.Forms.TabPage
Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
Friend WithEvents txtPasswordLogin As System.Windows.Forms.TextBox
Friend WithEvents txtManagerLogin As System.Windows.Forms.TextBox
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents Button1 As System.Windows.Forms.Button
<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.Label9 = New System.Windows.Forms.Label
Me.TabControl1 = New System.Windows.Forms.TabControl
Me.TabPage1 = New System.Windows.Forms.TabPage
Me.Label1 = New System.Windows.Forms.Label
Me.cbShow = New System.Windows.Forms.ComboBox
Me.PictureBox1 = New System.Windows.Forms.PictureBox
Me.TabPage4 = New System.Windows.Forms.TabPage
Me.DateTimePicker2 = New System.Windows.Forms.DateTimePicker
Me.DateTimePicker1 = New System.Windows.Forms.DateTimePicker
Me.ComboBox4 = New System.Windows.Forms.ComboBox
Me.Label26 = New System.Windows.Forms.Label
Me.DataGrid1 = New System.Windows.Forms.DataGrid
Me.Label25 = New System.Windows.Forms.Label
Me.Label24 = New System.Windows.Forms.Label
Me.SearchBut = New System.Windows.Forms.Button
Me.OutBut = New System.Windows.Forms.Button
Me.TabPage2 = New System.Windows.Forms.TabPage
Me.Label23 = New System.Windows.Forms.Label
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.TabPage5 = New System.Windows.Forms.TabPage
Me.Button6 = New System.Windows.Forms.Button
Me.GroupBox5 = New System.Windows.Forms.GroupBox
Me.TxtRead = New System.Windows.Forms.TextBox
Me.Button5 = New System.Windows.Forms.Button
Me.GroupBox4 = New System.Windows.Forms.GroupBox
Me.txtWrite = New System.Windows.Forms.TextBox
Me.btnWrite = New System.Windows.Forms.Button
Me.btnRevise = New System.Windows.Forms.Button
Me.txt = New System.Windows.Forms.GroupBox
Me.lbPhy = New System.Windows.Forms.Label
Me.GroupBox3 = New System.Windows.Forms.GroupBox
Me.lbAD = New System.Windows.Forms.Label
Me.PictureBox5 = New System.Windows.Forms.PictureBox
Me.GroupBox2 = New System.Windows.Forms.GroupBox
Me.ComboBox6 = New System.Windows.Forms.ComboBox
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.ComboBox5 = New System.Windows.Forms.ComboBox
Me.TabPage6 = New System.Windows.Forms.TabPage
Me.Button1 = New System.Windows.Forms.Button
Me.GroupBox7 = New System.Windows.Forms.GroupBox
Me.Label8 = New System.Windows.Forms.Label
Me.TextBox5 = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.TextBox4 = New System.Windows.Forms.TextBox
Me.Label5 = New System.Windows.Forms.Label
Me.TextBox3 = New System.Windows.Forms.TextBox
Me.Label4 = New System.Windows.Forms.Label
Me.GroupBox6 = New System.Windows.Forms.GroupBox
Me.Label7 = New System.Windows.Forms.Label
Me.txtPasswordLogin = New System.Windows.Forms.TextBox
Me.txtManagerLogin = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label22 = New System.Windows.Forms.Label
Me.StateTxt = New System.Windows.Forms.TextBox
Me.Timer3 = New System.Windows.Forms.Timer(Me.components)
Me.ButState = New System.Windows.Forms.Button
CType(Me.MSComm1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.TabPage4.SuspendLayout()
CType(Me.DataGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.TabPage2.SuspendLayout()
Me.TabPage3.SuspendLayout()
Me.TabPage5.SuspendLayout()
Me.GroupBox5.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.txt.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox1.SuspendLayout()
Me.TabPage6.SuspendLayout()
Me.GroupBox7.SuspendLayout()
Me.GroupBox6.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, 48)
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(720, 48)
Me.StartBut.Name = "StartBut"
Me.StartBut.Size = New System.Drawing.Size(88, 40)
Me.StartBut.TabIndex = 17
Me.StartBut.Text = "开始"
'
'Timer1
'
'
'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, 32)
Me.Label9.Name = "Label9"
Me.Label9.Size = New System.Drawing.Size(232, 48)
Me.Label9.TabIndex = 19
Me.Label9.Text = "瑞萨烘干机系统"
'
'TabControl1
'
Me.TabControl1.Controls.Add(Me.TabPage1)
Me.TabControl1.Controls.Add(Me.TabPage4)
Me.TabControl1.Controls.Add(Me.TabPage2)
Me.TabControl1.Controls.Add(Me.TabPage3)
Me.TabControl1.Controls.Add(Me.TabPage5)
Me.TabControl1.Controls.Add(Me.TabPage6)
Me.TabControl1.Font = New System.Drawing.Font("楷体_GB2312", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.TabControl1.Location = New System.Drawing.Point(0, 88)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(1040, 592)
Me.TabControl1.TabIndex = 23
'
'TabPage1
'
Me.TabPage1.BackColor = System.Drawing.SystemColors.Control
Me.TabPage1.Controls.Add(Me.Label1)
Me.TabPage1.Controls.Add(Me.cbShow)
Me.TabPage1.Controls.Add(Me.PictureBox1)
Me.TabPage1.ForeColor = System.Drawing.Color.Blue
Me.TabPage1.Location = New System.Drawing.Point(4, 28)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Size = New System.Drawing.Size(1032, 560)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "显示"
'
'Label1
'
Me.Label1.ForeColor = System.Drawing.Color.Green
Me.Label1.Location = New System.Drawing.Point(256, 32)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(248, 23)
Me.Label1.TabIndex = 32
Me.Label1.Text = "请选择需显示的Bake炉号:"
'
'cbShow
'
Me.cbShow.Items.AddRange(New Object() {"1#", "2#", "3#", "4#"})
Me.cbShow.Location = New System.Drawing.Point(504, 24)
Me.cbShow.Name = "cbShow"
Me.cbShow.Size = New System.Drawing.Size(121, 27)
Me.cbShow.TabIndex = 31
'
'PictureBox1
'
Me.PictureBox1.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.PictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.PictureBox1.Location = New System.Drawing.Point(0, 80)
Me.PictureBox1.Name = "PictureBox1"
Me.PictureBox1.Size = New System.Drawing.Size(1024, 480)
Me.PictureBox1.TabIndex = 27
Me.PictureBox1.TabStop = False
'
'TabPage4
'
Me.TabPage4.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(224, Byte), CType(192, Byte))
Me.TabPage4.Controls.Add(Me.DateTimePicker2)
Me.TabPage4.Controls.Add(Me.DateTimePicker1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -