Esempio n. 1
0
        ////////////////////////////////////////////////////////////////////////////

        #endregion

        #region //// Destructors ///////

        ////////////////////////////////////////////////////////////////////////////
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                // We added the listbox to another parent than this control, so we dispose it manually
                if (lstCombo != null)
                {
                    lstCombo.Dispose();
                    lstCombo = null;
                }
                Manager.Input.MouseDown -= Input_MouseDown;
            }
            base.Dispose(disposing);
        }