public void onStart(object sender, StartupEventArgs e) { controler c = new controler(); model m = new model(c); MainWindow main = new MainWindow(c); c.setModel(m); c.setView(main); }
public void setModel(model model) { m = model; }