private void OutputHeight_ValueChanged(object sender, EventArgs e) { SpatialLightModulator.Height = Convert.ToInt32(OutputHeight.Value); SpatialLightModulator.Resize(); }
private void Width_ValueChanged(object sender, EventArgs e) { SpatialLightModulator.Width = Convert.ToInt32(SLMWidth.Value); SpatialLightModulator.Resize(); }