Esempio n. 1
0
        private void gestionDesMedecinsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Gestion_des_Medecins f = new Gestion_des_Medecins();

            f.MdiParent = this;
            f.Show();
        }
Esempio n. 2
0
 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (dataGridView1.CurrentCell.ColumnIndex == 3) 
     {
         string codem = dataGridView1.CurrentCell.Value.ToString(); 
         Gestion_des_Medecins f = new Gestion_des_Medecins();
         f.Show();
         
         f.textBox1.Text = codem; 
         f.button2.PerformClick();
        
         
     }
     
 }