Example #1
0
 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);
            }
        }
Example #3
0
        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, "");
            }
        }