public override int GetHashCode() { return(AssociatedEvent?.GetHashCode() ?? 13); }
private void UpdateButtonText() { button.Text = AssociatedEvent != null?AssociatedEvent.ToString() : "error"; xButton.Visible = false; }
private void UpdateButtonText() { button.Text = AssociatedEvent.ToString(); xButton.Visible = false; }