private void grdCellSetting()
        {
            ComInfo comInfo = new ComInfo();

            comInfo.grdCellSetting(rawStockGrid);
            comInfo.grdCellSetting(rawDetailGrid);
            grdListPrint();
        }
Example #2
0
        private void grdCellSetting()
        {
            ComInfo comInfo = new ComInfo();

            comInfo.grdCellSetting(rawStockGrid);
            comInfo.grdCellSetting(rawDetailGrid);

            //for (int i = 0; i < rawStockGrid.ColumnCount; i++)
            //{
            //    rawStockGrid.Columns[i].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            //    rawStockGrid.Columns[i].ReadOnly = true;
            //}

            //for (int i = 0; i < rawDetailGrid.ColumnCount; i++)
            //{
            //    rawDetailGrid.Columns[i].DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter;
            //    rawDetailGrid.Columns[i].ReadOnly = true;
            //}
        }
        private void grdCellSetting()
        {
            ComInfo comInfo = new ComInfo();

            comInfo.grdCellSetting(inputRmGrid);
        }