protected override void OnValueChanged(EventArgs e) { base.OnValueChanged(e); IHelpLabel frm = FindForm() as IHelpLabel; if (frm != null) frm.SetError(this, ""); }
public void FireValueChanged() { IHelpLabel frm = FindForm() as IHelpLabel; if (frm != null) { frm.SetError(this, ""); } if (ValueChanged != null) { ValueChanged(this, EventArgs.Empty); } }
public void FireValueChanged() { //if (DatValueChanged != null) // DatValueChanged(this, new ValueEventArgs(Value)); if (ValueChanged != null) { ValueChanged(this, EventArgs.Empty); } IHelpLabel frm = FindForm() as IHelpLabel; if (frm != null) { frm.SetError(this, ""); } }