コード例 #1
0
 private void buttonRegionSelect_Click(object sender, RoutedEventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse(saveToClipboard: false);
     _formRegionSelectWithMouse.MouseSelectionCompleted += formRegionSelectWithMouse_RegionSelectMouseSelectionCompleted;
     _formRegionSelectWithMouse.LoadCanvas();
 }
コード例 #2
0
 private void buttonRegionSelectTakeScreenshot_Click(object sender, RoutedEventArgs e)
 {
     _formRegionSelectWithMouse = new FormRegionSelectWithMouse(checkBoxClipboard.IsChecked);
     _formRegionSelectWithMouse.MouseSelectionCompleted += formRegionSelectTakeScreenshotWithMouse_RegionSelectMouseSelectionCompleted;
     _formRegionSelectWithMouse.LoadCanvas();
 }