Exemple #1
0
        public static void ModificationDegeler(CGel gel, EventHandler onDegelerEventHandler)
        {
            CFormGelerIntervention form = new CFormGelerIntervention();

            form.m_handlerOnGeler = onDegelerEventHandler;
            form.m_gel            = gel;
            form.m_bModeGeler     = false;
            form.m_bModif         = true;
            form.Show();
        }
Exemple #2
0
        //-------------------------------------------
        public static void Geler(IElementGelable eltGelable, EventHandler onGelerEventHandler)
        {
            CFormGelerIntervention form = new CFormGelerIntervention();

            form.m_elementGelable = eltGelable;
            form.m_handlerOnGeler = onGelerEventHandler;
            form.m_bModeGeler     = true;
            form.m_bModif         = false;
            form.Show();
        }
Exemple #3
0
        //-------------------------------------------
        public static void Degeler(IElementGelable eltGelable, EventHandler onDegelerEventHandler)
        {
            CFormGelerIntervention form = new CFormGelerIntervention();

            form.m_elementGelable = eltGelable;
            form.m_gel            = (CGel)eltGelable.Gels[eltGelable.Gels.Count - 1];
            form.m_handlerOnGeler = onDegelerEventHandler;
            form.m_bModeGeler     = false;
            form.m_bModif         = false;
            form.Show();
        }
Exemple #4
0
 //--------------------------------------------------------
 private void m_lnkEndDate_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     CFormGelerIntervention.ModificationDegeler((CGel)m_wndListeGels.SelectedItems[0], new EventHandler(OnChangeGel));
 }
Exemple #5
0
 //--------------------------------------------------------
 private void m_lnkDegeler_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     CFormGelerIntervention.Degeler(m_elementGelable, new EventHandler(OnChangeGel));
 }