#ExternalChecksum("..\..\..\MainWindow.xaml","{ff1816ec-aa5e-4d10-87f7-6f4963833460}","D4EA5B4B481A2BE12163401D9F7597D20E2D18C9")
'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.42000
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell


'''<summary>
'''MainWindow
'''</summary>
<Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>  _
Partial Public Class MainWindow
    Inherits System.Windows.Window
    Implements System.Windows.Markup.IComponentConnector
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",4)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents MainDlg As MainWindow
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",8)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnStart As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",9)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnStartKeyPro As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",10)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnScan As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",11)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnScanOnWnd As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",12)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents tbFile As System.Windows.Controls.TextBox
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",13)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnCalibrate As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",14)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnEnd As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",15)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnGetLang As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",16)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents cbLang As System.Windows.Controls.ComboBox
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",17)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents BtnRecog As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",18)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents tbResult As System.Windows.Controls.TextBox
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",19)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents rcPic As System.Windows.Shapes.Rectangle
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",20)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents serailBox As System.Windows.Controls.TextBox
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",21)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents textBlock1 As System.Windows.Controls.TextBlock
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",22)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents textBlock2 As System.Windows.Controls.TextBlock
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",23)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents CheckRegister As System.Windows.Controls.Button
    
    #End ExternalSource
    
    
    #ExternalSource("..\..\..\MainWindow.xaml",25)
    <System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")>  _
    Friend WithEvents tbMsg As System.Windows.Controls.Label
    
    #End ExternalSource
    
    Private _contentLoaded As Boolean
    
    '''<summary>
    '''InitializeComponent
    '''</summary>
    <System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")>  _
    Public Sub InitializeComponent() Implements System.Windows.Markup.IComponentConnector.InitializeComponent
        If _contentLoaded Then
            Return
        End If
        _contentLoaded = true
        Dim resourceLocater As System.Uri = New System.Uri("/VBSample;component/mainwindow.xaml", System.UriKind.Relative)
        
        #ExternalSource("..\..\..\MainWindow.xaml",1)
        System.Windows.Application.LoadComponent(Me, resourceLocater)
        
        #End ExternalSource
    End Sub
    
    <System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0"),  _
     System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never),  _
     System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes"),  _
     System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity"),  _
     System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")>  _
    Sub System_Windows_Markup_IComponentConnector_Connect(ByVal connectionId As Integer, ByVal target As Object) Implements System.Windows.Markup.IComponentConnector.Connect
        If (connectionId = 1) Then
            Me.MainDlg = CType(target,MainWindow)
            
            #ExternalSource("..\..\..\MainWindow.xaml",4)
            AddHandler Me.MainDlg.Unloaded, New System.Windows.RoutedEventHandler(AddressOf Me.Window_Unloaded)
            
            #End ExternalSource
            
            #ExternalSource("..\..\..\MainWindow.xaml",4)
            AddHandler Me.MainDlg.Closed, New System.EventHandler(AddressOf Me.Window_Closed)
            
            #End ExternalSource
            
            #ExternalSource("..\..\..\MainWindow.xaml",4)
            AddHandler Me.MainDlg.Loaded, New System.Windows.RoutedEventHandler(AddressOf Me.Window_Loaded)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 2) Then
            Me.BtnStart = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",8)
            AddHandler Me.BtnStart.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnStart_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 3) Then
            Me.BtnStartKeyPro = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",9)
            AddHandler Me.BtnStartKeyPro.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnStartKeyPro_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 4) Then
            Me.BtnScan = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",10)
            AddHandler Me.BtnScan.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnScan_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 5) Then
            Me.BtnScanOnWnd = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",11)
            AddHandler Me.BtnScanOnWnd.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnScanOnWnd_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 6) Then
            Me.tbFile = CType(target,System.Windows.Controls.TextBox)
            Return
        End If
        If (connectionId = 7) Then
            Me.BtnCalibrate = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",13)
            AddHandler Me.BtnCalibrate.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnCalibrate_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 8) Then
            Me.BtnEnd = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",14)
            AddHandler Me.BtnEnd.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnEnd_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 9) Then
            Me.BtnGetLang = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",15)
            AddHandler Me.BtnGetLang.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnGetLang_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 10) Then
            Me.cbLang = CType(target,System.Windows.Controls.ComboBox)
            Return
        End If
        If (connectionId = 11) Then
            Me.BtnRecog = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",17)
            AddHandler Me.BtnRecog.Click, New System.Windows.RoutedEventHandler(AddressOf Me.BtnRecog_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 12) Then
            Me.tbResult = CType(target,System.Windows.Controls.TextBox)
            Return
        End If
        If (connectionId = 13) Then
            Me.rcPic = CType(target,System.Windows.Shapes.Rectangle)
            Return
        End If
        If (connectionId = 14) Then
            Me.serailBox = CType(target,System.Windows.Controls.TextBox)
            
            #ExternalSource("..\..\..\MainWindow.xaml",20)
            AddHandler Me.serailBox.PreviewGotKeyboardFocus, New System.Windows.Input.KeyboardFocusChangedEventHandler(AddressOf Me.serailBox_PreviewGotKeyboardFocus)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 15) Then
            Me.textBlock1 = CType(target,System.Windows.Controls.TextBlock)
            Return
        End If
        If (connectionId = 16) Then
            Me.textBlock2 = CType(target,System.Windows.Controls.TextBlock)
            Return
        End If
        If (connectionId = 17) Then
            Me.CheckRegister = CType(target,System.Windows.Controls.Button)
            
            #ExternalSource("..\..\..\MainWindow.xaml",23)
            AddHandler Me.CheckRegister.Click, New System.Windows.RoutedEventHandler(AddressOf Me.CheckRegister_Click)
            
            #End ExternalSource
            Return
        End If
        If (connectionId = 18) Then
            Me.tbMsg = CType(target,System.Windows.Controls.Label)
            Return
        End If
        Me._contentLoaded = true
    End Sub
End Class

