예제 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ResourceFramework;component/UserControls/Menus/ChooseSideScreen.xaml", System.UriKind.Relative));
     this.canvasChooseSideScreen = ((System.Windows.Controls.Canvas)(this.FindName("canvasChooseSideScreen")));
     this.BackgroundImage        = ((System.Windows.Controls.Image)(this.FindName("BackgroundImage")));
     this.npcME     = ((System.Windows.Controls.Canvas)(this.FindName("npcME")));
     this.npcKraker = ((System.Windows.Controls.Canvas)(this.FindName("npcKraker")));
     this.SignPost  = ((ResourceFramework.UserControls.Additional.SignPost)(this.FindName("SignPost")));
 }
예제 #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ResourceFramework;component/UserControls/Menus/CreditsScreen.xaml", System.UriKind.Relative));
     this.canvasCreditsScreen = ((System.Windows.Controls.Canvas)(this.FindName("canvasCreditsScreen")));
     this.BackgroundImage     = ((System.Windows.Controls.Image)(this.FindName("BackgroundImage")));
     this.stckGrid            = ((System.Windows.Controls.Grid)(this.FindName("stckGrid")));
     this.creditsHolder       = ((ResourceFramework.UserControls.Additional.CreditHolder)(this.FindName("creditsHolder")));
     this.SignPost            = ((ResourceFramework.UserControls.Additional.SignPost)(this.FindName("SignPost")));
 }
예제 #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ResourceFramework;component/UserControls/Menus/EndScreen.xaml", System.UriKind.Relative));
     this.canvasMainScreen     = ((System.Windows.Controls.Canvas)(this.FindName("canvasMainScreen")));
     this.CanvasScale          = ((System.Windows.Media.ScaleTransform)(this.FindName("CanvasScale")));
     this.BackGroundImage      = ((System.Windows.Controls.Image)(this.FindName("BackGroundImage")));
     this.txtTotalPoints       = ((System.Windows.Controls.TextBlock)(this.FindName("txtTotalPoints")));
     this.SignPost             = ((ResourceFramework.UserControls.Additional.SignPost)(this.FindName("SignPost")));
     this.imgHighscoresPressed = ((System.Windows.Controls.Image)(this.FindName("imgHighscoresPressed")));
 }
예제 #4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ResourceFramework;component/UserControls/Menus/HighScoresScreen.xaml", System.UriKind.Relative));
     this.canvasHighScoresScreen = ((System.Windows.Controls.Canvas)(this.FindName("canvasHighScoresScreen")));
     this.BackgroundImage        = ((System.Windows.Controls.Image)(this.FindName("BackgroundImage")));
     this.scoresGrid             = ((System.Windows.Controls.Grid)(this.FindName("scoresGrid")));
     this.lstTo5   = ((System.Windows.Controls.ListBox)(this.FindName("lstTo5")));
     this.lstTo10  = ((System.Windows.Controls.ListBox)(this.FindName("lstTo10")));
     this.SignPost = ((ResourceFramework.UserControls.Additional.SignPost)(this.FindName("SignPost")));
 }
예제 #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ResourceFramework;component/UserControls/Menus/HelpScreen.xaml", System.UriKind.Relative));
     this.btnResource     = ((System.Windows.ResourceDictionary)(this.FindName("btnResource")));
     this.canvasHelpMenu  = ((System.Windows.Controls.Canvas)(this.FindName("canvasHelpMenu")));
     this.BackgroundImage = ((System.Windows.Controls.Image)(this.FindName("BackgroundImage")));
     this.txtKeyName      = ((System.Windows.Controls.TextBlock)(this.FindName("txtKeyName")));
     this.cnvsMe          = ((System.Windows.Controls.Canvas)(this.FindName("cnvsMe")));
     this.btnGrid         = ((System.Windows.Controls.Grid)(this.FindName("btnGrid")));
     this.SignPost        = ((ResourceFramework.UserControls.Additional.SignPost)(this.FindName("SignPost")));
 }