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(); }
public GraphForm(List <ParamsPolygon> Polygons, DigitalVoltmeterForm parrent) { InitializeComponent(); this.parrent = parrent; this.Polygons = Polygons; k = parrent.K; InitializeDataGrid(); RefreshGraph(); }