Пример #1
0
        public MainWindow(Controller c)
        {
            this.controller = c;
            this.DataContext = controller;
            InitializeComponent();

            //ResetCanvas();
        }
Пример #2
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     Controller c = new Controller();
      c.Launch();
 }