Esempio n. 1
0
 public GraphForm(ParamsModel3D paramsModel3D, DigitalVoltmeterForm parrent)
 {
     InitializeComponent();
     this.parrent    = parrent;
     k               = parrent.K;
     GraphicsService = new GraphicsService();
     ParamsModel     = paramsModel3D;
     InitializeDataGrid();
     trackBarZoom.Value = (int)(level * 1000);
     RefreshGraph();
 }
Esempio n. 2
0
        public GraphForm(List <ParamsPolygon> Polygons, DigitalVoltmeterForm parrent)
        {
            InitializeComponent();
            this.parrent  = parrent;
            this.Polygons = Polygons;
            k             = parrent.K;

            InitializeDataGrid();

            RefreshGraph();
        }