Changed ConnectionStateChanged => CommunicationStateChanged

Put in support for running the print level wizard on first print.
Set the R1 to need print leveling
This commit is contained in:
larsbrubaker 2014-05-30 14:37:30 -07:00
parent 449678597a
commit 12650e854e
24 changed files with 84 additions and 43 deletions

View file

@ -124,7 +124,7 @@ namespace MatterHackers.MatterControl
public RootedObjectEventHandler CommunicationUnconditionalFromPrinter = new RootedObjectEventHandler();
public RootedObjectEventHandler CommunicationUnconditionalToPrinter = new RootedObjectEventHandler();
public RootedObjectEventHandler ConnectionFailed = new RootedObjectEventHandler();
public RootedObjectEventHandler ConnectionStateChanged = new RootedObjectEventHandler();
public RootedObjectEventHandler CommunicationStateChanged = new RootedObjectEventHandler();
public RootedObjectEventHandler ConnectionSucceeded = new RootedObjectEventHandler();
public RootedObjectEventHandler DestinationChanged = new RootedObjectEventHandler();
public RootedObjectEventHandler EnableChanged = new RootedObjectEventHandler();
@ -207,7 +207,7 @@ namespace MatterHackers.MatterControl
}
communicationState = value;
OnConnectionStateChanged(null);
OnCommunicationStateChanged(null);
}
}
}
@ -1224,9 +1224,9 @@ namespace MatterHackers.MatterControl
OnEnabledChanged(e);
}
public void OnConnectionStateChanged(EventArgs e)
public void OnCommunicationStateChanged(EventArgs e)
{
ConnectionStateChanged.CallEvents(this, e);
CommunicationStateChanged.CallEvents(this, e);
}
public void OnConnectionFailed(EventArgs e)