コード例 #1
0
 public DefusalPageModel(DefusalPage page) : base(page.window)
 {
     Page               = page;
     OutputVisibility   = Visibility.Hidden;
     ModuleFrameRowSpan = 2;
     RebuildCollection();
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 private void ModuleData_SolutionChangedEvent(object sender, SolutionChangedEventArgs <int> args)
 {
     DefusalPage.SetOutput(string.Format("Cut wire {0}", args.CurrentSolution));
 }