Exemple #1
0
        public VsSystemInfo()
        {
            InitializeComponent();

            try
            {
                sd = new VsSystemData();

                UpdateData();

                timer            = new Timer();
                timer.Interval   = 1000;
                this.timer.Tick += new System.EventHandler(this.timer_Tick);
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);
            }
        }
Exemple #2
0
        public VsSystemInfo()
        {
            InitializeComponent();

            try
            {
                sd = new VsSystemData();

                UpdateData();

                timer = new Timer();
                timer.Interval = 1000;
                this.timer.Tick += new System.EventHandler(this.timer_Tick);
            }
            catch (Exception err)
            {
                logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace);
            }
        }