Exemplo n.º 1
0
        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            byte flBody = 0;

            if (radioButton1.Checked == true)
            {
                flBody = 0;
            }
            if (radioButton2.Checked == true)
            {
                flBody = 1;
            }
            if (radioButton3.Checked == true)
            {
                flBody = 2;
            }
            if (radioButton4.Checked == true)
            {
                flBody = 3;
            }
            if (radioButton5.Checked == true)
            {
                flBody = 4;
            }
            PlatonBody.body = new Body(flBody);
            FormMain.MyDraw();
        }
Exemplo n.º 2
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     PlatonBody.visibleOXYZ = checkBox1.Checked;
     FormMain.MyDraw();
 }
Exemplo n.º 3
0
 private void radioButton10_CheckedChanged(object sender, EventArgs e)
 {
     PlatonBody.flEdge = 2;
     FormMain.MyDraw();
 }
Exemplo n.º 4
0
 private void radioButton7_CheckedChanged(object sender, EventArgs e)
 {
     PlatonBody.flRotate = true;
     FormMain.MyDraw();
 }