Beispiel #1
0
 public SearchPartMode(IMainController mainController, ISearchPartView searchPart_view, IModeController mode_ctrl)
     : base(new SearchPartModeInfo())
 {
     this.m_ctrl = mainController;
     this.searchPart_view = searchPart_view;
     this.mode_ctrl = mode_ctrl;
 }
Beispiel #2
0
 public ModeController(IMainController mainController, IMainView m_view, ISearchPartView searchPartView)
 {
     this.m_view = m_view;
     this.mode_scan = new ScanMode(mainController, m_view, this, searchPartView);
     this.mode_selectItem = new SelectItemMode(mainController, m_view, this);
     this.mode_payment = new PaymentMode(mainController, m_view, this);
     this.mode_searchPartByGroup = new SearchPartMode(mainController, searchPartView, this);
     this.mode_endTransaction = new EndTransactionMode(mainController, m_view, this);
 }
Beispiel #3
0
 public MainController(IMainView m_view, ISearchPartView searchPartView)
 {
     mode_ctrl = new ModeController(this, m_view, searchPartView);
     this.m_view = m_view;
 }