コード例 #1
0
 ///<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);
 }
コード例 #2
0
 void DestroyPopupMenu()
 {
     menu.Dispose();
     menu = null;
 }