Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmTTNV f = new frmTTNV(null);

            f.d += new frmTTNV.Del(Show1);
            f.Show();
        }
Exemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     idnv = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["ID"].Value).ToString();
     if (dataGridView1.SelectedRows.Count == 1)
     {
         frmTTNV f = new frmTTNV(idnv);
         f.d += new frmTTNV.Del(Show1);
         f.Show();
     }
 }