Making a function to prep MatterControl prior to runing tests.

Made automation tests call it.
This commit is contained in:
Lars Brubaker 2016-07-29 16:44:00 -07:00
parent c427edbcb1
commit d8138ac51e
17 changed files with 95 additions and 29 deletions

View file

@ -65,7 +65,7 @@ namespace MatterHackers.MatterControl
this.AnchorAll();
cancelButton = textImageButtonFactory.Generate(unlocalizedTextForCancelButton.Localize());
cancelButton.Name = unlocalizedTextForCancelButton;
cancelButton.Name = "Cancel Wizard Button";
cancelButton.Click += (s, e) =>
{
UiThread.RunOnIdle(() => WizardWindow?.Close());