Ejemplo n.º 1
0
 private void DataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 6)
     {
         //MessageBox.Show($"Modification{e.ColumnIndex}");
         //MessageBox.Show(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());
         CompteCreeForm modifform = new CompteCreeForm(this, dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString());
         modifform.Show();
     }
 }
Ejemplo n.º 2
0
        private void button1_Click_2(object sender, EventArgs e)
        {
            CompteCreeForm creercomptef = new CompteCreeForm(this);

            creercomptef.Show();
        }