private void RemoveButton_Click(object sender, RoutedEventArgs e) { Globals.swapGridsVisibility(AddEditRemoveGrid, SaveCancelGrid); Globals.enableFields(EmployeesPropertiesGrid, true, IdComboBox); selectedButton = App.SelectedButton.Remove; Globals.setToToday(birthDatePicker); }
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); }
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); }
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); }