Beispiel #1
0
 public void InitializeComponent()
 {
     if (this._contentLoaded)
     {
         return;
     }
     this._contentLoaded = true;
     Application.LoadComponent(this, new Uri("/VKClient.Common;component/UC/NewsSearchUC.xaml", UriKind.Relative));
     this.textBoxSearch          = (TextBox)base.FindName("textBoxSearch");
     this.textBlockWatermarkText = (TextBlock)base.FindName("textBlockWatermarkText");
     this.scrollNews             = (ViewportControl)base.FindName("scrollNews");
     this.stackPanel             = (MyVirtualizingStackPanel)base.FindName("stackPanel");
     this.panelNews       = (MyVirtualizingPanel2)base.FindName("panelNews");
     this.ucPullToRefresh = (PullToRefreshUC)base.FindName("ucPullToRefresh");
 }
Beispiel #2
0
 public void InitializeComponent()
 {
     if (this._contentLoaded)
     {
         return;
     }
     this._contentLoaded = true;
     Application.LoadComponent(this, new Uri("/VKClient.Common;component/UC/GameView.xaml", UriKind.Relative));
     this.gridRoot             = (Grid)base.FindName("gridRoot");
     this.borderBackground     = (Border)base.FindName("borderBackground");
     this.ViewportCtrl         = (ViewportControl)base.FindName("ViewportCtrl");
     this.borderBackgroundMock = (Border)base.FindName("borderBackgroundMock");
     this.ContentPanel         = (MyVirtualizingStackPanel)base.FindName("ContentPanel");
     this.HeaderContentPanel   = (StackPanel)base.FindName("HeaderContentPanel");
     this.Header         = (GameViewHeaderUC)base.FindName("Header");
     this.ucFooter       = (FooterUC)base.FindName("ucFooter");
     this.loadingBar     = (ProgressBar)base.FindName("loadingBar");
     this.ucGameRequests = (GameRequestsSectionItemUC)base.FindName("ucGameRequests");
     this.WallPanel      = (MyVirtualizingPanel2)base.FindName("WallPanel");
     this.HeaderSticky   = (GameViewHeaderUC)base.FindName("HeaderSticky");
     this.panelOverlay   = (Border)base.FindName("panelOverlay");
 }