Exemple #1
0
        //--------------------------------------------------------------
        public static bool EditeEquipement(CReleveEquipement releve)
        {
            CFormCreerEquipement frm = new CFormCreerEquipement();

            frm.m_releveEqpt = releve;
            DialogResult res = frm.ShowDialog();

            frm.Dispose();
            return(res == DialogResult.OK);
        }
Exemple #2
0
        private void m_btnAdd_Click(object sender, EventArgs e)
        {
            CReleveEquipement relEq = CFormCreerEquipement.CreateEquipement(
                m_releve,
                null);

            if (relEq != null)
            {
                m_panelEquipements.AddChildren(relEq, null);
            }
        }