Beispiel #1
0
        private void stagesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GestionStage GestionS = new GestionStage();

            GestionS.conn = conn;
            if (GestionS.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                MettreAJour();
                UpdateDGV();
            }
        }
        private void TSMI_CreerStage_Click(object sender, EventArgs e)
        {
            GestionStage f = new GestionStage();

            f.conn = conn;
            try
            {
                //// cast pas valid/////
                f.NumEnt = DGV_GestionEnt.SelectedRows[0].Cells[0].Value.ToString();
            }
            catch (Exception ex) { MessageBox.Show(ex.Message); };
            f.ShowDialog();
        }