public void InitializeComponent() { if (this._contentLoaded) { return; } this._contentLoaded = true; Application.LoadComponent(this, new Uri("/VKClient.Common;component/UC/ImageViewerDecoratorUC.xaml", UriKind.Relative)); this.imageViewer = (VKClient.Common.ImageViewer.ImageViewer)base.FindName("imageViewer"); this.gridTop = (Canvas)base.FindName("gridTop"); this.rectBlackTop = (Image)base.FindName("rectBlackTop"); this.textBlockCounter = (TextBlock)base.FindName("textBlockCounter"); this.borderActions = (Border)base.FindName("borderActions"); this.borderOrientationLock = (Border)base.FindName("borderOrientationLock"); this.contextMenu = (ContextMenu)base.FindName("contextMenu"); this.menuItemSaveInAlbum = (MenuItem)base.FindName("menuItemSaveInAlbum"); this.borderMore = (Border)base.FindName("borderMore"); this.gridBottom = (Canvas)base.FindName("gridBottom"); this.rectBlackBottom = (Image)base.FindName("rectBlackBottom"); this.textBoxText = (ScrollableTextBlock)base.FindName("textBoxText"); this.stackPanelLikesComments = (StackPanel)base.FindName("stackPanelLikesComments"); this.borderLikes = (Border)base.FindName("borderLikes"); this.borderComments = (Border)base.FindName("borderComments"); this.gridGifs = (Grid)base.FindName("gridGifs"); this.borderShare = (Border)base.FindName("borderShare"); this.borderMarks = (Border)base.FindName("borderMarks"); }
public void InitializeComponent() { if (this._contentLoaded) { return; } this._contentLoaded = true; Application.LoadComponent(this, new Uri("/VKClient.Photos;component/ImageEditor/ImageEditorDecorator2UC.xaml", UriKind.Relative)); this.LayoutRoot = (Grid)base.FindName("LayoutRoot"); this.imageViewer = (VKClient.Common.ImageViewer.ImageViewer)base.FindName("imageViewer"); this.gridDecorator = (Grid)base.FindName("gridDecorator"); this.elliplseSelect = (Ellipse)base.FindName("elliplseSelect"); this.imageSelect = (Image)base.FindName("imageSelect"); this.gridCrop = (Grid)base.FindName("gridCrop"); this.gridCropLines = (Grid)base.FindName("gridCropLines"); this.gridFilters = (Grid)base.FindName("gridFilters"); this.scrollFilters = (ScrollViewer)base.FindName("scrollFilters"); this.rectChrome = (Rectangle)base.FindName("rectChrome"); this.stackPanelCrop = (StackPanel)base.FindName("stackPanelCrop"); this.stackPanelEffects = (StackPanel)base.FindName("stackPanelEffects"); this.sendPhotosButton = (Image)base.FindName("sendPhotosButton"); this.gridChooseThumbnail = (Grid)base.FindName("gridChooseThumbnail"); }