private void btnThem_Click(object sender, EventArgs e) { AddNumberForm formAddNumber = new AddNumberForm(); formAddNumber.ShowDialog(); label11.Text = "phone number: " + formAddNumber.rtbNumberAdd.Text; dgvPhoneList.Rows.Add(false, "", formAddNumber.rtbNumberAdd.Text, "", "", "", ""); }
private void btnThem_Click(object sender, EventArgs e) { AddNumberForm formAddNumber = new AddNumberForm(); formAddNumber.ShowDialog(); label11.Text = "phone number: " + formAddNumber.rtbNumberAdd.Text; dgvPhoneList.Rows.Add(false, "", formAddNumber.rtbNumberAdd.Text, "","","",""); }