private static bool ComplainToUserAboutNewWs(string wsLabel, string projectName)
{
// Assume they want the WS updated when we're not supposed to show a UI.
if (s_noUserInterface)
return true;
string text = string.Format(Properties.Resources.kstidGlobalWsChangedMsg, wsLabel, projectName);
string caption = Properties.Resources.kstidGlobalWsChangedCaption;
Form owner = s_splashScreen != null ? s_splashScreen.Form : Form.ActiveForm;
return ThreadHelper.ShowMessageBox(owner, text, caption, MessageBoxButtons.YesNo,
MessageBoxIcon.Question) == DialogResult.Yes;
}