예제 #1
0
 private void buttonLogin_Click(object sender, RoutedEventArgs e)
 {
     Switcher.Switch(new Pages.LoginPage(), Role.Login);
 }
예제 #2
0
 private void buttonAlarms_Click(object sender, RoutedEventArgs e)
 {
     Switcher.Switch(new Pages.AlarmPage(), Role.Alarm);
 }
예제 #3
0
 public MainWindow()
 {
     InitializeComponent();
     Switcher.mainWindow = this;
     Switcher.Switch(new Pages.LoginPage(), Role.Login);
 }