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