private void LastCellField_OnMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { ScreenshotRegion screener = new ScreenshotRegion(this); if (screener.ShowDialog() == true) { _gamePreset.LastCell = screener.Rectangle; UpdatePresetControls(); } }
private void BonusCellSpriteSelectionCommand_Click(object sender, RoutedEventArgs e) { ScreenshotRegion screener = new ScreenshotRegion(this); if (screener.ShowDialog() == true) { _gamePreset.BonusCellSprite = screener.Picture; UpdatePresetControls(); } }