?? frmwritedetection.vb
字號:
Public Class frmWriteDetection
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
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
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents wgMain As HandWriting.PatternGrid
Friend WithEvents txtTrain As System.Windows.Forms.TextBox
Friend WithEvents cmdDetect As System.Windows.Forms.Button
Friend WithEvents txtDetect As System.Windows.Forms.TextBox
Friend WithEvents Initialize As System.Windows.Forms.Button
Friend WithEvents txtGridSize As System.Windows.Forms.TextBox
Friend WithEvents txtUnitSize As System.Windows.Forms.TextBox
Friend WithEvents cmdAddState As System.Windows.Forms.Button
Friend WithEvents cmdTrain As System.Windows.Forms.Button
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 TabPage3 As System.Windows.Forms.TabPage
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 cmdClearStates As System.Windows.Forms.Button
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents TabControl2 As System.Windows.Forms.TabControl
Friend WithEvents TabPage4 As System.Windows.Forms.TabPage
Friend WithEvents TabPage5 As System.Windows.Forms.TabPage
Friend WithEvents lvReport As System.Windows.Forms.ListView
Friend WithEvents txtStates As System.Windows.Forms.TextBox
Friend WithEvents Panel1 As System.Windows.Forms.Panel
Friend WithEvents Panel2 As System.Windows.Forms.Panel
Friend WithEvents Panel3 As System.Windows.Forms.Panel
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents btnClear As System.Windows.Forms.Button
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.wgMain = New HandWriting.PatternGrid()
Me.txtTrain = New System.Windows.Forms.TextBox()
Me.cmdAddState = New System.Windows.Forms.Button()
Me.cmdDetect = New System.Windows.Forms.Button()
Me.txtDetect = New System.Windows.Forms.TextBox()
Me.txtGridSize = New System.Windows.Forms.TextBox()
Me.txtUnitSize = New System.Windows.Forms.TextBox()
Me.Initialize = New System.Windows.Forms.Button()
Me.cmdTrain = New System.Windows.Forms.Button()
Me.TabControl1 = New System.Windows.Forms.TabControl()
Me.TabPage1 = New System.Windows.Forms.TabPage()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.TabPage2 = New System.Windows.Forms.TabPage()
Me.txtStates = New System.Windows.Forms.TextBox()
Me.cmdClearStates = New System.Windows.Forms.Button()
Me.Label3 = New System.Windows.Forms.Label()
Me.TabPage3 = New System.Windows.Forms.TabPage()
Me.Label4 = New System.Windows.Forms.Label()
Me.TabControl2 = New System.Windows.Forms.TabControl()
Me.TabPage4 = New System.Windows.Forms.TabPage()
Me.btnClear = New System.Windows.Forms.Button()
Me.TabPage5 = New System.Windows.Forms.TabPage()
Me.lvReport = New System.Windows.Forms.ListView()
Me.Panel1 = New System.Windows.Forms.Panel()
Me.Panel2 = New System.Windows.Forms.Panel()
Me.Label5 = New System.Windows.Forms.Label()
Me.Panel3 = New System.Windows.Forms.Panel()
Me.TabControl1.SuspendLayout()
Me.TabPage1.SuspendLayout()
Me.TabPage2.SuspendLayout()
Me.TabPage3.SuspendLayout()
Me.TabControl2.SuspendLayout()
Me.TabPage4.SuspendLayout()
Me.TabPage5.SuspendLayout()
Me.Panel2.SuspendLayout()
Me.Panel3.SuspendLayout()
Me.SuspendLayout()
'
'wgMain
'
Me.wgMain.BackColor = System.Drawing.Color.White
Me.wgMain.Location = New System.Drawing.Point(16, 42)
Me.wgMain.Name = "wgMain"
Me.wgMain.Size = New System.Drawing.Size(120, 120)
Me.wgMain.TabIndex = 0
'
'txtTrain
'
Me.txtTrain.Location = New System.Drawing.Point(16, 56)
Me.txtTrain.Name = "txtTrain"
Me.txtTrain.Size = New System.Drawing.Size(167, 20)
Me.txtTrain.TabIndex = 1
Me.txtTrain.Text = ""
'
'cmdAddState
'
Me.cmdAddState.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.cmdAddState.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmdAddState.Location = New System.Drawing.Point(16, 96)
Me.cmdAddState.Name = "cmdAddState"
Me.cmdAddState.Size = New System.Drawing.Size(80, 24)
Me.cmdAddState.TabIndex = 2
Me.cmdAddState.Text = "Add State"
'
'cmdDetect
'
Me.cmdDetect.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.cmdDetect.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmdDetect.Location = New System.Drawing.Point(17, 98)
Me.cmdDetect.Name = "cmdDetect"
Me.cmdDetect.Size = New System.Drawing.Size(104, 24)
Me.cmdDetect.TabIndex = 4
Me.cmdDetect.Text = "Detect"
'
'txtDetect
'
Me.txtDetect.Location = New System.Drawing.Point(16, 56)
Me.txtDetect.Name = "txtDetect"
Me.txtDetect.Size = New System.Drawing.Size(120, 20)
Me.txtDetect.TabIndex = 3
Me.txtDetect.Text = ""
'
'txtGridSize
'
Me.txtGridSize.Location = New System.Drawing.Point(16, 152)
Me.txtGridSize.Name = "txtGridSize"
Me.txtGridSize.Size = New System.Drawing.Size(120, 20)
Me.txtGridSize.TabIndex = 6
Me.txtGridSize.Text = "10"
'
'txtUnitSize
'
Me.txtUnitSize.Location = New System.Drawing.Point(16, 64)
Me.txtUnitSize.Name = "txtUnitSize"
Me.txtUnitSize.Size = New System.Drawing.Size(120, 20)
Me.txtUnitSize.TabIndex = 7
Me.txtUnitSize.Text = "20"
'
'Initialize
'
Me.Initialize.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.Initialize.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.Initialize.Location = New System.Drawing.Point(16, 201)
Me.Initialize.Name = "Initialize"
Me.Initialize.Size = New System.Drawing.Size(104, 24)
Me.Initialize.TabIndex = 8
Me.Initialize.Text = "Initialize"
'
'cmdTrain
'
Me.cmdTrain.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(192, Byte))
Me.cmdTrain.FlatStyle = System.Windows.Forms.FlatStyle.Flat
Me.cmdTrain.Location = New System.Drawing.Point(16, 304)
Me.cmdTrain.Name = "cmdTrain"
Me.cmdTrain.Size = New System.Drawing.Size(174, 24)
Me.cmdTrain.TabIndex = 9
Me.cmdTrain.Text = "Train 1000 Times"
'
'TabControl1
'
Me.TabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons
Me.TabControl1.Controls.AddRange(New System.Windows.Forms.Control() {Me.TabPage1, Me.TabPage2, Me.TabPage3})
Me.TabControl1.Location = New System.Drawing.Point(9, 49)
Me.TabControl1.Name = "TabControl1"
Me.TabControl1.SelectedIndex = 0
Me.TabControl1.Size = New System.Drawing.Size(224, 368)
Me.TabControl1.TabIndex = 10
'
'TabPage1
'
Me.TabPage1.BackColor = System.Drawing.Color.White
Me.TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label2, Me.Label1, Me.txtUnitSize, Me.txtGridSize, Me.Initialize})
Me.TabPage1.Location = New System.Drawing.Point(4, 25)
Me.TabPage1.Name = "TabPage1"
Me.TabPage1.Size = New System.Drawing.Size(216, 339)
Me.TabPage1.TabIndex = 0
Me.TabPage1.Text = "Initialize"
'
'Label2
'
Me.Label2.Location = New System.Drawing.Point(16, 120)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(168, 24)
Me.Label2.TabIndex = 10
Me.Label2.Text = "Grid Square Size"
'
'Label1
'
Me.Label1.Location = New System.Drawing.Point(16, 40)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(168, 24)
Me.Label1.TabIndex = 9
Me.Label1.Text = "Pixel Size"
'
'TabPage2
'
Me.TabPage2.BackColor = System.Drawing.Color.White
Me.TabPage2.Controls.AddRange(New System.Windows.Forms.Control() {Me.txtStates, Me.cmdClearStates, Me.Label3, Me.cmdAddState, Me.txtTrain, Me.cmdTrain})
Me.TabPage2.Location = New System.Drawing.Point(4, 25)
Me.TabPage2.Name = "TabPage2"
Me.TabPage2.Size = New System.Drawing.Size(216, 339)
Me.TabPage2.TabIndex = 1
Me.TabPage2.Text = "Training"
'
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -