private void pictureBox2_Click(object sender, EventArgs e) { Stud stud1 = new Stud(int.Parse(this.textBox1.Text), this.textBox2.Text, this.textBox3.Text, this.textBox4.Text); stud1.update(); }
private void button1_Click(object sender, EventArgs e) { Stud stud1 = new Stud(int.Parse(this.textBox1.Text)); stud1.balance(); }