Ensure WizardWindow is always on top of main

This commit is contained in:
John Lewin 2016-06-10 15:26:25 -07:00
parent 7149f6db33
commit 0d2432fdbe

View file

@ -22,6 +22,9 @@ namespace MatterHackers.MatterControl
private WizardWindow()
: base(500 * GuiWidget.DeviceScale, 500 * GuiWidget.DeviceScale)
{
this.AlwaysOnTopOfMain = true;
this.BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor;
this.Padding = new BorderDouble(8);
this.ShowAsSystemWindow();
@ -31,6 +34,8 @@ namespace MatterHackers.MatterControl
private WizardWindow(bool openToHome = false)
: base(500 * GuiWidget.DeviceScale, 500 * GuiWidget.DeviceScale)
{
this.AlwaysOnTopOfMain = true;
AlwaysOnTopOfMain = true;
this.Title = "Setup Wizard".Localize();