Exemplo n.º 1
0
 public void ShowResults(ModelingOutputs props)
 {
     var file = new StreamWriter("output.csv");
     var currentString = "";
     currentString += ("x;");
     foreach (var k in props.Values.Keys)
         currentString += (k + ";");
     file.WriteLine(currentString);
     for (int i = 0; i < props.Values.Min(kvp => kvp.Value.Count); i++)
     {
         currentString = "";
         currentString += (props.X[i] + ";");
         foreach (var k in props.Values.Keys)
             currentString += (props.Values[k][i] + ";");
         file.WriteLine(currentString);
     }
     file.Close();
     var graph = new GraphForm();
     graph.ShowResults(props);
 }
Exemplo n.º 2
0
 public void ShowResults(ModelingOutputs outputs)
 {
     outs = outputs;
     Application.Run(this);
 }