public static void OpenEditPrinterWizard(string widgetNameToHighlight) { if (PrinterConnectionAndCommunication.Instance?.ActivePrinter?.ID != null && ActiveSliceSettings.Instance.PrinterSelected && !WizardWindow.IsOpen("PrinterSetup")) { UiThread.RunOnIdle(() => { WizardWindow.Show <EditPrinterSettingsPage>("EditSettings", "Edit Printer Settings"); }); } }