private void button1_Click(object sender, EventArgs e) { Waves.DCircle c = new Waves.DCircle(new Point(textBox4.Text.ToDouble(), textBox5.Text.ToDouble()), textBox1.Text.ToDouble(), textBox2.Text.ToDouble(), textBox3.Text.ToDouble(), Convert.ToInt32(numericUpDown1.Value), Convert.ToInt32(numericUpDown2.Value)); Draw(c.GetArraysForDraw(Convert.ToInt32(numericUpDown1.Value), Convert.ToInt32(numericUpDown2.Value)), c, Convert.ToInt32(numericUpDown3.Value)); //c.Center.Show(); }