private void GridWindow_OnMouseUp(object sender, MouseButtonEventArgs e) { if (okImageState == ImageState.Focus) { OkEvent?.Invoke(sender, new OkEventArgs()); } else if (cancelImageState == ImageState.Focus) { CancelEvent?.Invoke(sender, new OkEventArgs()); } }
public void OnOk(IDictionary <string, string> values) { OkEvent?.Invoke(this, values); }