public PrintDialogHandler() { Control = new swf.PrintDialog { UseEXDialog = true, AllowSomePages = true, PrinterSettings = PrintSettingsHandler.DefaultSettings() }; }
public static sdp.PrinterSettings ToSD(this PrintSettings settings) { if (settings == null) { return(PrintSettingsHandler.DefaultSettings()); } else { return(((PrintSettingsHandler)settings.Handler).Control); } }