Exemplo n.º 1
0
 private void dataGridEmploye_SelectionChanged(object sender, EventArgs e)
 {
     btnSupprimer.Enabled           = fonction.SiActiveButtonPourPlusieursSelections(dataGridEmploye);
     btnEditerEmploye.Enabled       = fonction.SiActiveButtonPourUneSelection(dataGridEmploye);
     btnEditerCompteEmploye.Enabled = fonction.SiActiveButtonPourUneSelection(dataGridEmploye);
     btnInformationEmploye.Enabled  = fonction.SiActiveButtonPourUneSelection(dataGridEmploye);
 }
Exemplo n.º 2
0
 private void dataGridPays_SelectionChanged(object sender, EventArgs e)
 {
     btnSupprimer.Enabled   = fonction.SiActiveButtonPourPlusieursSelections(dataGridPays);
     btnModifier.Enabled    = fonction.SiActiveButtonPourUneSelection(dataGridPays);
     btnInformation.Enabled = fonction.SiActiveButtonPourUneSelection(dataGridPays);
 }