|
@@ -334,7 +334,6 @@ namespace OTSMeasureApp
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
private void TSSaveAs_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
OTSModelSharp.COTSDefaultParam m_cotsprogmgrparamfile = m_MeasureAppForm.m_ProjParam.GetDefaultParam();
|
|
@@ -347,8 +346,10 @@ namespace OTSMeasureApp
|
|
|
m_cgenparam.SetSteelTechnology((int)WSample.GetMsrParams().GetSteelTechnology());
|
|
|
m_cgenparam.SetSTDSelect(WSample.GetMsrParams().GetSTDName().ToString());
|
|
|
m_cotsprogmgrparamfile.SetGenParam(m_cgenparam);
|
|
|
- m_cotsprogmgrparamfile.SaveInfoToProgMgrFile();
|
|
|
- //MessageBox.Show("Done!","Tip");
|
|
|
+ if (m_cotsprogmgrparamfile.SaveInfoToProgMgrFile())
|
|
|
+ {
|
|
|
+ MessageBox.Show("Already saved!", "Tip");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void TSEdit_Click(object sender, EventArgs e)
|