//----------------------------------------------------------------------------------------------------- private void m_menuEditAffectations_Click(object sender, EventArgs e) { CEtapeWorkflow etape = EtapeSelectionnee; if (etape != null) { CFormEditeAffectationsEtape.EditeAffectations(etape); } }
//--------------------------------------------------------------------- public static bool EditeAffectations(CEtapeWorkflow etape) { CFormEditeAffectationsEtape form = new CFormEditeAffectationsEtape(); form.m_etape = etape; bool bOk = form.ShowDialog() == DialogResult.OK; form.Dispose(); return(bOk); }