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