|
@@ -240,21 +240,6 @@ namespace OTSMeasureApp
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- private void rbSTDEdit_Click(object sender, EventArgs e)
|
|
|
|
- {
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- try
|
|
|
|
- {
|
|
|
|
- System.Diagnostics.Process p = System.Diagnostics.Process.Start(".\\OTSPartA_STDEditor.exe", Application.StartupPath + "\\Config\\SysData\\" + "CurveSTDData.db");
|
|
|
|
- p.WaitForExit();
|
|
|
|
- }
|
|
|
|
- catch (Exception ex)
|
|
|
|
- {
|
|
|
|
- log.Error("OTSPartA_STDEditor:" + ex.ToString());
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
// sNewWorkSampleName: 新工作样品名
|
|
// sNewWorkSampleName: 新工作样品名
|
|
public void Rev_SoluWindowReqSwitchWSample_Event(string sNewWorkSampleName)
|
|
public void Rev_SoluWindowReqSwitchWSample_Event(string sNewWorkSampleName)
|
|
{
|
|
{
|
|
@@ -1146,16 +1131,7 @@ namespace OTSMeasureApp
|
|
{
|
|
{
|
|
OpenFileDialog openFileDialog = new OpenFileDialog();
|
|
OpenFileDialog openFileDialog = new OpenFileDialog();
|
|
openFileDialog.Filter = "(*.db)|*.db";
|
|
openFileDialog.Filter = "(*.db)|*.db";
|
|
- string Currentpath = "\\Config\\SysData\\";
|
|
|
|
- if (m_ProjParam.m_DefaultParam.m_nPackId.ToString() == "IncA")
|
|
|
|
- {
|
|
|
|
- Currentpath += "IncA\\";
|
|
|
|
- }
|
|
|
|
- else
|
|
|
|
- {
|
|
|
|
- Currentpath += "Cleanliness\\";
|
|
|
|
- }
|
|
|
|
- openFileDialog.InitialDirectory = Application.StartupPath + Currentpath;
|
|
|
|
|
|
+ openFileDialog.InitialDirectory = Application.StartupPath + "\\Config\\SysData\\";
|
|
openFileDialog.RestoreDirectory = true;
|
|
openFileDialog.RestoreDirectory = true;
|
|
openFileDialog.FilterIndex = 1;
|
|
openFileDialog.FilterIndex = 1;
|
|
if (openFileDialog.ShowDialog() == DialogResult.OK)
|
|
if (openFileDialog.ShowDialog() == DialogResult.OK)
|