예제 #1
0
 public MainWindow()
 {
     m_controller = new Controller() ;
     DBModel model= new DBModel(m_controller);
     m_controller.SetModel(model);
     m_controller.SetView(this);
     InitializeComponent();
 }
예제 #2
0
 public void SetModel(DBModel model)
 {
     m_model = model;
 }