示例#1
0
 private void notifyIcon1_DoubleClick(object sender, EventArgs e)
 {
     if (_hasUpdate)
     {
         CheckUpdate.Upgrade();
     }
     else if (DokanInit.IsWorking())
     {
         System.Diagnostics.Process.Start("explorer", Default.MountPoint + @":\\");
     }
     else
     {
         IsVisibilityChangeAllowed = true;
         Show();
         WindowState = FormWindowState.Normal;
         Focus();
     }
 }