public WebpageCaptureForm()
 {
     InitializeComponent();
     LoadSettings();
     webpageCapture = new WebpageCapture();
     webpageCapture.CaptureCompleted += webpageCapture_CaptureCompleted;
 }
Exemple #2
0
 public WebpageCaptureForm()
 {
     InitializeComponent();
     Icon = ShareXResources.Icon;
     LoadSettings();
     webpageCapture = new WebpageCapture();
     webpageCapture.CaptureCompleted += webpageCapture_CaptureCompleted;
 }
 public WebpageCaptureForm(WebpageCaptureOptions options)
 {
     InitializeComponent();
     Icon    = ShareXResources.Icon;
     Options = options;
     LoadSettings();
     webpageCapture = new WebpageCapture();
     webpageCapture.CaptureCompleted += webpageCapture_CaptureCompleted;
 }
Exemple #4
0
 public WebpageCaptureForm()
 {
     InitializeComponent();
     Icon = ShareXResources.Icon;
     CheckClipboard();
     nudWebpageWidth.Value            = Screen.PrimaryScreen.Bounds.Width.Between((int)nudWebpageWidth.Minimum, (int)nudWebpageWidth.Maximum);
     nudWebpageHeight.Value           = Screen.PrimaryScreen.Bounds.Height.Between((int)nudWebpageHeight.Minimum, (int)nudWebpageHeight.Maximum);
     webpageCapture                   = new WebpageCapture();
     webpageCapture.CaptureCompleted += webpageCapture_CaptureCompleted;
 }
 public WebpageCaptureForm()
 {
     InitializeComponent();
     Icon = ShareXResources.Icon;
     CheckClipboard();
     nudWebpageWidth.Value = Screen.PrimaryScreen.Bounds.Width.Between((int)nudWebpageWidth.Minimum, (int)nudWebpageWidth.Maximum);
     nudWebpageHeight.Value = Screen.PrimaryScreen.Bounds.Height.Between((int)nudWebpageHeight.Minimum, (int)nudWebpageHeight.Maximum);
     webpageCapture = new WebpageCapture();
     webpageCapture.CaptureCompleted += webpageCapture_CaptureCompleted;
 }