private void renderWindowControl1_Load(object sender, EventArgs e) { _visualization2D = new Visualization2D(renderWindowControl); _visualization2D.SliceToAxes(_dicomLoader, 300, Axis.X); trackBar.Maximum = 300; trackBar.Value = 300; }
private void trackBar_Scroll(object sender, EventArgs e) { _visualization2D.SliceToAxes(_dicomLoader, trackBar.Value, Axis.X); }