Esempio n. 1
0
        private void grdGet_ColumnHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            // 헤더 컬럼 클릭시
            if (e.ColumnIndex != 1)
            {
                return;
            }

            if (bHeadCheck == false)
            {
                grdGet.Columns[1].HeaderText = "[v]";
                bHeadCheck = true;
                wConst.select_Check(grdGet, 1, bHeadCheck);
            }
            else
            {
                grdGet.Columns[1].HeaderText = "[ ]";
                bHeadCheck = false;
                wConst.select_Check(grdGet, 1, bHeadCheck);
            }
            grdGet.RefreshEdit();
            grdGet.Refresh();
        }