private void trackBar3_Scroll(object sender, EventArgs e)
        {
            O             = Math.PI * ((double)trackBar3.Value * 0.88 + 1) / 180;
            textBox3.Text = (double.Parse(trackBar3.Value.ToString()) * 0.88 + 1).ToString();


            DiskCalculator.RefreshPoints();
        }
        private void trackBar2_Scroll(object sender, EventArgs e)
        {
            d_in = double.Parse(textBox6.Text) +
                   (double.Parse(textBox7.Text) - double.Parse(textBox6.Text)) * trackBar2.Value / trackBar2.Maximum;
            textBox2.Text = d_in.ToString();

            //пересчитать
            DiskCalculator.RefreshPoints();
        }
        private void trackBar1_Scroll(object sender, EventArgs e)
        {
            R = double.Parse(textBox4.Text) +
                (double.Parse(textBox5.Text) - double.Parse(textBox4.Text)) * trackBar1.Value / trackBar1.Maximum;
            textBox1.Text = R.ToString();
            textBox6.Text = R.ToString();

            DiskCalculator.RefreshPoints();
        }
        public Form1()
        {
            _diskOpenGlHelper = new DiskOpenGLHelper(this);
            InitializeComponent();
            anT.InitializeContexts();

            _diskCalculator = new DiskCalculator(this);

            InitStartParams();

            firstStyle  = tableLayoutPanel1.RowStyles[1].Height;
            secondStyle = tableLayoutPanel1.RowStyles[2].Height;
        }
 private void radioButton2_CheckedChanged(object sender, EventArgs e)
 {
     FirstForm = false;
     DiskCalculator.RefreshPoints();
 }