public MainWindow() { m_controller = new Controller() ; DBModel model= new DBModel(m_controller); m_controller.SetModel(model); m_controller.SetView(this); InitializeComponent(); }
public void SetModel(DBModel model) { m_model = model; }