Add AnyCommunicationStateChanged event
- Issue MatterHackers/MCCentral#5197 Disable sign-in widget while printing
This commit is contained in:
parent
7a27e6ce7d
commit
014040276f
1 changed files with 3 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ namespace MatterHackers.MatterControl.PrinterCommunication
|
|||
/// </summary>
|
||||
public class PrinterConnection : IDisposable
|
||||
{
|
||||
public static event EventHandler AnyCommunicationStateChanged;
|
||||
|
||||
public event EventHandler Disposed;
|
||||
|
||||
public event EventHandler TemporarilyHoldingTemp;
|
||||
|
|
@ -595,6 +597,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication
|
|||
|
||||
communicationState = value;
|
||||
CommunicationStateChanged?.Invoke(this, null);
|
||||
AnyCommunicationStateChanged?.Invoke(this, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue