2 writes to control
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Binding.cs (2)
211this.control = value; 218control = oldTarget;
29 references to control
System.Windows.Forms (29)
winforms\Managed\System\WinForms\Binding.cs (29)
158return this.control; 176return this.control as Control; 197return IsComponentCreated(this.control); 202Debug.Assert(sender == control, "which other control can send us the Load event?"); 208if (this.control != value) { 209IBindableComponent oldTarget = control; 225BindingContext.UpdateBinding((control != null && IsComponentCreated(control) ? control.BindingContext: null), this); 478if (propInfo != null && control != null) { 480propInfo.AddValueChanged(control, handler); 484validateInfo.AddEventHandler(control, handler); 489if (propInfo != null && control != null) { 491propInfo.RemoveValueChanged(control, handler); 495validateInfo.RemoveEventHandler(control, handler); 508if (control != null && propertyName.Length > 0) { 509control.DataBindings.CheckDuplicates(this); 511Type controlClass = control.GetType(); 527InheritanceAttribute attr = (InheritanceAttribute)TypeDescriptor.GetAttributes(control)[typeof(InheritanceAttribute)]; 532propInfos = TypeDescriptor.GetProperties(control); 565EventDescriptorCollection eventInfos = TypeDescriptor.GetEvents(control); 584IComponent comp = (this.control as IComponent); 603isNull = (bool) propIsNullInfo.GetValue(control); 610value = propInfo.GetValue(control); 1078propIsNullInfo.SetValue(control, true); 1082propInfo.SetValue(control, DataSourceNullValue); 1085propInfo.SetValue(control, null); 1091propInfo.SetValue(control, value); 1154return (control != null && propertyName.Length > 0 &&