public Step3(Setup setup) : base(setup) { CanGoForward = false; setup.InstallationPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "GamerJail"); }
public MainViewModel() { _setup = new Setup(); _views = new List<View> { new WelcomeView(_setup), new Step1(_setup), new Step2(_setup), new Step3(_setup) }; CurrentView = _views.First(); _views.ForEach(view => view.GoForwardChanged += (sender, args) => RefreshCanGoForward()); RefreshCanGoForward(); }
public Finished(Setup config) : base(config) { }
public Step2(Setup setup) : base(setup) { setup.Config.TimeSpan.FromTime = 0; setup.Config.TimeSpan.ToTime = 24; }
protected View(Setup config) { Setup = config; }
public WelcomeView(Setup setup) : base(setup) { }
public Installation(Setup config) : base(config) { }
public Step1(Setup setup) : base(setup) { }