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(); }
private void checkBox1_CheckedChanged(object sender, EventArgs e) { PlatonBody.visibleOXYZ = checkBox1.Checked; FormMain.MyDraw(); }
private void radioButton10_CheckedChanged(object sender, EventArgs e) { PlatonBody.flEdge = 2; FormMain.MyDraw(); }
private void radioButton7_CheckedChanged(object sender, EventArgs e) { PlatonBody.flRotate = true; FormMain.MyDraw(); }