///<summary>Releases the unmanaged resources used by the ItemSelectorPopupForm and optionally releases the managed resources.</summary> ///<param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param> protected override void Dispose(bool disposing) { if (disposing) { if (ViewInfo != null) { ViewInfo.Dispose(); } dragScrollTimer.Dispose(); } base.Dispose(disposing); }