public override void Dispose() { if (dropdown != null) { dropdown.Dispose(); dropdown = null; } base.Dispose(); }
static public int Dispose(IntPtr l) { try { FairyGUI.GComboBox self = (FairyGUI.GComboBox)checkSelf(l); self.Dispose(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }