public AddEditEmployeeForm(ITrainingGroupsManager trainingGroupManager) { InitializeComponent(); tgm = trainingGroupManager; emp = new Employee(); updatePositionComboBoxDataSource(); }
public TrainingGroupsControl(ITrainingGroupsManager trainingGroupsManager) { InitializeComponent(); this.trainingGroupsManager = trainingGroupsManager; UpdateEmployeeDataGrid(); UpdateTrainingGroupDataGrid(); }
public AddEditEmployeeForm(ITrainingGroupsManager trainingGroupManager, Employee emp) { InitializeComponent(); this.emp = emp; isEdit = true; tgm = trainingGroupManager; updateFields(); }
public AddEditTrainingGroupForm(ITrainingGroupsManager tgm, TrainingGroup currGroup) { InitializeComponent(); isEdit = true; this.currGroup = currGroup; this.tgm = tgm; updateFields(); }
public AddEditTrainingGroupForm(ITrainingGroupsManager tgm) { InitializeComponent(); isEdit = false; this.tgm = tgm; currGroup = new TrainingGroup(); updateComboBoxDataSource(); }