示例#1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mPuzzle;component/ScoresPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.puzzlesListBox = ((System.Windows.Controls.ListBox)(this.FindName("puzzlesListBox")));
     this.header = ((System.Windows.Controls.Image)(this.FindName("header")));
     this.buttonSyncAll = ((System.Windows.Controls.Button)(this.FindName("buttonSyncAll")));
     this.nicknameDialog = ((mPuzzle.NicknameDialog)(this.FindName("nicknameDialog")));
     this.syncErrorDialog = ((mPuzzle.SyncErrorDialog)(this.FindName("syncErrorDialog")));
 }
示例#2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mPuzzle;component/ScoresPage.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.puzzlesListBox  = ((System.Windows.Controls.ListBox)(this.FindName("puzzlesListBox")));
     this.header          = ((System.Windows.Controls.Image)(this.FindName("header")));
     this.buttonSyncAll   = ((System.Windows.Controls.Button)(this.FindName("buttonSyncAll")));
     this.nicknameDialog  = ((mPuzzle.NicknameDialog)(this.FindName("nicknameDialog")));
     this.syncErrorDialog = ((mPuzzle.SyncErrorDialog)(this.FindName("syncErrorDialog")));
 }