Example #1
0
        private void InitDepuisParametresSNMP()
        {
            try
            {
                string strParam =
                    CSpvParamSysteme.GetParametreSysteme(CSpvParamSysteme.c_parametreSNMP_TIMEOUT);
                if (strParam != "")
                {
                    TimeOut = Convert.ToInt32(strParam);
                }

                strParam = CSpvParamSysteme.GetParametreSysteme(CSpvParamSysteme.c_parametreSNMP_RETRY);
                if (strParam != "")
                {
                    NbRetry = Convert.ToInt32(strParam);
                }
            }
            catch
            {
            }
        }
 //-------------------------------------------------------------------------
 public CFormEditionParamSysteme(CSpvParamSysteme param, CListeObjetsDonnees liste)
     : base(param, liste)
 {
     // Cet appel est requis par le Concepteur Windows Form.
     InitializeComponent();
 }
 //-------------------------------------------------------------------------
 public CFormEditionParamSysteme(CSpvParamSysteme param)
     : base(param)
 {
     // Cet appel est requis par le Concepteur Windows Form.
     InitializeComponent();
 }