public static DialogResult AfficherDialog(List <I2iObjetGraphique> objs)
        {
            CFormDeleteIElementDeProjet frm = new CFormDeleteIElementDeProjet();

            frm.Init(objs);
            CWin32Traducteur.Translate(frm);
            return(frm.ShowDialog());
        }
Exemple #2
0
 private bool m_controlEdition_BeforeDeleteElement(List <I2iObjetGraphique> objs)
 {
     if (LockEdition)
     {
         return(false);
     }
     if (!objs.TrueForAll(ObjetGraphiqueIsLien))
     {
         if (CFormDeleteIElementDeProjet.AfficherDialog(objs) != DialogResult.OK)
         {
             return(false);
         }
     }
     return(true);
 }