示例#1
0
 public LiteCGraph(Chart chart, Control parent, Collection<LiteCParameter> yields)
 {
     yieldtexts = yields;
     foreach (LiteCParameter x in yields)
     {
         yieldserials.Add(x.Name.Split('.')[1]);
     }
     ichart = chart;
     AppPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
     LiteCConfig cfg = new LiteCConfig("Users.xml");
     users = cfg.ReadStringer();
     ichart.MouseDoubleClick += ichart_MouseDoubleClick;
 }
示例#2
0
 public LiteCGraph(Chart chart, Control parent)
 {
     ichart = chart;
     AppPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
     LiteCConfig cfg = new LiteCConfig("Users.xml");
     users = cfg.ReadStringer();
 }