Test that printers delete on guest profile

This commit is contained in:
Lars Brubaker 2016-09-07 17:00:17 -07:00
parent ec893f7277
commit cd27388ad5
5 changed files with 45 additions and 1 deletions

View file

@ -127,6 +127,7 @@ namespace MatterHackers.MatterControl
{
Title = "MatterControl - " + "Please Confirm".Localize();
Button yesButton = textImageButtonFactory.Generate(yesOk, centerText: true);
yesButton.Name = "Yes Button";
yesButton.Click += new EventHandler(okButton_Click);
yesButton.Cursor = Cursors.Hand;
buttonRow.AddChild(yesButton);
@ -134,6 +135,7 @@ namespace MatterHackers.MatterControl
buttonRow.AddChild(new HorizontalSpacer());
Button noButton = textImageButtonFactory.Generate(no, centerText: true);
noButton.Name = "No Button";
noButton.Click += new EventHandler(noButton_Click);
noButton.Cursor = Cursors.Hand;
buttonRow.AddChild(noButton);