Beispiel #1
0
        void btn_afficher_Click(object sender, EventArgs e)
        {
            CHM_FRM_EQP f = new CHM_FRM_EQP(bsListe);

            f.pClient.Enabled             = false;
            f.pEqp.Enabled                = false;
            f.chM_CMP_FICHE1.Visible      = true;
            f.chM_CMP_VALIDATION1.Visible = false;

            f.StartPosition = FormStartPosition.CenterScreen;
            f.ShowDialog();
        }
Beispiel #2
0
        void btn_ajout_Click(object sender, EventArgs e)
        {
            CHM_FRM_EQP f = new CHM_FRM_EQP();

            f.pClient.Enabled             = true;
            f.pEqp.Enabled                = true;
            f.chM_CMP_FICHE1.Visible      = false;
            f.chM_CMP_VALIDATION1.Visible = true;
            f.OnMaj        += new CHM_FRM_EQP.Equipement(f_OnMaj);
            f.StartPosition = FormStartPosition.CenterScreen;
            f.ShowDialog();
        }