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