private void pictureBox1_Paint(object sender, PaintEventArgs e) { if (g3d != null) { g3d.Draw(e.Graphics); Text = string.Format("h: {0:f2} deg., v: {1:f2}", g3d.phiH, g3d.phiV); if (g3dR != null) { g3dR.ox = g3d.ox; g3dR.oy = g3d.oy; g3dR.phiH = g3d.phiH; g3dR.phiV = g3d.phiV; g3dR.zoom = g3d.zoom; g3dR.mx = g3d.mx; g3dR.my = g3d.my; g3dR.mz = g3d.mz; g3dR.Draw(e.Graphics, Wireframe: true, EraseBackground: false); //Text = string.Format("h: {0:f2} deg., v: {1:f2}", g3d.phiH, g3d.phiV); } } }
private void pictureBox1_Paint(object sender, PaintEventArgs e) { if (g3d != null) { g3d.Draw(e.Graphics); Text = string.Format("h: {0:f2} deg., v: {1:f2}", g3d.phiH, g3d.phiV); } }