private void bunifuButton3_Click_1(object sender, EventArgs e) { Add_detail f = new Add_detail(null); f.Show(); f.d += new Add_detail.Mydel(Show1); }
private void bunifuButton4_Click(object sender, EventArgs e) { if (bunifuDataGridView1.SelectedRows.Count == 1) { string id_detroute = bunifuDataGridView1.SelectedRows[0].Cells["id_delroute"].Value.ToString(); Add_detail f = new Add_detail(id_detroute); f.d += new Add_detail.Mydel(Show1); f.Show(); } else { MessageBox.Show("ban chua chon gia tri can edit"); } }