protected override void OnClick(EventArgs e) { base.OnClick(e); ClickCount++; MyClick?.Invoke(this, new MyEventArgs(ClickCount)); }
private void btn_Button_Click(object sender, EventArgs e) { MyClick?.Invoke(sender, e); }