Esempio n. 1
0
        private void RaiseEndEvent()
        {
            OnPrintEndEventHandler handler = _printEndEvent;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(_args, _stream);
            }
        }
Esempio n. 2
0
 internal P4PrintCallback(P4Connection p4connection, OnPrintStreamEventHandler OnPrintEvent, OnPrintEndEventHandler OnPrintEnd)
 {
     _p4            = p4connection;
     _printEvent    = OnPrintEvent;
     _printEndEvent = OnPrintEnd;
 }
Esempio n. 3
0
 internal P4PrintCallback(P4Connection p4connection, OnPrintStreamEventHandler OnPrintEvent, OnPrintEndEventHandler OnPrintEnd)
 {
     _p4 = p4connection;
     _printEvent = OnPrintEvent;
     _printEndEvent = OnPrintEnd;
 }