/// <summary> /// This is overridden to dispose of the control /// </summary> /// <param name="disposing">True if managed resources should be disposed; otherwise, false</param> protected override void Dispose(bool disposing) { if(control != null) { control.Dispose(); control = null; } base.Dispose(disposing); }