Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mPuzzle;component/ChooseDifficultyPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.puzzleThumbnail = ((System.Windows.Controls.Image)(this.FindName("puzzleThumbnail")));
     this.yourResults = ((mPuzzle.ResultsTable)(this.FindName("yourResults")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.button2 = ((System.Windows.Controls.Button)(this.FindName("button2")));
     this.button3 = ((System.Windows.Controls.Button)(this.FindName("button3")));
     this.button4 = ((System.Windows.Controls.Button)(this.FindName("button4")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/mPuzzle;component/ChooseDifficultyPage.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.puzzleThumbnail = ((System.Windows.Controls.Image)(this.FindName("puzzleThumbnail")));
     this.yourResults     = ((mPuzzle.ResultsTable)(this.FindName("yourResults")));
     this.button1         = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.button2         = ((System.Windows.Controls.Button)(this.FindName("button2")));
     this.button3         = ((System.Windows.Controls.Button)(this.FindName("button3")));
     this.button4         = ((System.Windows.Controls.Button)(this.FindName("button4")));
 }