///<summary>Releases the unmanaged resources used by the EntryForm 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) { recentMenu.Dispose(); if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
void DestroyPopupMenu() { menu.Dispose(); menu = null; }