?? frmstusleep.vb
字號(hào):
Imports SchoolManage
Imports System
Imports System.Data
Imports System.Data.SqlClient
Public Class FrmStuSleep
Inherits System.Windows.Forms.Form
#Region " Windows 窗體設(shè)計(jì)器生成的代碼 "
Public Sub New()
MyBase.New()
'該調(diào)用是 Windows 窗體設(shè)計(jì)器所必需的。
InitializeComponent()
'在 InitializeComponent() 調(diào)用之后添加任何初始化
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 窗體設(shè)計(jì)器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下過程是 Windows 窗體設(shè)計(jì)器所必需的
'可以使用 Windows 窗體設(shè)計(jì)器修改此過程。
'不要使用代碼編輯器修改它。
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents txtSleep As System.Windows.Forms.TextBox
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents txtRemark As System.Windows.Forms.TextBox
Friend WithEvents dgDate As System.Windows.Forms.DataGrid
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents btnAdd As System.Windows.Forms.Button
Friend WithEvents btnUpdate As System.Windows.Forms.Button
Friend WithEvents btnDelete As System.Windows.Forms.Button
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnSave As System.Windows.Forms.Button
Friend WithEvents btnExit As System.Windows.Forms.Button
Friend WithEvents btnSelect As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.Label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.txtSleep = New System.Windows.Forms.TextBox
Me.Label3 = New System.Windows.Forms.Label
Me.txtRemark = New System.Windows.Forms.TextBox
Me.dgDate = New System.Windows.Forms.DataGrid
Me.GroupBox1 = New System.Windows.Forms.GroupBox
Me.btnCancel = New System.Windows.Forms.Button
Me.btnDelete = New System.Windows.Forms.Button
Me.btnUpdate = New System.Windows.Forms.Button
Me.btnAdd = New System.Windows.Forms.Button
Me.btnSave = New System.Windows.Forms.Button
Me.btnExit = New System.Windows.Forms.Button
Me.btnSelect = New System.Windows.Forms.Button
CType(Me.dgDate, System.ComponentModel.ISupportInitialize).BeginInit()
Me.GroupBox1.SuspendLayout()
Me.SuspendLayout()
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("黑體", 15.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Location = New System.Drawing.Point(104, 8)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(176, 24)
Me.Label1.TabIndex = 0
Me.Label1.Text = "學(xué)生宿舍信息"
Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(32, 48)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(56, 16)
Me.Label2.TabIndex = 1
Me.Label2.Text = "寢室號(hào):"
'
'txtSleep
'
Me.txtSleep.Location = New System.Drawing.Point(96, 40)
Me.txtSleep.Name = "txtSleep"
Me.txtSleep.Size = New System.Drawing.Size(120, 21)
Me.txtSleep.TabIndex = 2
Me.txtSleep.Text = ""
'
'Label3
'
Me.Label3.Location = New System.Drawing.Point(32, 80)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(56, 16)
Me.Label3.TabIndex = 4
Me.Label3.Text = "備注:"
'
'txtRemark
'
Me.txtRemark.Location = New System.Drawing.Point(96, 72)
Me.txtRemark.Multiline = True
Me.txtRemark.Name = "txtRemark"
Me.txtRemark.Size = New System.Drawing.Size(232, 21)
Me.txtRemark.TabIndex = 5
Me.txtRemark.Text = ""
'
'dgDate
'
Me.dgDate.DataMember = ""
Me.dgDate.HeaderForeColor = System.Drawing.SystemColors.ControlText
Me.dgDate.Location = New System.Drawing.Point(32, 112)
Me.dgDate.Name = "dgDate"
Me.dgDate.Size = New System.Drawing.Size(202, 210)
Me.dgDate.TabIndex = 6
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.btnCancel)
Me.GroupBox1.Controls.Add(Me.btnDelete)
Me.GroupBox1.Controls.Add(Me.btnUpdate)
Me.GroupBox1.Controls.Add(Me.btnAdd)
Me.GroupBox1.Location = New System.Drawing.Point(250, 110)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(78, 148)
Me.GroupBox1.TabIndex = 7
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "GroupBox1"
'
'btnCancel
'
Me.btnCancel.Location = New System.Drawing.Point(14, 114)
Me.btnCancel.Name = "btnCancel"
Me.btnCancel.Size = New System.Drawing.Size(56, 24)
Me.btnCancel.TabIndex = 3
Me.btnCancel.Text = "取消"
'
'btnDelete
'
Me.btnDelete.Location = New System.Drawing.Point(14, 84)
Me.btnDelete.Name = "btnDelete"
Me.btnDelete.Size = New System.Drawing.Size(56, 24)
Me.btnDelete.TabIndex = 2
Me.btnDelete.Text = "刪除"
'
'btnUpdate
'
Me.btnUpdate.Location = New System.Drawing.Point(14, 54)
Me.btnUpdate.Name = "btnUpdate"
Me.btnUpdate.Size = New System.Drawing.Size(56, 24)
Me.btnUpdate.TabIndex = 1
Me.btnUpdate.Text = "更改"
'
'btnAdd
'
Me.btnAdd.Location = New System.Drawing.Point(14, 24)
Me.btnAdd.Name = "btnAdd"
Me.btnAdd.Size = New System.Drawing.Size(56, 24)
Me.btnAdd.TabIndex = 0
Me.btnAdd.Text = "添加"
'
'btnSave
'
Me.btnSave.Location = New System.Drawing.Point(262, 266)
Me.btnSave.Name = "btnSave"
Me.btnSave.Size = New System.Drawing.Size(60, 24)
Me.btnSave.TabIndex = 8
Me.btnSave.Text = "保存"
'
'btnExit
'
Me.btnExit.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.btnExit.Location = New System.Drawing.Point(262, 296)
Me.btnExit.Name = "btnExit"
Me.btnExit.Size = New System.Drawing.Size(60, 24)
Me.btnExit.TabIndex = 9
Me.btnExit.Text = "退出"
'
'btnSelect
'
Me.btnSelect.Location = New System.Drawing.Point(244, 42)
Me.btnSelect.Name = "btnSelect"
Me.btnSelect.Size = New System.Drawing.Size(72, 20)
Me.btnSelect.TabIndex = 10
Me.btnSelect.Text = "查找"
'
'FrmStuSleep
'
Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
Me.ClientSize = New System.Drawing.Size(350, 341)
Me.Controls.Add(Me.btnSelect)
Me.Controls.Add(Me.btnExit)
Me.Controls.Add(Me.btnSave)
Me.Controls.Add(Me.GroupBox1)
Me.Controls.Add(Me.dgDate)
Me.Controls.Add(Me.txtRemark)
Me.Controls.Add(Me.txtSleep)
Me.Controls.Add(Me.Label3)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.Label1)
Me.Name = "FrmStuSleep"
Me.Text = "FrmStuSleep"
CType(Me.dgDate, System.ComponentModel.ISupportInitialize).EndInit()
Me.GroupBox1.ResumeLayout(False)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -