private void CreatePopupHandler(IntPtr handle) { if (_PopupMsgHandler == null) { _PopupMsgHandler = new ComboBoxPopupMsgHandler(); _PopupMsgHandler.AssignHandle(handle); } }
private void ReleasePopupHandler() { ComboBoxPopupMsgHandler handler = _PopupMsgHandler; _PopupMsgHandler = null; if (handler != null) { handler.ReleaseHandle(); } }