Code: Select all
protected override PrintJobHandlerResult OnProcess(IPrintJob printJob) { ... }
Moderator: Phil Barton
Code: Select all
protected override PrintJobHandlerResult OnProcess(IPrintJob printJob) { ... }
Code: Select all
IWindowManager windowMgr = GetService<IWindowManager>();
if (windowMgr.ActiveWindow.Caption == "Documents")
{
// The sending screen is the Order->Documents tab
}
Code: Select all
IWindowManager windowMgr = GetService<IWindowManager>();