Rename instance method to Connect

This commit is contained in:
John Lewin 2017-09-18 07:20:06 -07:00
parent 9a5c885202
commit 9721f93266
8 changed files with 9 additions and 9 deletions

View file

@ -142,7 +142,7 @@ namespace MatterHackers.MatterControl
void ConnectButton_Click(object sender, EventArgs mouseEvent)
{
ApplicationController.Instance.ActivePrinter.Connection.ConnectToActivePrinter(true);
ApplicationController.Instance.ActivePrinter.Connection.Connect(true);
}
void NextButton_Click(object sender, EventArgs mouseEvent)

View file

@ -177,7 +177,7 @@ namespace MatterHackers.MatterControl
"Connect",
"Click the 'Connect' button to retry the original connection attempt",
false,
() => ApplicationController.Instance.ActivePrinter.Connection.ConnectToActivePrinter());
() => ApplicationController.Instance.ActivePrinter.Connection.Connect());
contentRow.AddChild(connectToPrinterRow);