コード例 #1
0
 public AddEditEmployeeForm(ITrainingGroupsManager trainingGroupManager)
 {
     InitializeComponent();
     tgm = trainingGroupManager;
     emp = new Employee();
     updatePositionComboBoxDataSource();
 }
コード例 #2
0
 public TrainingGroupsControl(ITrainingGroupsManager trainingGroupsManager)
 {
     InitializeComponent();
     this.trainingGroupsManager = trainingGroupsManager;
     UpdateEmployeeDataGrid();
     UpdateTrainingGroupDataGrid();
 }
コード例 #3
0
 public AddEditEmployeeForm(ITrainingGroupsManager trainingGroupManager, Employee emp)
 {
     InitializeComponent();
     this.emp = emp;
     isEdit   = true;
     tgm      = trainingGroupManager;
     updateFields();
 }
コード例 #4
0
 public AddEditTrainingGroupForm(ITrainingGroupsManager tgm, TrainingGroup currGroup)
 {
     InitializeComponent();
     isEdit         = true;
     this.currGroup = currGroup;
     this.tgm       = tgm;
     updateFields();
 }
コード例 #5
0
 public AddEditTrainingGroupForm(ITrainingGroupsManager tgm)
 {
     InitializeComponent();
     isEdit    = false;
     this.tgm  = tgm;
     currGroup = new TrainingGroup();
     updateComboBoxDataSource();
 }