Beispiel #1
0
 public MainPage()
 {
     this.InitializeComponent();
     Application.Current.Resuming += new EventHandler <Object>(App_Resuming);
     MyFrame.Navigate(typeof(PageEstado));
     Estado.IsSelected   = true;
     TitleTextBlock.Text = "Estado del Sistema";
     Configuraciones.CargarAjustes();
     if (App.arduinoConectado)
     {
         StatConexion.Foreground = new SolidColorBrush(Windows.UI.Colors.Green);
     }
     else
     {
         StatConexion.Foreground = new SolidColorBrush(Windows.UI.Colors.Red);
     }
 }