예제 #1
0
 //Ovo takodje menjao
 public Controller(/*IModel model,*/ IModel2 modelImage, IModel2 modelSound, IView view)
 {
     //m_model = model;
     m_model_image = modelImage;
     m_model_sound = modelSound;
     m_view        = view;
     m_view.AddListener(this);
 }
예제 #2
0
 public JornalPresenter()
 {
     _view = new JornalView();
     _view.AddListener(ChoiceHandler);
 }
예제 #3
0
 public JornalStorageMenuPresenter()
 {
     _view = new JornalStorageMenuView();
     _view.SetData(_storage);
     _view.AddListener(ChoiceHandler);
 }
예제 #4
0
 public NewsPaperStorageMenuPresenter()
 {
     _view = new NewsPaperStorageMenuView();
     _view.SetData(_storage);
     _view.AddListener(ChoiceHandler);
 }
예제 #5
0
 public TestController(IModel m, IView v)
 {
     myView  = v;
     myModel = m;
     v.AddListener(this);
 }
예제 #6
0
 public MainMenuPresenter()
 {
     _view = new MainMenuView();
     _view.AddListener(ChoiceHandler);
 }
예제 #7
0
 public NewsPaperPresenter()
 {
     _view = new NewsPaperView();
     _view.AddListener(ChoiceHandler);
 }
예제 #8
0
 public BookPresenter()
 {
     _view = new BookView();
     _view.AddListener(ChoiceHandler);
 }
예제 #9
0
 public Controller(IView view)
 {
     _view = view;
     _view.AddListener(this);
 }