private void btdedomages_Click(object sender, EventArgs e)
 {
     vider();
     Dedomages.afficherdedomages();
     dataGridView1.DataSource = Dedomages.tablesdedomages;
     btdedomages.BackColor    = Color.LightSteelBlue;
     btfactures.BackColor     = Color.Transparent;
     btclients.BackColor      = Color.Transparent;
     btvetements.BackColor    = Color.Transparent;
     radioButton1.Text        = "Date";
     radioButton2.Text        = "Beneficiare";
     radioButton3.Hide();
     cbquartier.Hide();
     bttrier.Location = new Point(451, 37);
 }
 private void btdedomages_Click(object sender, EventArgs e)
 {
     vider();
     gpmodifierclient.Hide();
     gpdatagrid1.Size   = new Size(700, 307);
     dataGridView1.Size = new Size(690, 293);
     Dedomages.afficherdedomages();
     dataGridView1.DataSource = Dedomages.tablesdedomages;
     txtidvet.DataBindings.Clear();
     txtidvet.DataBindings.Add("Text", Dedomages.tablesdedomages, "code_d");
     btdedomages.BackColor   = Color.LightSteelBlue;
     btfactures.BackColor    = Color.Transparent;
     btclients.BackColor     = Color.Transparent;
     btvetements.BackColor   = Color.Transparent;
     btajouterclientele.Text = "Ajouter";
     radioButton1.Text       = "Date";
     radioButton2.Text       = "Beneficiare";
     radioButton3.Hide();
     cbquartier.Hide();
     bttrier.Location = new Point(451, 37);
 }