Esempio n. 1
0
 /// <summary>
 /// Shows a mouse-driven region selection canvas so you can select a region and then auto-save the captured image.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripMenuItemRegionSelectAutoSave_Click(object sender, EventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse();
     _formRegionSelectWithMouse.MouseSelectionCompleted += _formRegionSelectWithMouse_RegionSelectAutoSaveMouseSelectionCompleted;
     _formRegionSelectWithMouse.LoadCanvas(outputMode: 0); // 0 is for acquiring the dimensions and resolution
 }
Esempio n. 2
0
 /// <summary>
 /// Shows a mouse-driven region selection canvas so you can select a region, have the captured image be sent to the clipboard, and then shown in a floating window.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripMenuItemRegionSelectClipboardFloatingScreenshot_Click(object sender, EventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse();
     _formRegionSelectWithMouse.MouseSelectionCompleted += _formRegionSelectWithMouse_RegionSelectClipboardFloatingScreenshotMouseSelectionCompleted;
     _formRegionSelectWithMouse.LoadCanvas();
 }
Esempio n. 3
0
 /// <summary>
 /// Shows a mouse-driven region selection canvas so you can select a region and then save the captured image to the clipboard.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripMenuItemRegionSelectClipboard_Click(object sender, EventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse();
     _formRegionSelectWithMouse.LoadCanvas(outputMode: 1); // 1 is for saving the captured image to the clipboard
 }
Esempio n. 4
0
 /// <summary>
 /// Shows a mouse-driven region selection canvas so you can select a region and then have the captured image sent to the clipboard.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripMenuItemRegionSelectClipboard_Click(object sender, EventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse();
     _formRegionSelectWithMouse.LoadCanvas();
 }