//------------------------------------------------------------------------- public static bool EditeElement(CElementMultiStructureExport element, CMultiStructureExport multiStructure) { CFormEditeElementDeMultiStructure form = new CFormEditeElementDeMultiStructure(); form.m_multiStructure = multiStructure; form.m_element = element; form.InitChamps(); bool bResult = form.ShowDialog( ) == DialogResult.OK; form.Dispose(); return(bResult); }
//-------------------------------------------------------------------------------- public static bool EditeElementQuery(CElementMultiStructureExport elt, bool bWithHeader) { CFormEditJeuDeDonneesEasyQuery form = new CFormEditJeuDeDonneesEasyQuery(); form.m_panelHeader.Visible = bWithHeader; form.m_elementDeMultiStructure = elt; bool bResult = false; if (form.ShowDialog() == DialogResult.OK) { bResult = true; } form.Dispose(); return(bResult); }
//-------------------------------------------------------------------------------- public static bool EditeElementQuery(CElementMultiStructureExport elt) { return(EditeElementQuery(elt, true)); }