public PosRestaurantSideForm(PosCustomerSideModel model)
 {
     InitializeComponent();
     _model = model;
     _model._mealChanged += UpdateViewInformation;
     _presentationModel   = new RestaurantFromPresentationModel(_model);
     InitialComponent();
 }
Esempio n. 2
0
 public PosCustomerSideForm(PosCustomerSideModel model)
 {
     _model = model;
     _model._mealChanged      += UpdateMealInformation;
     _bindingSource.DataSource = _model.GetOrderMealList();
     _presentationModel        = new CustomerFormPresentationModel(_model);
     Load += new System.EventHandler(this.LoadPosCustomerSideForm);
     InitializeComponent();
 }
Esempio n. 3
0
 public RestaurantFromPresentationModel(PosCustomerSideModel model)
 {
     _model = model;
 }
Esempio n. 4
0
 public StartUpForm(PosCustomerSideModel model)
 {
     InitializeComponent();
     _model            = model;
     _customerSideForm = new PosCustomerSideForm(_model);
 }
 public CustomerFormPresentationModel(PosCustomerSideModel model)
 {
     _model = model;
     ResetPage();
 }