Load and Unload Macros working better.

Fixed colors on redeem purchase disabled button
This commit is contained in:
Lars Brubaker 2016-11-29 14:17:37 -08:00
parent a241888635
commit 06b1512698
24 changed files with 87 additions and 72 deletions

View file

@ -43,8 +43,8 @@ namespace MatterHackers.MatterControl
RefreshStatus();
//Construct buttons
cancelButton = whiteImageButtonFactory.Generate("Cancel".Localize(), centerText:true);
cancelButton.Click += (s, e) => this.WizardWindow.ChangeToPage<AndroidConnectDevicePage>();
closeButton = whiteImageButtonFactory.Generate("Cancel".Localize(), centerText:true);
closeButton.Click += (s, e) => this.WizardWindow.ChangeToPage<AndroidConnectDevicePage>();
//Construct buttons
nextButton = textImageButtonFactory.Generate("Continue".Localize());
@ -54,7 +54,7 @@ namespace MatterHackers.MatterControl
//Add buttons to buttonContainer
footerRow.AddChild(nextButton);
footerRow.AddChild(new GuiWidget() { HAnchor = HAnchor.ParentLeftRight });
footerRow.AddChild(cancelButton);
footerRow.AddChild(closeButton);
// Register for connection notifications
PrinterConnectionAndCommunication.Instance.CommunicationStateChanged.RegisterEvent(ConnectionStatusChanged, ref unregisterEvents);