コード例 #1
0
 protected override void Dispose(bool disposing)
 {
     if (control != null)
     {
         control.ValueChanged -= control_ValueChanged;
         control = null;
     }
     base.Dispose(disposing);
 }
コード例 #2
0
 protected override object CreateControlCore()
 {
     control = new PreSchoolControl();
     control.ValueChanged += control_ValueChanged;
     return(control);
 }