private void button2_Click(object sender, EventArgs e) { Form106 f106 = new Form106(); f106.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { DataSet2TableAdapters.CONTRIBUYENTETableAdapter contri = new DataSet2TableAdapters.CONTRIBUYENTETableAdapter(); contri.UpdateContribuyente(total, Convert.ToInt32(LblId.Text)); Form106 f106 = new Form106(); f106.Show(); this.Hide(); }