mattercontrol/PrinterControls/PrinterConnections/ConnectionWizardPage.cs
John Lewin a9f3cbf4c4 Remove ActivePrinter variable from ConnectionWizard
- Remove excess properties from PrinterInfo
 - Remove call to Parent.Close from onPrinterStatusChanged
2016-06-14 11:28:13 -07:00

18 lines
No EOL
553 B
C#

using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.Localizations;
using MatterHackers.MatterControl.DataStorage;
using MatterHackers.MatterControl.PrinterCommunication;
using MatterHackers.MatterControl.SlicerConfiguration;
using System;
namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
{
public class ConnectionWizardPage : WizardPage
{
public ConnectionWizardPage() : base("Cancel")
{
cancelButton.Click += (s, e) => PrinterConnectionAndCommunication.Instance.HaltConnectionThread();
}
}
}