private void btnAdd_Click(object sender, EventArgs e)
 {
     var frm = new frmAddUser(0);
     this.ParentForm.Opacity = .55;
     frm.ShowDialog();
     this.ParentForm.Opacity = 1;
     dgvListNV.DataSource = BUS_User.GetAllUser();
 }
        private void btnSetting_Click(object sender, EventArgs e)
        {
            if (panel6.Visible == true)
            {
                panel6.Visible = false;
                panel6.Width   = 9;
            }
            MoveSidePanel(btnSetting);
            var frm = new frmAddUser(thisacc.CMND);

            this.Opacity = .55;
            frm.ShowDialog();
            this.Opacity = 1;
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            DataGridViewSelectedRowCollection r = dgvListNV.SelectedRows;
            if (r.Count == 1)
            {
                int cmnd = Convert.ToInt32(r[0].Cells["Column1"].Value.ToString());
                var frm = new frmAddUser(cmnd);
                this.ParentForm.Opacity = .55;
                frm.ShowDialog();
                this.ParentForm.Opacity = 1;
                dgvListNV.DataSource = BUS_User.GetAllUser();

            }
        }