public DefusalPageModel(DefusalPage page) : base(page.window) { Page = page; OutputVisibility = Visibility.Hidden; ModuleFrameRowSpan = 2; RebuildCollection(); }
public PageManager(MainWindow window) { Window = window; MainPage = new MainPage(window); DefusalPage = new DefusalPage(window); SetupPage = new SetupPage(window); CreditsPage = new CreditsPage(window); SettingsPage = new SettingsPage(window); }
private void ModuleData_SolutionChangedEvent(object sender, SolutionChangedEventArgs <int> args) { DefusalPage.SetOutput(string.Format("Cut wire {0}", args.CurrentSolution)); }