Exemplo n.º 1
0
 private void frm_Loading_Load(object sender, EventArgs e)
 {
     ExtensionHelper.GetInstance();
     _timer.Tick    += _timer_Tick;
     _timer.Interval = 3000;
     _timer.Enabled  = true;
     _timer.Start();
 }
Exemplo n.º 2
0
        public static ExtensionHelper GetInstance()
        {
            lock (locker)
            {
                if (_instance == null)
                {
                    _instance = new ExtensionHelper();
                }

                return(_instance);
            }
        }