protected override void OnResize(EventArgs e) { base.OnResize(e); if (sr != null) { sr.ReCalculateTransformationsCoeficients( m_plotterView.ObservatorX, m_plotterView.ObservatorY, m_plotterView.ObservatorZ, m_plotterView.ScreenX, m_plotterView.ScreenY, ClientRectangle.Width, ClientRectangle.Height, 0.5, 0, 0); } }
private void Form1_Resize(object sender, EventArgs e) { sr.ReCalculateTransformationsCoeficients(70, 35, 40, 0, 0, ClientRectangle.Width, ClientRectangle.Height, 0.5, 0, 0); }