Exemplo n.º 1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WPCandle;component/MainPage.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.No_Info         = ((System.Windows.VisualState)(this.FindName("No_Info")));
     this.Info            = ((System.Windows.VisualState)(this.FindName("Info")));
     this.LandStates      = ((System.Windows.VisualStateGroup)(this.FindName("LandStates")));
     this.LandscapeState  = ((System.Windows.VisualState)(this.FindName("LandscapeState")));
     this.PortraitState   = ((System.Windows.VisualState)(this.FindName("PortraitState")));
     this.TitlePanel      = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.Scene           = ((System.Windows.Controls.Grid)(this.FindName("Scene")));
     this.Floor           = ((System.Windows.Shapes.Rectangle)(this.FindName("Floor")));
     this.Bg              = ((System.Windows.Shapes.Rectangle)(this.FindName("Bg")));
     this.viewbox         = ((System.Windows.Controls.Viewbox)(this.FindName("viewbox")));
     this.grid            = ((System.Windows.Controls.Grid)(this.FindName("grid")));
     this.Scene_Bg        = ((System.Windows.Controls.Grid)(this.FindName("Scene_Bg")));
     this.MainCandle      = ((WPCandle.IndividualCandleControl)(this.FindName("MainCandle")));
     this.Scene_Fg        = ((System.Windows.Controls.Grid)(this.FindName("Scene_Fg")));
     this.InfoGrid        = ((System.Windows.Controls.Grid)(this.FindName("InfoGrid")));
     this.stackPanel      = ((System.Windows.Controls.Grid)(this.FindName("stackPanel")));
     this.ExitButton_Copy = ((System.Windows.Controls.Button)(this.FindName("ExitButton_Copy")));
     this.ExitButton      = ((System.Windows.Controls.Button)(this.FindName("ExitButton")));
     this.DebugTextBlock  = ((System.Windows.Controls.TextBlock)(this.FindName("DebugTextBlock")));
     this.InfoButton_Copy = ((System.Windows.Controls.Button)(this.FindName("InfoButton_Copy")));
     this.InfoButton      = ((System.Windows.Controls.Button)(this.FindName("InfoButton")));
 }
Exemplo n.º 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WPCandle;component/MainPage.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.No_Info = ((System.Windows.VisualState)(this.FindName("No_Info")));
     this.Info = ((System.Windows.VisualState)(this.FindName("Info")));
     this.LandStates = ((System.Windows.VisualStateGroup)(this.FindName("LandStates")));
     this.LandscapeState = ((System.Windows.VisualState)(this.FindName("LandscapeState")));
     this.PortraitState = ((System.Windows.VisualState)(this.FindName("PortraitState")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.Scene = ((System.Windows.Controls.Grid)(this.FindName("Scene")));
     this.Floor = ((System.Windows.Shapes.Rectangle)(this.FindName("Floor")));
     this.Bg = ((System.Windows.Shapes.Rectangle)(this.FindName("Bg")));
     this.viewbox = ((System.Windows.Controls.Viewbox)(this.FindName("viewbox")));
     this.grid = ((System.Windows.Controls.Grid)(this.FindName("grid")));
     this.Scene_Bg = ((System.Windows.Controls.Grid)(this.FindName("Scene_Bg")));
     this.MainCandle = ((WPCandle.IndividualCandleControl)(this.FindName("MainCandle")));
     this.Scene_Fg = ((System.Windows.Controls.Grid)(this.FindName("Scene_Fg")));
     this.InfoGrid = ((System.Windows.Controls.Grid)(this.FindName("InfoGrid")));
     this.stackPanel = ((System.Windows.Controls.Grid)(this.FindName("stackPanel")));
     this.ExitButton_Copy = ((System.Windows.Controls.Button)(this.FindName("ExitButton_Copy")));
     this.ExitButton = ((System.Windows.Controls.Button)(this.FindName("ExitButton")));
     this.DebugTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("DebugTextBlock")));
     this.InfoButton_Copy = ((System.Windows.Controls.Button)(this.FindName("InfoButton_Copy")));
     this.InfoButton = ((System.Windows.Controls.Button)(this.FindName("InfoButton")));
 }