예제 #1
0
        public void WindowCapture()
        {
            ScreenPath = OwnShotHelpers.RandomName(ssnamelength) + ".png";

            SetWindowStyle(true);
            System.Threading.Thread.Sleep(25);

            OwnShotHelpers.WindowCapture(ScreenPath);

            ShowBalloon(OwnShotHelpers.UploadImage(ScreenPath));

            if (OwnShotHelpers.GetConfig("DeleteMode") == "Yes")
            {
                File.Delete(ScreenPath);
            }
        }