📄 admin_librarybasicset.vb
字号:
Imports System.Data
'引入数据库操作类命名空间
Imports System.Data.OleDb
'引入ADO.NET操作命名空间
Public Class win_librarybasicset
Inherits System.Windows.Forms.Form
Dim sqlstr As String 'SQL语句标记
Dim objDS As DataSet '数据在内存中的缓存
#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 GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents btmodi As System.Windows.Forms.Button
Friend WithEvents tbboardreflash As System.Windows.Forms.TextBox
Friend WithEvents tbreland As System.Windows.Forms.TextBox
Friend WithEvents tblanddays As System.Windows.Forms.TextBox
Friend WithEvents tblandnum As System.Windows.Forms.TextBox
Friend WithEvents rbclose As System.Windows.Forms.RadioButton
Friend WithEvents rbopen As System.Windows.Forms.RadioButton
Friend WithEvents btclose As System.Windows.Forms.Button
Friend WithEvents btreset As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(win_librarybasicset))
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.btreset = New System.Windows.Forms.Button
Me.btclose = New System.Windows.Forms.Button
Me.btmodi = New System.Windows.Forms.Button
Me.Label7 = New System.Windows.Forms.Label
Me.Label6 = New System.Windows.Forms.Label
Me.tbboardreflash = New System.Windows.Forms.TextBox
Me.tbreland = New System.Windows.Forms.TextBox
Me.tblanddays = New System.Windows.Forms.TextBox
Me.tblandnum = New System.Windows.Forms.TextBox
Me.rbclose = New System.Windows.Forms.RadioButton
Me.rbopen = New System.Windows.Forms.RadioButton
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.btreset)
Me.GroupBox1.Controls.Add(Me.btclose)
Me.GroupBox1.Controls.Add(Me.btmodi)
Me.GroupBox1.Controls.Add(Me.Label7)
Me.GroupBox1.Controls.Add(Me.Label6)
Me.GroupBox1.Controls.Add(Me.tbboardreflash)
Me.GroupBox1.Controls.Add(Me.tbreland)
Me.GroupBox1.Controls.Add(Me.tblanddays)
Me.GroupBox1.Controls.Add(Me.tblandnum)
Me.GroupBox1.Controls.Add(Me.rbclose)
Me.GroupBox1.Controls.Add(Me.rbopen)
Me.GroupBox1.Controls.Add(Me.Label5)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Label3)
Me.GroupBox1.Controls.Add(Me.Label2)
Me.GroupBox1.Controls.Add(Me.Label1)
Me.GroupBox1.Location = New System.Drawing.Point(2, 0)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(326, 144)
Me.GroupBox1.TabIndex = 0
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "基本配置"
'
'btreset
'
Me.btreset.ForeColor = System.Drawing.SystemColors.ControlText
Me.btreset.Location = New System.Drawing.Point(208, 72)
Me.btreset.Name = "btreset"
Me.btreset.Size = New System.Drawing.Size(104, 24)
Me.btreset.TabIndex = 7
Me.btreset.Text = "默认数据"
'
'btclose
'
Me.btclose.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.btclose.ForeColor = System.Drawing.SystemColors.ControlText
Me.btclose.Location = New System.Drawing.Point(264, 104)
Me.btclose.Name = "btclose"
Me.btclose.Size = New System.Drawing.Size(48, 24)
Me.btclose.TabIndex = 9
Me.btclose.Text = "关闭"
'
'btmodi
'
Me.btmodi.ForeColor = System.Drawing.SystemColors.ControlText
Me.btmodi.Location = New System.Drawing.Point(208, 104)
Me.btmodi.Name = "btmodi"
Me.btmodi.Size = New System.Drawing.Size(48, 24)
Me.btmodi.TabIndex = 8
Me.btmodi.Text = "修改"
'
'Label7
'
Me.Label7.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label7.Location = New System.Drawing.Point(168, 112)
Me.Label7.Name = "Label7"
Me.Label7.Size = New System.Drawing.Size(32, 24)
Me.Label7.TabIndex = 12
Me.Label7.Text = "毫秒"
Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'Label6
'
Me.Label6.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label6.Location = New System.Drawing.Point(144, 64)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(16, 24)
Me.Label6.TabIndex = 11
Me.Label6.Text = "天"
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'tbboardreflash
'
Me.tbboardreflash.ForeColor = System.Drawing.SystemColors.ControlText
Me.tbboardreflash.Location = New System.Drawing.Point(104, 112)
Me.tbboardreflash.Name = "tbboardreflash"
Me.tbboardreflash.Size = New System.Drawing.Size(56, 21)
Me.tbboardreflash.TabIndex = 6
Me.tbboardreflash.Text = ""
'
'tbreland
'
Me.tbreland.ForeColor = System.Drawing.SystemColors.ControlText
Me.tbreland.Location = New System.Drawing.Point(104, 88)
Me.tbreland.Name = "tbreland"
Me.tbreland.Size = New System.Drawing.Size(32, 21)
Me.tbreland.TabIndex = 5
Me.tbreland.Text = ""
'
'tblanddays
'
Me.tblanddays.ForeColor = System.Drawing.SystemColors.ControlText
Me.tblanddays.Location = New System.Drawing.Point(104, 64)
Me.tblanddays.Name = "tblanddays"
Me.tblanddays.Size = New System.Drawing.Size(32, 21)
Me.tblanddays.TabIndex = 4
Me.tblanddays.Text = ""
'
'tblandnum
'
Me.tblandnum.ForeColor = System.Drawing.SystemColors.ControlText
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -