private void bunifuFlatButton2_Click(object sender, EventArgs e) { addResidentForm f = new addResidentForm(); f.id = mytable.SelectedCells[0].Value.ToString(); f.Show(); }
private void bunifuFlatButton1_Click(object sender, EventArgs e) { addResidentForm f = new addResidentForm(); f.Show(); }