void OnReceivedJob(string fileName, PrintJobProperties properties) { if (ReceivedJob != null){ lock(ReceivedJob){ PclPrintingArgs args = new PclPrintingArgs(fileName, properties); ReceivedJob(this,args); } } }
void OnReceivedJob(string fileName, PrintJobProperties properties) { if (ReceivedJob != null) { lock (ReceivedJob){ PclPrintingArgs args = new PclPrintingArgs(fileName, properties); ReceivedJob(this, args); } } }
public PclPrintingArgs(string fileName, PrintJobProperties properties) { this.FileName = fileName; this.Properties = properties; }