Ejemplo n.º 1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     EventControl.LoadData();
     TaskBarControl.StartTaskBar();
     PanelPages.Content = new Main();
     ControlSignal.Start();
 }
Ejemplo n.º 2
0
 private void ClosingAssistant(object sender, System.ComponentModel.CancelEventArgs e)
 {
     if (!TaskBarData.taskbar.Visible)
     {
         e.Cancel = true;
         TaskBarData.taskbar.Visible = true;
         this.Visibility             = Visibility.Hidden;
     }
     else
     {
         ControlSignal.Stop();
         ControlThreads.Clear();
     }
 }