Ejemplo n.º 1
0
 public LauncherController(ILauncherWindow launcherWindow, Configuration config)
 {
     App.Logger.Log("Trace", "LauncherController::ctor");
     _window = launcherWindow;
     _window.window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     _window.window.Loaded += Window_Loaded;
     _config = config;
 }
Ejemplo n.º 2
0
 public void RunCommand(ILauncherWindow parent)
 {
     if (this.IsChecked)
     {
         _context.TransformerPipeline = _default;
     }
     else
     {
         _default = _context.TransformerPipeline;
         _context.TransformerPipeline = EmptyTransformerPipeline.Instance;
     }
 }