#ExternalChecksum("..\..\..\..\Controls\DrawingCanvasControl.xaml","{406ea660-64cf-4c82-b6f0-42d48172a799}","80F74AEA442F41ED5CF5285B36818232")
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.17379
'
' 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
Imports WpfDrawingCanvasProgram
'''<summary>
'''DrawingCanvasControl
'''</summary>
<Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class DrawingCanvasControl
Inherits System.Windows.Controls.UserControl
Implements System.Windows.Markup.IComponentConnector
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",45)
<System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")> _
Friend WithEvents MyBorder As System.Windows.Controls.Border
#End ExternalSource
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",47)
<System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")> _
Friend WithEvents DrawingScroll As WpfDrawingCanvasProgram.DrawingScrollViewer
#End ExternalSource
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",48)
<System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")> _
Friend WithEvents CanvasContainer As System.Windows.Controls.ContentControl
#End ExternalSource
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",49)
<System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")> _
Friend WithEvents DrawingCanvas As WpfDrawingCanvasProgram.DrawingCanvas
#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("/WpfDrawingCanvasProgram;component/controls/drawingcanvascontrol.xaml", System.UriKind.Relative)
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.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.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")> _
Friend Function _CreateDelegate(ByVal delegateType As System.Type, ByVal handler As String) As System.[Delegate]
Return System.[Delegate].CreateDelegate(delegateType, Me, handler)
End Function
<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.MyBorder = CType(target,System.Windows.Controls.Border)
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",45)
AddHandler Me.MyBorder.KeyDown, New System.Windows.Input.KeyEventHandler(AddressOf Me.Border_KeyDown)
#End ExternalSource
Return
End If
If (connectionId = 2) Then
Me.DrawingScroll = CType(target,WpfDrawingCanvasProgram.DrawingScrollViewer)
Return
End If
If (connectionId = 3) Then
Me.CanvasContainer = CType(target,System.Windows.Controls.ContentControl)
#ExternalSource("..\..\..\..\Controls\DrawingCanvasControl.xaml",48)
AddHandler Me.CanvasContainer.SizeChanged, New System.Windows.SizeChangedEventHandler(AddressOf Me.CanvasContainer_SizeChanged)
#End ExternalSource
Return
End If
If (connectionId = 4) Then
Me.DrawingCanvas = CType(target,WpfDrawingCanvasProgram.DrawingCanvas)
Return
End If
Me._contentLoaded = true
End Sub
End Class