public static void CheckUpdates() { if (state != UpdateState.None) { return; } if (!mutex.WaitOne(0, true)) { return; } mutexLocked = true; UpdaterForm form = new UpdaterForm(); form.Show(); }
public static void CheckUpdates() { if(state != UpdateState.None) return; if(!mutex.WaitOne(0, true)) return; mutexLocked = true; UpdaterForm form = new UpdaterForm(); form.Show(); }