//---------------------------------------------------------------
 public static void ShowPhase(CPhaseSpecifications phase)
 {
     if (phase != null && !phase.IsNew())
     {
         CFormPhaseSpecificationsPopup frm = new CFormPhaseSpecificationsPopup();
         phase       = phase.GetObjetInContexte(sc2i.win32.data.CSc2iWin32DataClient.ContexteCourant) as CPhaseSpecifications;
         frm.m_phase = phase;
         frm.Text    = phase.Libelle;
         frm.Show();
     }
 }
Example #2
0
 //--------------------------------------------------
 private void m_picExtraireListe_Click(object sender, EventArgs e)
 {
     CFormPhaseSpecificationsPopup.ShowPhase(m_phaseSpecifications);
 }