Move HeaderText from constructor parameter to WizardPage property

- Improves readability, allows side-by-side with Window title
- Slight increase in overhead due to reconstruction of internal printer
This commit is contained in:
John Lewin 2017-08-24 00:16:31 -07:00
parent 44069d2805
commit 98238aad40
10 changed files with 28 additions and 16 deletions

View file

@ -51,8 +51,9 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
private Button skipButton;
public SetupStepInstallDriver()
: base (unlocalizedTextForTitle: "Install Communication Driver")
{
this.HeaderText = "Install Communication Driver";
printerDriverContainer = createPrinterDriverContainer();
contentRow.AddChild(printerDriverContainer);
{