private void BgsDialogPrimaryButton_Click(object sender, RoutedEventArgs e) { _Color = MyColorPicker.Color.ToString(); MyEllipse.Fill = new SolidColorBrush(GetColor(_Color)); _TintOpacity = MySlider.Value / 100; BgsDialog.Hide(); }
private void BgsDialogCloseButton_Click(object sender, RoutedEventArgs e) { BgsDialog.Hide(); }