private void trackBar1_Scroll(object sender, EventArgs e) { Subdivision.SetParam("coef", (double)trackBar1.Value / (double)trackBar1.Maximum); doRedraw(); }
private void trackBar3_Scroll(object sender, EventArgs e) { Subdivision.SetParam("width", (double)trackBar3.Value); doRedraw(); }
private void checkBox1_CheckedChanged(object sender, EventArgs e) { Subdivision.SetParam("polygon", checkBox1.Checked); doRedraw(); }
private void trackBar2_Scroll(object sender, EventArgs e) { Subdivision.SetParam("niter", trackBar2.Value); doRedraw(); }