public MainWindow(Controller c) { this.controller = c; this.DataContext = controller; InitializeComponent(); //ResetCanvas(); }
private void Application_Startup(object sender, StartupEventArgs e) { Controller c = new Controller(); c.Launch(); }