Ejemplo n.º 1
0
        public override void Close()
        {
            VerifyResult(_cco.Close());

            _cco.DirectIOEvent       -= (_IOPOSPOSPrinterEvents_DirectIOEventEventHandler)_cco_DirectIOEvent;
            _cco.ErrorEvent          -= (_IOPOSPOSPrinterEvents_ErrorEventEventHandler)_cco_ErrorEvent;
            _cco.OutputCompleteEvent -= (_IOPOSPOSPrinterEvents_OutputCompleteEventEventHandler)_cco_OutputCompleteEvent;
            _cco.StatusUpdateEvent   -= (_IOPOSPOSPrinterEvents_StatusUpdateEventEventHandler)_cco_StatusUpdateEvent;
            _cco = null;
        }