public void InitializeComponent() { if (_contentLoaded) return; _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/PhotoView/CropControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); Crop = (global::Windows.UI.Xaml.Controls.UserControl)this.FindName("Crop"); OuterGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("OuterGrid"); vb = (global::Windows.UI.Xaml.Controls.Viewbox)this.FindName("vb"); ImageField = (global::Windows.UI.Xaml.Controls.Canvas)this.FindName("ImageField"); LeftTop = (global::Scanner.Windows.Views.PhotoView.CustomControl)this.FindName("LeftTop"); RightTop = (global::Scanner.Windows.Views.PhotoView.CustomControl)this.FindName("RightTop"); LeftBottom = (global::Scanner.Windows.Views.PhotoView.CustomControl)this.FindName("LeftBottom"); RightBottom = (global::Scanner.Windows.Views.PhotoView.CustomControl)this.FindName("RightBottom"); LeftRight = (global::Windows.UI.Xaml.Media.LineGeometry)this.FindName("LeftRight"); Image = (global::Windows.UI.Xaml.Controls.Image)this.FindName("Image"); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Views/PhotoView/CropControl.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application); Crop = (global::Windows.UI.Xaml.Controls.UserControl) this.FindName("Crop"); OuterGrid = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("OuterGrid"); vb = (global::Windows.UI.Xaml.Controls.Viewbox) this.FindName("vb"); ImageField = (global::Windows.UI.Xaml.Controls.Canvas) this.FindName("ImageField"); LeftTop = (global::Scanner.Windows.Views.PhotoView.CustomControl) this.FindName("LeftTop"); RightTop = (global::Scanner.Windows.Views.PhotoView.CustomControl) this.FindName("RightTop"); LeftBottom = (global::Scanner.Windows.Views.PhotoView.CustomControl) this.FindName("LeftBottom"); RightBottom = (global::Scanner.Windows.Views.PhotoView.CustomControl) this.FindName("RightBottom"); LeftRight = (global::Windows.UI.Xaml.Media.LineGeometry) this.FindName("LeftRight"); Image = (global::Windows.UI.Xaml.Controls.Image) this.FindName("Image"); }