Exemple #1
0
 private void trackBar1_Scroll(object sender, EventArgs e)
 {
     Subdivision.SetParam("coef", (double)trackBar1.Value / (double)trackBar1.Maximum);
     doRedraw();
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     Subdivision.CloseUserPoints();
     doRedraw();
 }
Exemple #3
0
 private void pictureBox1_MouseClick(object sender, MouseEventArgs e)
 {
     Subdivision.AddUserPoint(e.X, e.Y);
     doRedraw();
 }
Exemple #4
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     Subdivision.SetParam("polygon", checkBox1.Checked);
     doRedraw();
 }
Exemple #5
0
 private void trackBar3_Scroll(object sender, EventArgs e)
 {
     Subdivision.SetParam("width", (double)trackBar3.Value);
     doRedraw();
 }
Exemple #6
0
 private void trackBar2_Scroll(object sender, EventArgs e)
 {
     Subdivision.SetParam("niter", trackBar2.Value);
     doRedraw();
 }