Disable PrinterCommunication status indicator
- Issue MatterHackers/MCCentral#2787 Disable CommunicationStatus reporting in toolbar
This commit is contained in:
parent
8f55a938c5
commit
902d22bdce
1 changed files with 13 additions and 13 deletions
|
|
@ -155,19 +155,19 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
buttonGroupB.Add(layers2DButton);
|
||||
this.AddChild(layers2DButton);
|
||||
|
||||
// put in the detail message
|
||||
var printerConnectionDetail = new TextWidget("")
|
||||
{
|
||||
Margin = new BorderDouble(5, 0),
|
||||
TextColor = ActiveTheme.Instance.PrimaryTextColor,
|
||||
AutoExpandBoundsToText = true,
|
||||
PointSize = 8
|
||||
};
|
||||
printer.Connection.PrintingStateChanged.RegisterEvent((s, e) =>
|
||||
{
|
||||
printerConnectionDetail.Text = printer.PrinterConnectionStatus;
|
||||
}, ref unregisterEvents);
|
||||
this.AddChild(printerConnectionDetail);
|
||||
//// put in the detail message
|
||||
//var printerConnectionDetail = new TextWidget("")
|
||||
//{
|
||||
// Margin = new BorderDouble(5, 0),
|
||||
// TextColor = ActiveTheme.Instance.PrimaryTextColor,
|
||||
// AutoExpandBoundsToText = true,
|
||||
// PointSize = 8
|
||||
//};
|
||||
//printer.Connection.PrintingStateChanged.RegisterEvent((s, e) =>
|
||||
//{
|
||||
// printerConnectionDetail.Text = printer.PrinterConnectionStatus;
|
||||
//}, ref unregisterEvents);
|
||||
//this.AddChild(printerConnectionDetail);
|
||||
|
||||
this.AddChild(new HorizontalSpacer());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue