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:
parent
e1e1bbb38a
commit
8048416576
@ -3245,8 +3245,12 @@ namespace VEPROMS
|
|||||||
}
|
}
|
||||||
if (ctrlAnnotationDetails.Enabled && epAnnotations.Enabled)
|
if (ctrlAnnotationDetails.Enabled && epAnnotations.Enabled)
|
||||||
{
|
{
|
||||||
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
|
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem);
|
||||||
AnnotationPanelView();
|
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);
|
btnPrint.Enabled = (_CurrentItem != null);
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,9 @@ namespace Volian.Controls.Library
|
|||||||
_CurrentItem = value;
|
_CurrentItem = value;
|
||||||
SetupCurrentItemValues();
|
SetupCurrentItemValues();
|
||||||
SetupConfigEdit();
|
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;
|
private int _FromType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user