示例#1
0
 private void btnModifier_Click(object sender, EventArgs e)
 {
     if (dataGridViewa.SelectedRows.Count > 0)
     {
         for (int i = 0; i < dataGridViewa.SelectedRows.Count; i++)
         {
             Form f = new FrmAchat
                      (
                 dataGridViewa.SelectedRows[i].DataBoundItem as Achat,
                 loadData
                      );
             f.ShowDialog();
         }
     }
 }
示例#2
0
        private void butnouveau_Click(object sender, EventArgs e)
        {
            FrmAchat n = new FrmAchat();

            n.Show();
        }