private void FormMain_Load(object sender, EventArgs e) { new Thread(() => { Thread.CurrentThread.IsBackground = true; FileUpdateHandler.UpdateQuickAccess(this); }).Start(); CurrentDirectory = "C:/Users"; }
private void Refresh(object sender, EventArgs e) { if (GlobalVars.isUpdating == false) { new Thread(() => { Thread.CurrentThread.IsBackground = true; FileUpdateHandler.UpdateUI(this); }).Start(); } }