示例#1
0
        public static void CheckUpdates()
        {
            if (state != UpdateState.None)
            {
                return;
            }

            if (!mutex.WaitOne(0, true))
            {
                return;
            }
            mutexLocked = true;

            UpdaterForm form = new UpdaterForm();

            form.Show();
        }
示例#2
0
        public static void CheckUpdates()
        {
            if(state != UpdateState.None)
                return;

            if(!mutex.WaitOne(0, true))
                return;
            mutexLocked = true;

            UpdaterForm form = new UpdaterForm();
            form.Show();
        }