Esempio n. 1
0
 public static void CaseStandalone(bool FromForm = false)
 {
     ScreenshotService.Stop();
     ScreenshotService.Start();
     if (!FromForm)
     {
         StallThread();
     }
 }
Esempio n. 2
0
        public static void CaseKill(bool FromForm = false)
        {
            ScreenshotService.Stop();

            if (!WinInterface.KillOthers())
            {
                WinInterface.ElevateMe(ARG_KILL);
            }

            if (!FromForm)
            {
                OpenForm();
            }
        }