示例#1
0
        //----------------------------------------------------------------------------//
        //     Property                                                               //
        //----------------------------------------------------------------------------//

        //----------------------------------------------------------------------------//
        //     Method                                                                 //
        //----------------------------------------------------------------------------//
        private void FormReview_Load(object sender, EventArgs e)
        {
            UiHandling uih = new UiHandling(dataGridView1);

            uih.DgvReadyNoRHeader();
            //並び替えができないようにする
            uih.NoSortable();

            uih.DgvColumnsWidth(85);
            uih.DgvColumnsWidth(0, 90);

            dataGridView1.Rows.Add(iniRCnt);
            uih.DgvRowsHeight(26);
            uih.DgvRowsReadOnly(readOnlyRows, Color.PaleGreen);
            uih.DgvRowsReadOnly(readOnlyRowsW, Color.White);
            uih.DgvColumnsReadOnly(readOnlyCells, Color.PaleGreen);

            create_cbOffice();
            create_cbDepart();
            create_cbYM();
            setColumnLimitter();

            setViewData(dataGridView1);
        }