B2017-127, B2017-131 Send message when a MSWord section is opened.

B2017-126 Only turn-on NamedPipe if Command Line parameter /NamedPipe is used.
This commit is contained in:
Rich 2017-06-29 17:53:50 +00:00
parent e1e1bbb38a
commit 8048416576
2 changed files with 9 additions and 3 deletions

View File

@ -3245,8 +3245,12 @@ namespace VEPROMS
}
if (ctrlAnnotationDetails.Enabled && epAnnotations.Enabled)
{
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
AnnotationPanelView();
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
AnnotationPanelView();
}
else if(_CurrentItem!=null) // B2017-127, B2017-131 Send message when a MSWord section is opened.
{
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem); // set the CurrentItem (send Message) when the MSWord section is opened.
}
btnPrint.Enabled = (_CurrentItem != null);
}

View File

@ -95,7 +95,9 @@ namespace Volian.Controls.Library
_CurrentItem = value;
SetupCurrentItemValues();
SetupConfigEdit();
if (ExeType > 0) SendPromsAnnotationData();
// B2017-126 Only turn-on NamedPipe if Command Line parameter /NamedPipe is used.
// This eliminates waiting for the Pipe if the command line parameter is not used.
if (ExeType > 0 && Volian.Base.Library.VlnSettings.GetCommandFlag("NamedPipe")) SendPromsAnnotationData();
}
}
private int _FromType;