コード例 #1
0
 private void RemoveButton_Click(object sender, RoutedEventArgs e)
 {
     Globals.swapGridsVisibility(AddEditRemoveGrid, SaveCancelGrid);
     Globals.enableFields(EmployeesPropertiesGrid, true, IdComboBox);
     selectedButton = App.SelectedButton.Remove;
     Globals.setToToday(birthDatePicker);
 }
コード例 #2
0
 private void EditButton_Click(object sender, RoutedEventArgs e)
 {
     Globals.swapGridsVisibility(AddEditRemoveGrid, SaveCancelGrid);
     Globals.enableFields(EmployersPropertiesGrid, false, null, true);
     selectedButton = App.SelectedButton.Edit;
     Globals.setToToday(setupDateDatePicker);
 }
コード例 #3
0
 private void EditButton_Click(object sender, RoutedEventArgs e)
 {
     Globals.swapGridsVisibility(AddEditRemoveGrid, SaveCancelGrid);
     Globals.enableFields(EmployeesPropertiesGrid, false, null, true, bankNumberTextBox, bankAddressTextBox);
     selectedButton = App.SelectedButton.Edit;
     Globals.setToToday(birthDatePicker);
 }
コード例 #4
0
 private void EditButton_Click(object sender, RoutedEventArgs e)
 {
     Globals.swapGridsVisibility(AddEditRemoveGrid, SaveCancelGrid);
     Globals.enableFields(ContractsPropertiesGrids, false, null, true, netW_ageForHourTextBox);
     selectedButton = App.SelectedButton.Edit;
     Globals.setToToday(contractEstablishedDateDatePicker);
     Globals.setToToday(terminateDateDatePicker);
 }