Example #1
0
 // Adding this override in order to inject a view factory
 // into a MainWindow constructor overload.
 protected override void OnStartup(StartupEventArgs supArgs)
 {
     base.OnStartup(supArgs);
     MainWindow = new WcController(supArgs.Args, new WcViewFactory());
     MainWindow.Show();
 }
Example #2
0
 public WcView(WcController controller, WcModelBind modelBind)
 {
     this.controller = controller;
     this.modelBind  = modelBind;
 }
Example #3
0
 public void Create(WcController controller, WcModelBind modelBind)
 {
     var _ = new WcView(controller, modelBind);
 }