private void button3_Click(object sender, EventArgs e) { Reset(); } private void Reset() { dataGridView1.Rows.Clear(); dataGridView1.Visible = false; textDolna.Text = ""; textGorna.Text = ""; textZmienna.Text = ""; textPrzyrost.Text = ""; textWartoscFunkcji.Text = ""; }