?? frmmain.vb
字號:
Imports System.Data.SqlClient
Imports System.Data
Public Class FrmMain
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 MainMenu1 As System.Windows.Forms.MainMenu
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem8 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem9 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem10 As System.Windows.Forms.MenuItem
Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar
Friend WithEvents toolBookIn As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton1 As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton2 As System.Windows.Forms.ToolBarButton
Friend WithEvents ToolBarButton3 As System.Windows.Forms.ToolBarButton
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
Friend WithEvents StatusBar1 As System.Windows.Forms.StatusBar
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents TreeView1 As System.Windows.Forms.TreeView
Friend WithEvents Splitter1 As System.Windows.Forms.Splitter
Friend WithEvents ListView1 As System.Windows.Forms.ListView
Friend WithEvents ImageList2 As System.Windows.Forms.ImageList
Friend WithEvents StatusBarPanel1 As System.Windows.Forms.StatusBarPanel
Friend WithEvents StatusBarPanel2 As System.Windows.Forms.StatusBarPanel
Friend WithEvents StatusBarPanel3 As System.Windows.Forms.StatusBarPanel
Friend WithEvents MenuItem11 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem12 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem15 As System.Windows.Forms.MenuItem
Friend WithEvents MnuBookCat As System.Windows.Forms.MenuItem
Friend WithEvents MnuBookSubCat As System.Windows.Forms.MenuItem
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(FrmMain))
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem2 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.MenuItem6 = New System.Windows.Forms.MenuItem
Me.MenuItem11 = New System.Windows.Forms.MenuItem
Me.MenuItem12 = New System.Windows.Forms.MenuItem
Me.MnuBookCat = New System.Windows.Forms.MenuItem
Me.MnuBookSubCat = New System.Windows.Forms.MenuItem
Me.MenuItem15 = New System.Windows.Forms.MenuItem
Me.MenuItem7 = New System.Windows.Forms.MenuItem
Me.MenuItem8 = New System.Windows.Forms.MenuItem
Me.MenuItem9 = New System.Windows.Forms.MenuItem
Me.MenuItem10 = New System.Windows.Forms.MenuItem
Me.ToolBar1 = New System.Windows.Forms.ToolBar
Me.toolBookIn = New System.Windows.Forms.ToolBarButton
Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton
Me.ToolBarButton2 = New System.Windows.Forms.ToolBarButton
Me.ToolBarButton3 = New System.Windows.Forms.ToolBarButton
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
Me.StatusBar1 = New System.Windows.Forms.StatusBar
Me.StatusBarPanel1 = New System.Windows.Forms.StatusBarPanel
Me.StatusBarPanel2 = New System.Windows.Forms.StatusBarPanel
Me.StatusBarPanel3 = New System.Windows.Forms.StatusBarPanel
Me.Panel1 = New System.Windows.Forms.Panel
Me.ListView1 = New System.Windows.Forms.ListView
Me.ImageList2 = New System.Windows.Forms.ImageList(Me.components)
Me.Splitter1 = New System.Windows.Forms.Splitter
Me.TreeView1 = New System.Windows.Forms.TreeView
CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.StatusBarPanel3, System.ComponentModel.ISupportInitialize).BeginInit()
Me.Panel1.SuspendLayout()
Me.SuspendLayout()
'
'MainMenu1
'
Me.MainMenu1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem11, Me.MenuItem7})
'
'MenuItem1
'
Me.MenuItem1.Index = 0
Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem2, Me.MenuItem3, Me.MenuItem4, Me.MenuItem5, Me.MenuItem6})
Me.MenuItem1.Shortcut = System.Windows.Forms.Shortcut.CtrlF
Me.MenuItem1.Text = "常用操作"
'
'MenuItem2
'
Me.MenuItem2.Enabled = CType(configurationAppSettings.GetValue("MenuItem2.Enabled", GetType(System.Boolean)), Boolean)
Me.MenuItem2.Index = 0
Me.MenuItem2.Shortcut = System.Windows.Forms.Shortcut.CtrlE
Me.MenuItem2.Text = "圖書錄入"
'
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.Text = "圖書借閱"
'
'MenuItem4
'
Me.MenuItem4.Index = 2
Me.MenuItem4.Text = "圖書查找"
'
'MenuItem5
'
Me.MenuItem5.Index = 3
Me.MenuItem5.Text = "-"
'
'MenuItem6
'
Me.MenuItem6.Index = 4
Me.MenuItem6.Text = "退出系統"
'
'MenuItem11
'
Me.MenuItem11.Index = 1
Me.MenuItem11.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem12, Me.MenuItem15})
Me.MenuItem11.Text = "系統管理"
'
'MenuItem12
'
Me.MenuItem12.Index = 0
Me.MenuItem12.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MnuBookCat, Me.MnuBookSubCat})
Me.MenuItem12.Text = "圖書類別"
'
'MnuBookCat
'
Me.MnuBookCat.Index = 0
Me.MnuBookCat.Text = "圖書大類"
'
'MnuBookSubCat
'
Me.MnuBookSubCat.Index = 1
Me.MnuBookSubCat.Text = "圖書小類"
'
'MenuItem15
'
Me.MenuItem15.Index = 1
Me.MenuItem15.Text = "用戶管理"
'
'MenuItem7
'
Me.MenuItem7.Index = 2
Me.MenuItem7.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem8, Me.MenuItem9, Me.MenuItem10})
Me.MenuItem7.Text = "幫助"
'
'MenuItem8
'
Me.MenuItem8.Index = 0
Me.MenuItem8.Text = "關于..."
'
'MenuItem9
'
Me.MenuItem9.Index = 1
Me.MenuItem9.Text = "注冊..."
'
'MenuItem10
'
Me.MenuItem10.Index = 2
Me.MenuItem10.Text = "使用指南"
'
'ToolBar1
'
Me.ToolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat
Me.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.toolBookIn, Me.ToolBarButton1, Me.ToolBarButton2, Me.ToolBarButton3})
Me.ToolBar1.DropDownArrows = True
Me.ToolBar1.ImageList = Me.ImageList1
Me.ToolBar1.Location = New System.Drawing.Point(0, 0)
Me.ToolBar1.Name = "ToolBar1"
Me.ToolBar1.ShowToolTips = True
Me.ToolBar1.Size = New System.Drawing.Size(656, 42)
Me.ToolBar1.TabIndex = 0
'
'toolBookIn
'
Me.toolBookIn.ImageIndex = 0
Me.toolBookIn.Text = "圖書錄入"
'
'ToolBarButton1
'
Me.ToolBarButton1.ImageIndex = 1
Me.ToolBarButton1.Text = "圖書借閱"
'
'ToolBarButton2
'
Me.ToolBarButton2.ImageIndex = 2
Me.ToolBarButton2.Text = "圖書查找"
'
'ToolBarButton3
'
Me.ToolBarButton3.ImageIndex = 3
Me.ToolBarButton3.Text = "使用指南"
'
'ImageList1
'
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -