Commit a05204f4 by Pascal Bigot

--no commit message

parent 44f3d999
......@@ -110,6 +110,7 @@ namespace CtrlGraph
BasePos.Y += m_ListCurve[i].Size.Height + 8;
m_ListCurve[i].Name = string.Format("CurveParam{0}", i);
m_ListCurve[i].DataIndex = i;
m_ListCurve[i].Doc = this.Doc;
this.uscPanelCurveCfg.Controls.Add(m_ListCurve[i]);
}
......@@ -151,6 +152,11 @@ namespace CtrlGraph
set
{
m_Document = value;
for (int i = 0; i < DllCtrlGraphProp.NB_CURVE; i++)
{
m_ListCurve[i].Doc = m_Document;
}
}
}
......
......@@ -722,7 +722,7 @@ namespace SmartApp.Ihm
if (File.Exists(m_Document.FileName))
{
this.Hide();
Application.DoEvents();
Application.DoEvents();
System.Diagnostics.Process proc = new System.Diagnostics.Process();
string Arguments = "-Cmd \"" + m_Document.FileName + "\"";
proc.StartInfo = new System.Diagnostics.ProcessStartInfo(Application.ExecutablePath, Arguments);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment