protected override void RebuildUI() { if (Plotter == null) { return; } if (DataSource == null) { return; } width = DataSource.Width; height = DataSource.Height; fieldWrapper = new UniformField2DWrapper(DataSource.Data); bounds = DataSource.GetGridBounds(); polylinesPool.PutAll(panel.Children.OfType <Polyline>()); panel.Children.Clear(); RebuildUICore(); }
protected override void RebuildUI() { if (Plotter == null) return; if (DataSource == null) return; width = DataSource.Width; height = DataSource.Height; fieldWrapper = new UniformField2DWrapper(DataSource.Data); bounds = DataSource.GetGridBounds(); polylinesPool.PutAll(panel.Children.OfType<Polyline>()); panel.Children.Clear(); RebuildUICore(); }