Update ColorPicker.cs
This commit is contained in:
1 parent
ede66ad89c
commit
e343ca64b4
1 file changed
+4
-6
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
@@ -711,11 +711,9 @@ namespace HandyControl.Controls
|
|||||||
private void ButtonConfirm_OnClick(object sender, RoutedEventArgs e)
|
private void ButtonConfirm_OnClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
RaiseEvent(new FunctionEventArgs<Color>(ConfirmedEvent, this)
|
RaiseEvent(new FunctionEventArgs<Color>(ConfirmedEvent, this)
|
||||||
{
|
{
|
||||||
Info = SelectedBrush.Color
|
Info = SelectedBrush.Color
|
||||||
});
|
});
|
||||||
|
|
||||||
RaiseEvent(new RoutedEventArgs(CanceledEvent));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonCancel_OnClick(object sender, RoutedEventArgs e) => RaiseEvent(new RoutedEventArgs(CanceledEvent));
|
private void ButtonCancel_OnClick(object sender, RoutedEventArgs e) => RaiseEvent(new RoutedEventArgs(CanceledEvent));
|
||||||
|
|||||||
Reference in new issue
Block a user