示例#1
0
        private void Screenshot_Completed(object sender, EventArgs e)
        {
            bool showPreviewer = ((ScreenshotCompletedEventArgs)e).Successful;

            if ((showPreviewer && !BrowserPanel.isDownloadingPage))
            {
                ShowImagePreviewer(Actions.Screenshot, Constants.TempImgFile);
            }
            ScreenshotComplete?.Invoke(this, new EventArgs());
        }
        private void Screenshot_Completed(object sender, EventArgs e)
        {
            bool showPreviewer = ((ScreenshotCompletedEventArgs)e).Successful;

            ScreenshotComplete?.Invoke(this, new EventArgs());
            if (showPreviewer)
            {
                ShowImagePreviewer(Actions.Screenshot, Constants.TempImgFile);
            }
        }