Example #1
0
        private void btn_Them_Click(object sender, EventArgs e)
        {
            FrmThemNguoiDung frm = new FrmThemNguoiDung(this);
            Form             f   = (Form)frm;

            f.Show();
            f.Focus();
        }
Example #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            DataGridViewRow  row  = dgvNguoiDung.CurrentCell.OwningRow;
            string           maND = row.Cells["MaND"].Value.ToString();
            FrmThemNguoiDung frm  = new FrmThemNguoiDung(this, long.Parse(maND));
            Form             f    = (Form)frm;

            f.Show();
            f.Focus();
        }