예제 #1
0
        private void gridViewDefectList_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            DefectDetails DefectDetails = new DefectDetails();

            DefectDetails.Show();
            DefectDetails.Dock = DockStyle.Fill;
        }
예제 #2
0
        private void gvHome_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (this.UserRoleIDHP == "R4")
            {
                return;
            }

            DefectDetails DefectDetails = new DefectDetails();

            DefectDetails.UserIDDD   = this.UserIDHP;
            DefectDetails.UserNameDD = this.UserNameHP;
            DefectDetails.BugID      = gvHome.CurrentCell.Value.ToString();
            DefectDetails.RoleIDDD   = UserRoleIDHP.ToString();
            DefectDetails.Show();
        }