private void ClickColorButton_Click(object sender, RoutedEventArgs e)
{
var colorDialog = new ColorSelector(Settings.Default.ClickColor);
colorDialog.Owner = this;
var result = colorDialog.ShowDialog();
if (result.HasValue && result.Value)
{
Settings.Default.ClickColor = colorDialog.SelectedColor;
}
}