Beispiel #1
0
 public StartUpForm(StartUpFormPresentationModel model)
 {
     InitializeComponent();
     this._startUpFormPresentationModel = model;
     _buttonStartCustomerProgram.DataBindings.Add(ENABLED, _startUpFormPresentationModel, "IsCustomerSideOpened");
     _buttonStartRestaurantProgram.DataBindings.Add(ENABLED, _startUpFormPresentationModel, "IsRestaurantSideOpened");
 }
Beispiel #2
0
 public PosRestaurantSideForm(PosRestaurantSidePresentationModel presentationModel, Model model
                              , StartUpFormPresentationModel startUpModel)
 {
     this._posRestaurantSidePresentationModel = presentationModel;
     this._startUpFormPresentationModel       = startUpModel;
     this._model = model;
     InitializeComponent();
     InitializeOpenFileDialogue();
     BindData();
 }