Inheritance: MahApps.Metro.Controls.MetroWindow
Esempio n. 1
0
 public MainViewModel(IBackend gallifrey, MainWindow mainWindow)
 {
     Gallifrey = gallifrey;
     MainWindow = mainWindow;
     TimerDates = new ObservableCollection<TimerDateModel>();
     runningWatcher = new Timer(1000);
     runningWatcher.Elapsed += runningWatcherElapsed;
     Gallifrey.VersionControl.PropertyChanged += VersionControlPropertyChanged;
 }
Esempio n. 2
0
 public static void Run(InstanceType instance, AppType appType)
 {
     var mainWindow = new MainWindow(instance, appType);
     mainWindow.Show();
 }
Esempio n. 3
0
 public static void Run(InstanceType instance, ResourceDictionary resources)
 {
     WalkDictionary(resources);
     var mainWindow = new MainWindow(instance);
     mainWindow.Show();
 }