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; }
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); }
public MainController(IMainView m_view, ISearchPartView searchPartView) { mode_ctrl = new ModeController(this, m_view, searchPartView); this.m_view = m_view; }