internal void menuToolsCloseProcess(bool bMsg)
{
if (_ServerProcess == null)
return;
if (!_ServerProcess.HasExited)
{
try
{
_ServerProcess.StandardInput.WriteLine("x"); // x stops the server
}
catch (Exception ex)
{
if (bMsg)
MessageBox.Show(ex.Message, Strings.RdlDesigner_Show_ErrorStopProcess);
}
}
_ServerProcess = null;
}