Exemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     this.Title = "CSGO Optimiser";
     curVersion = new Version(0,3,1);
     backupController = new BackupController();
     versionController = new VersionController();
     optimisation = new Optimisation(backupController);
     backup = new Backup(backupController);
     about = new About(curVersion);
     optimisationUserControl.Content = optimisation;
     backupUserControl.Content = backup;
     aboutUserControl.Content = about;
     versionCheck();
 }
Exemplo n.º 2
0
 public Optimisation(BackupController bkController)
 {
     InitializeComponent();
     optimiseController = new OptimiseController();
     profileController = new ProfileController();
     backupController = bkController;
     profilesComboBox.ItemsSource = profileController.GetProfiles();
     foreach (IProfile p in profileController.GetProfiles())
     {
         if (p.Name == "Recommended")
         {
             profilesComboBox.SelectedItem = p;
             break;
         }
     }
 }
Exemplo n.º 3
0
 public Backup(BackupController bkController)
 {
     InitializeComponent();
     backupController = bkController;
     updateGUI();
 }