コード例 #1
0
 public void InitializeComponent()
 {
     if (this._contentLoaded)
     {
         return;
     }
     this._contentLoaded = true;
     Application.LoadComponent(this, new Uri("/VKClient.Photos;component/UC/CreateAlbumUC.xaml", UriKind.Relative));
     this.LayoutRoot = (Grid)base.FindName("LayoutRoot");
     this.ucPrivacyHeaderAlbumView = (PrivacyHeaderUC)base.FindName("ucPrivacyHeaderAlbumView");
 }
コード例 #2
0
 public void InitializeComponent()
 {
     if (this._contentLoaded)
     {
         return;
     }
     this._contentLoaded = true;
     Application.LoadComponent(this, new Uri("/VKClient.Video;component/VideoCatalog/CreateEditVideoAlbumUC.xaml", UriKind.Relative));
     this.LayoutRoot  = (Grid)base.FindName("LayoutRoot");
     this.ucHeader    = (GenericHeaderUC)base.FindName("ucHeader");
     this.textBoxName = (TextBox)base.FindName("textBoxName");
     this.ucPrivacyHeaderAlbumView = (PrivacyHeaderUC)base.FindName("ucPrivacyHeaderAlbumView");
 }
コード例 #3
0
 public void InitializeComponent()
 {
     if (this._contentLoaded)
     {
         return;
     }
     this._contentLoaded = true;
     Application.LoadComponent((object)this, new Uri("/VKClient.Video;component/AddEditVideoPage.xaml", UriKind.Relative));
     this.LayoutRoot             = (Grid)base.FindName("LayoutRoot");
     this.ucHeader               = (GenericHeaderUC)base.FindName("ucHeader");
     this.ContentPanel           = (Grid)base.FindName("ContentPanel");
     this.PreviewImage           = (Image)base.FindName("PreviewImage");
     this.ProgressUpload         = (ProgressBar)base.FindName("ProgressUpload");
     this.textBoxName            = (TextBox)base.FindName("textBoxName");
     this.textBoxDescription     = (TextBox)base.FindName("textBoxDescription");
     this.ucPrivacyHeaderView    = (PrivacyHeaderUC)base.FindName("ucPrivacyHeaderView");
     this.ucPrivacyHeaderComment = (PrivacyHeaderUC)base.FindName("ucPrivacyHeaderComment");
 }