Пример #1
0
 public override int GetHashCode()
 {
     return(AssociatedEvent?.GetHashCode() ?? 13);
 }
Пример #2
0
    private void UpdateButtonText()
    {
        button.Text = AssociatedEvent != null?AssociatedEvent.ToString() : "error";

        xButton.Visible = false;
    }
Пример #3
0
 private void UpdateButtonText()
 {
     button.Text     = AssociatedEvent.ToString();
     xButton.Visible = false;
 }