public void showRegisterMachineForm(int companyID) { Form_RegisterMachine f1 = new Form_RegisterMachine(); RegisterMachinePresenter FM = new RegisterMachinePresenter(f1); FM.setCompanyID(companyID); f1.ShowDialog(); presenter.updateView(); }
public void showJobsForm(int companyID) { this.Hide(); Form_RegisterJob f1 = new Form_RegisterJob(); RegisterJobPresenter FM = new RegisterJobPresenter(f1); FM.setCompanyID(companyID); FM.updateView(); f1.ShowDialog(); }