Rename instance method to Connect
This commit is contained in:
parent
9a5c885202
commit
9721f93266
8 changed files with 9 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue