示例#1
0
        private void PRM_PRF_005_Load(object sender, EventArgs e)
        {
            ((MainForm)this.MdiParent).RefreshFormEvent += new System.EventHandler(this.RefreshFormShow); // 새로고침

            DatagridviewDesigns.SetDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차코드", "GV_Code", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차명", "GV_Name", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차그룹명", "GV_Group", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 120, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차상태", "GV_Status", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차수량", "GV_Qty", true, 100, DataGridViewContentAlignment.MiddleRight, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩일자", "Loading_date", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩시간", "Loading_time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩작업장", "Loading_Wc", true, 120, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩일자", "Unloading_date", true, 120, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩시간", "Unloading_time", true, 120, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩작업장", "Unloading_Wc", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "요입시간", "In_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "중간시간", "Center_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "요출시간", "Out_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);

            gvwi = gvwiservice.GetAllGV_Work_Item();
            dgvMainGrid.DataSource = gvwi;
        }
示例#2
0
        private void QAM_SQC_004_Load(object sender, EventArgs e)
        {
            ((MainForm)this.MdiParent).RefreshFormEvent += new System.EventHandler(this.RefreshFormShow); // 새로고침

            #region 그리드뷰
            DatagridviewDesigns.SetDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 150, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산일", "Prd_Date", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "공정", "Process_name", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업장", "Wc_Name", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 150, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "측정항목", "Inspect_name", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "USL", "USL", true, 100, DataGridViewContentAlignment.MiddleRight, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "SL", "SL", true, 100, DataGridViewContentAlignment.MiddleRight, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "LSL", "LSL", true, 100, DataGridViewContentAlignment.MiddleRight, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "측정일시", "Inspect_datetime", true, 150, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "측정회차", "Inspect_date", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "측정순번", "Inspect_measure_seq", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "측정값", "Inspect_val", true, 100, DataGridViewContentAlignment.MiddleRight, true);
            #endregion

            lhm = lhmservice.GetAllInspectMeasure_History_Master(); //전체 조회
            dgvMainGrid.DataSource = lhm;
        }
示例#3
0
        private void MainDataLoad()
        {
            InitControlUtil.SetDGVDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시상태", "Wo_Status", true, 110);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 110);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획일자", "Plan_Date", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획수량", "Plan_Qty", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획수량단위", "Plan_Unit", true, 110);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업장명", "Wc_Name", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업일자", "Prd_Date", true, 90);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업시작시간", "Prd_Starttime", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업종료시간", "Prd_Endtime", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "투입수량", "In_Qty_Main", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "산출수량", "Out_Qty_Main", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산수량", "Prd_Qty", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산의뢰순번", "Req_Seq", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산의뢰번호", "Wo_Req_No", true, 80);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "프로젝트명", "Project_Name", true, 100);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "공정코드", "Process_Code", false, 100);

            dgvMainGrid.Columns[9].DefaultCellStyle.Format  = "HH:mm:ss";
            dgvMainGrid.Columns[10].DefaultCellStyle.Format = "HH:mm:ss";
        }
示例#4
0
 private void MainDataLoad()
 {
     InitControlUtil.SetDGVDesign(dgvMainGrid);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 250, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "품목명", "Item_Name", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "포장일자", "In_Date", true, 250, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "일일 포장량", "F_In_Qty", true, 170, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "누계 포장량", "Qty_Sum", true, 170, DataGridViewContentAlignment.MiddleRight);
 }
示例#5
0
 private void MainDataLoad()
 {
     InitControlUtil.SetDGVDesign(dgvMainGrid);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시상태", "Wo_Status", true, 110);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 110);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획일자", "Plan_Date", true, 100);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획수량", "Plan_Qty", true, 80);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "계획수량단위", "Plan_Unit", true, 80);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 90);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 90, default, true);
示例#6
0
        private void MDS_SDS_002_Load(object sender, EventArgs e)
        {
            panelsetting.Enabled = false;

            ((MainForm)this.MdiParent).MyUpdateEvent    += new System.EventHandler(this.MyUpdateShow);   //입력이벤트 등록
            ((MainForm)this.MdiParent).InsertFormEvent  += new System.EventHandler(this.InsertFormShow); //입력이벤트 등록
            ((MainForm)this.MdiParent).RefreshFormEvent += new EventHandler(this.RefreshFormShow);
            ((MainForm)this.MdiParent).MyDeleteEvent    += new EventHandler(this.MyDelete);

            DatagridviewDesigns.SetDesign(dgvItem);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvItem, "품목코드", "Item_Code", true, 75, default, true);
示例#7
0
        private void QAM_SQC_003_Load(object sender, EventArgs e)
        {
            ((MainForm)this.MdiParent).RefreshFormEvent += new System.EventHandler(this.RefreshFormShow); // 새로고침
            ((MainForm)this.MdiParent).InsertFormEvent  += new System.EventHandler(this.InsertFormShow);  // 추가
            ((MainForm)this.MdiParent).MyDeleteEvent    += new System.EventHandler(this.MyDeleteShow);    // 삭제
            dgvMainGrid.CellDoubleClick   += DgvMainGrid_CellDoubleClick;                                 //메인그리드뷰 더블클릭
            dgvSubGrid.CellDoubleClick    += DgvSubGrid_CellDoubleClick;                                  //서브그리드뷰 더블클릭
            dgvSubSubGrid.CellDoubleClick += DgvSubSubGrid_CellDoubleClick;                               //서브서브그리드뷰 더블클릭

            #region 메인그리드뷰
            DatagridviewDesigns.SetDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "조건순번", "Condition_measure_seq", true, 100, default, false);
示例#8
0
        private void PRM_PRF_010_Load(object sender, EventArgs e)
        {
            ((MainForm)this.MdiParent).RefreshFormEvent += new System.EventHandler(this.RefreshFormShow); // 새로고침
            dgvMainGrid.CellDoubleClick += DgvMainGrid_CellDoubleClick;                                   //메인그리드뷰 더블클릭

            try
            {
                #region 메인그리드뷰
                DatagridviewDesigns.SetDesign(dgvMainGrid);
                dgvMainGrid.AutoGenerateColumns = true;
                dgvMainGrid.AllowUserToAddRows  = false;
                dgvMainGrid.SelectionMode       = DataGridViewSelectionMode.FullRowSelect;

                DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "사용자ID", "User_ID", true, 100, default, false);
示例#9
0
 private void MainDataLoad()
 {
     InitControlUtil.SetDGVDesign(dgvMainGrid);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "공정명", "Process_Name", true, 100, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업장명", "Wc_Name", true, 110, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "품목명", "Item_Name", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "전월목표량", "laPlan_Oty", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "전월생산량", "laPrd_Qty", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "전월생산시간(h)", "laPrd_Time", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "전월달성률", "laAttain", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "당월목표량", "Plan_Oty", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "당월생산량", "Prd_Qty", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "당월생산시간(h)", "Prd_Time", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "당월달성률", "Attain", true, 95, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "전월대비증감량", "Inde", true, 90, DataGridViewContentAlignment.MiddleRight);
 }
示例#10
0
 private void SubDataLoad()
 {
     InitControlUtil.SetDGVDesign(dgvSubGrid);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "No.", "Req_Seq", true, 60, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "생산의뢰번호", "Wo_Req_No", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "작업지시상태", "Wo_Status", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "작업지시번호", "Workorderno", true, 110, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "작업지시일자", "Prd_Date", true, 110, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "품목코드", "Item_Code", true, 110, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "품목명", "Item_Name", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "작업장명", "Wc_Name", true, 120, DataGridViewContentAlignment.MiddleCenter);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "계획수량", "Plan_Qty", true, 60, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "투입수량", "In_Qty_Main", true, 60, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "산출수량", "Out_Qty_Main", true, 60, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvSubGrid, "생산수량", "Prd_Qty", true, 60, DataGridViewContentAlignment.MiddleRight);
     DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvSubGrid, "비고", "Remark", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
 }
示例#11
0
        }//새로고침버튼클릭

        /// <summary>
        /// 데이터 그리드뷰 바인딩
        /// </summary>
        private void MainGridLoad()
        {
            InitControlUtil.SetDGVDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 110, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 85, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 85, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산일자", "Prd_Date", true, 95, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업장코드", "Wc_Code", true, 95, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업장이름", "Wc_Name", true, 95, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형코드", "Mold_Code", true, 100, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형명", "Mold_Name", true, 90, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형타수", "Mold_Shot_Cnt", true, 80, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형생산량", "Mold_Prd_Qty", true, 90, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형사용시작시간", "Use_Starttime", true, 145, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형사용종료시간", "Use_Endtime", true, 145, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "금형사용시간", "Use_time", true, 100, DataGridViewContentAlignment.MiddleCenter, true);
        }
示例#12
0
        }//추가버튼클릭

        /// <summary>
        /// 데이터 그리드뷰 바인딩
        /// </summary>
        private void MainDataLoad()
        {
            InitControlUtil.SetDGVDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형코드", "Mold_Code", true, 100, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "금형명", "Mold_Name", true, 110, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형그룹", "Mold_Group", true, 90, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형상태", "Mold_Status", true, 80, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형누적타수", "Cum_Shot_Cnt", true, 105, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형누적생산량", "Cum_Prd_Qty", true, 120, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "금형누적사용시간", "Cum_Time", true, 130, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "보장타수", "Guar_Shot_Cnt", true, 90, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "구입금액", "Purchase_Amt", true, 90, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "입고일자", "In_Date", true, 100, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "최종장착일시", "Last_Setup_Time", true, 140, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "사용여부", "Use_YN", true, 60, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "비고", "Remark", true, 140, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "비고", "Wc_Code", false, 160);
        }
示例#13
0
        private void PRM_PRF_006_Load(object sender, EventArgs e)
        {
            ((MainForm)this.MdiParent).RefreshFormEvent += new System.EventHandler(this.RefreshFormShow); // 새로고침

            #region 그리드뷰
            DatagridviewDesigns.SetDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차코드", "GV_Code", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "대차명", "GV_Name", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "작업지시번호", "Workorderno", true, 120, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목명", "Item_Name", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩일자", "Loading_Date", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩수량", "Loading_Qty", true, 100, DataGridViewContentAlignment.MiddleRight, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩시간", "Loading_time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "로딩작업장", "Loading_Wc", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "요입시간", "In_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "중간시간", "Center_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "요출시간", "Out_Time", true, 150, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩수량", "Unloading_Qty", true, 100, DataGridViewContentAlignment.MiddleRight, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩일자", "Unloading_date", true, 100, DataGridViewContentAlignment.MiddleCenter, false);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "언로딩일시", "Unloading_datetime", true, 150, default, false);
示例#14
0
        private void MainDataLoad()
        {
            InitControlUtil.SetDGVDesign(dgvMainGrid);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "No.", "Req_Seq", true, 60, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산의뢰번호", "Wo_Req_No", true, 110, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "의뢰일자", "Ins_Date", true, 110, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "품목코드", "Item_Code", true, 100, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "품목명", "Item_Name", true, 80, DataGridViewContentAlignment.MiddleCenter, true);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "의뢰수량", "Req_Qty", true, 90, DataGridViewContentAlignment.MiddleRight);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "프로젝트명", "Project_Name", true, 110, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "거래처명", "Cust_Name", true, 90, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "영업담당", "Sale_Emp", true, 90, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산의뢰상태", "Req_Status", true, 110, DataGridViewContentAlignment.MiddleCenter);
            DatagridviewDesigns.AddNewColumnToDataGridView_Autosize(dgvMainGrid, "생산완료예정일", "Prd_Plan_Date", true, 90, DataGridViewContentAlignment.MiddleCenter, true);

            DataGridViewCheckBoxColumn chk = new DataGridViewCheckBoxColumn();

            chk.HeaderText = "선택";
            chk.Name       = "check";
            chk.TrueValue  = true;
            chk.FalseValue = false;
            chk.Width      = 50;
            dgvMainGrid.Columns.Insert(0, chk);
        }
示例#15
0
 private void MainDataLoad()
 {
     InitControlUtil.SetDGVDesign(dgvMainGrid);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "생산일자", "Prd_Date", true, 100);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvMainGrid, "공정명", "Process_Name", true, 110, default, true);
示例#16
0
 private void GV_Current_NOStatus() // 빈 현황 그리드뷰
 {
     DatagridviewDesigns.SetDesign(dataGridView1);
     DatagridviewDesigns.AddNewColumnToDataGridView(dataGridView1, "대차코드", "GV_Code", true, 100, default, true);
示例#17
0
 private void MSS_CON_002_1_Load(object sender, EventArgs e)
 {
     DatagridviewDesigns.SetDesign(dgvNotUseScreen);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvNotUseScreen, "화면코드", "Screen_Code", true, 100, default, true);
示例#18
0
 private void MDS_SDS_007_2_Load(object sender, EventArgs e)
 {
     DatagridviewDesigns.SetDesign(dgvCondition);
     DatagridviewDesigns.AddNewColumnToDataGridView(dgvCondition, "품목코드", "Item_Code", true, 210, default, true);
示例#19
0
        private void MDS_SDS_006_2_Load(object sender, EventArgs e)
        {
            DatagridviewDesigns.SetDesign(dgvinspect);


            DatagridviewDesigns.AddNewColumnToDataGridView(dgvinspect, "검사항목코드", "Inspect_code", true, 210, default, true);