private void buttonRegionSelect_Click(object sender, RoutedEventArgs e) { _formRegionSelectWithMouse = new FormRegionSelectWithMouse(saveToClipboard: false); _formRegionSelectWithMouse.MouseSelectionCompleted += formRegionSelectWithMouse_RegionSelectMouseSelectionCompleted; _formRegionSelectWithMouse.LoadCanvas(); }
private void buttonRegionSelectTakeScreenshot_Click(object sender, RoutedEventArgs e) { _formRegionSelectWithMouse = new FormRegionSelectWithMouse(checkBoxClipboard.IsChecked); _formRegionSelectWithMouse.MouseSelectionCompleted += formRegionSelectTakeScreenshotWithMouse_RegionSelectMouseSelectionCompleted; _formRegionSelectWithMouse.LoadCanvas(); }