| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- #pragma checksum "..\..\..\..\UI\Controls\ImageDisplayControl.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "18A290AF0FF476C18050FCCA6D7D2DE17B22378D"
- //------------------------------------------------------------------------------
- // <auto-generated>
- // This code was generated by a tool.
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </auto-generated>
- //------------------------------------------------------------------------------
- using System;
- using System.Diagnostics;
- using System.Windows;
- using System.Windows.Automation;
- using System.Windows.Controls;
- using System.Windows.Controls.Primitives;
- using System.Windows.Controls.Ribbon;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Ink;
- using System.Windows.Input;
- using System.Windows.Markup;
- using System.Windows.Media;
- using System.Windows.Media.Animation;
- using System.Windows.Media.Effects;
- using System.Windows.Media.Imaging;
- using System.Windows.Media.Media3D;
- using System.Windows.Media.TextFormatting;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- using System.Windows.Shell;
- namespace TeamAAS.Camera.UI.Controls {
-
-
- /// <summary>
- /// ImageDisplayControl
- /// </summary>
- public partial class ImageDisplayControl : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
-
-
- #line 6 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Grid MainGrid;
-
- #line default
- #line hidden
-
-
- #line 19 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Canvas ImageCanvas;
-
- #line default
- #line hidden
-
-
- #line 20 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Image ImageControl;
-
- #line default
- #line hidden
-
-
- #line 26 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.Canvas OverlayCanvas;
-
- #line default
- #line hidden
-
-
- #line 29 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Shapes.Line CrossLineH;
-
- #line default
- #line hidden
-
-
- #line 30 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Shapes.Line CrossLineV;
-
- #line default
- #line hidden
-
-
- #line 37 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock CoordText;
-
- #line default
- #line hidden
-
-
- #line 43 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock ZoomText;
-
- #line default
- #line hidden
-
-
- #line 53 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.TextBlock EmptyText;
-
- #line default
- #line hidden
-
-
- #line 62 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
- internal System.Windows.Controls.MenuItem CrosshairMenuItem;
-
- #line default
- #line hidden
-
- private bool _contentLoaded;
-
- /// <summary>
- /// InitializeComponent
- /// </summary>
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.0")]
- public void InitializeComponent() {
- if (_contentLoaded) {
- return;
- }
- _contentLoaded = true;
- System.Uri resourceLocater = new System.Uri("/TeamAAS.Camera;component/ui/controls/imagedisplaycontrol.xaml", System.UriKind.Relative);
-
- #line 1 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- System.Windows.Application.LoadComponent(this, resourceLocater);
-
- #line default
- #line hidden
- }
-
- [System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "10.0.11.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")]
- void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
- switch (connectionId)
- {
- case 1:
- this.MainGrid = ((System.Windows.Controls.Grid)(target));
-
- #line 9 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.OnMouseWheel);
-
- #line default
- #line hidden
-
- #line 10 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonDown);
-
- #line default
- #line hidden
-
- #line 11 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseLeftButtonUp);
-
- #line default
- #line hidden
-
- #line 12 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnMouseMove);
-
- #line default
- #line hidden
-
- #line 13 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnMouseLeave);
-
- #line default
- #line hidden
-
- #line 15 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.Drop += new System.Windows.DragEventHandler(this.OnDrop);
-
- #line default
- #line hidden
-
- #line 16 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.MainGrid.DragOver += new System.Windows.DragEventHandler(this.OnDragOver);
-
- #line default
- #line hidden
- return;
- case 2:
- this.ImageCanvas = ((System.Windows.Controls.Canvas)(target));
- return;
- case 3:
- this.ImageControl = ((System.Windows.Controls.Image)(target));
- return;
- case 4:
- this.OverlayCanvas = ((System.Windows.Controls.Canvas)(target));
- return;
- case 5:
- this.CrossLineH = ((System.Windows.Shapes.Line)(target));
- return;
- case 6:
- this.CrossLineV = ((System.Windows.Shapes.Line)(target));
- return;
- case 7:
- this.CoordText = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 8:
- this.ZoomText = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 9:
- this.EmptyText = ((System.Windows.Controls.TextBlock)(target));
- return;
- case 10:
- this.CrosshairMenuItem = ((System.Windows.Controls.MenuItem)(target));
-
- #line 62 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- this.CrosshairMenuItem.Click += new System.Windows.RoutedEventHandler(this.MenuToggleCrosshair_Click);
-
- #line default
- #line hidden
- return;
- case 11:
-
- #line 64 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuSaveImage_Click);
-
- #line default
- #line hidden
- return;
- case 12:
-
- #line 66 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuFitWindow_Click);
-
- #line default
- #line hidden
- return;
- case 13:
-
- #line 67 "..\..\..\..\UI\Controls\ImageDisplayControl.xaml"
- ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuActualSize_Click);
-
- #line default
- #line hidden
- return;
- }
- this._contentLoaded = true;
- }
- }
- }
|