void c_DoubleClick(object sender, EventArgs e) { usrEventArgs a = new usrEventArgs(); a.EventKind = enEventKind.DOUBLECLICK; if (DoubleClick != null) { this.DoubleClick(this, a); } }
protected void c_Click(object sender, EventArgs e) { usrEventArgs a = new usrEventArgs(); a.EventKind = enEventKind.CLICK; if (Click != null) { this.Click(this, a); } }
private void Check_TextChanged() { if (TEXT.Equals(Value)) { label1.Text = string.Empty; isChange = false; } else { label1.Text = "*"; isChange = true; } usrEventArgs a = new usrEventArgs(); a.EventKind = enEventKind.TEXT_CHANGED; if (_text_Changed != null) { _text_Changed(this, a); } }