Exemple #1
0
        public void TimedScreenshot(int seconds)
        {
            var future = DateTime.Now.AddSeconds(seconds);

            do
            {
                uiActionLoggedToolStripStatusLabel.Text = string.Format("Screenshotting in: {0}", (future - DateTime.Now).ToString("ss"));
                Application.DoEvents();
            } while (future > DateTime.Now);
            uiActionLoggedToolStripStatusLabel.Text = "";
            CurrentBrowser.GetCurrentViewportScreenshot();
        }
Exemple #2
0
 public void CurrentViewScreenshot()
 {
     CurrentBrowser.GetCurrentViewportScreenshot();
 }