Example #1
0
        protected virtual void NotifyChanged()
        {
            MyBindingSource ds = DataSource as MyBindingSource;

            if (ds != null)
            {
                ds.RaiseValueChanged(this);
            }
        }
Example #2
0
 public void AddDatabinding(MyBindingSource datasource, string datamember, object controlValue)
 {
     m_checkedValue = controlValue;
     DataBindings.Add(new RadioButtonBinder("CheckedValue", datasource, datamember));
 }