Esempio n. 1
0
        public C2iWndReference Select2iWndReference(C2iWndReference wndRef)
        {
            C2iWndReference retour = CFormSelect2iWndReference.SelectForm(wndRef);

            if (retour == null)
            {
                return(wndRef);
            }
            return(retour);
        }
Esempio n. 2
0
 //----------------------------------------------
 public static C2iWndReference SelectForm(C2iWndReference wndRef)
 {
     using (CFormSelect2iWndReference frm = new CFormSelect2iWndReference())
     {
         frm.m_wndRef = wndRef;
         if (frm.ShowDialog() == DialogResult.OK)
         {
             return(frm.m_wndRef);
         }
         return(null);
     }
 }