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