Ejemplo n.º 1
0
 protected override void Dispose(bool disposing)
 {
     if (control != null)
     {
         control.ValueChanged -= control_ValueChanged;
         control = null;
     }
     base.Dispose(disposing);
 }
Ejemplo n.º 2
0
 protected override object CreateControlCore()
 {
     control = new PreSchoolControl();
     control.ValueChanged += control_ValueChanged;
     return(control);
 }