Пример #1
0
 /// <summary>
 /// Creates and sets a plotter
 /// </summary>
 public void setPlotter()
 {
     PlotterController plotterController = new PlotterController();
     ArrayList[] selectedColums = mainController.resultController.getResultSelection(mainController.resultView.dataView);
     if (selectedColums[1].Count > 1)
     {
         plotterController.AddPoints(selectedColums);
         PlotterView plotterView = new PlotterView();
         plotterView.setPlotter(plotterController);
         plotterView.Show();
     }
 }
Пример #2
0
 /// <summary>
 /// Set a plotter to this view.
 /// </summary>
 /// <param name="p">PlotterModel to display</param>
 public void setPlotter(PlotterController p)
 {
     plotterController = p;
     tableLayoutPanel1.Controls.Add(plotterController, 0, 0);
     setLabel();
 }