=====* unimarc *=====
------------------------ =====* ISBN 체크 프로그램 *===== ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. ------------------------ ===== 작업중 ===== ===== 보류 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 c. 마크 반입 폼 수정중 1. 불러오기는 되나 저장 기능이 필요함. ===== 완료 ===== 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것 - 완료) 주문관리 작업중 (DataGridView 주문처 엔터키 입력시 검색되게끔 하는 코드작성중) - 21.04.27 완료
This commit is contained in:
		| @@ -22,7 +22,6 @@ namespace WindowsFormsApp1.Delivery | ||||
|         int ColumnIndex; | ||||
|         string chk_mkdate = ""; | ||||
|         bool chk_V = false; | ||||
|         bool chk_O = false; | ||||
|         public Order_input(Main _main) | ||||
|         { | ||||
|             InitializeComponent(); | ||||
| @@ -155,21 +154,21 @@ namespace WindowsFormsApp1.Delivery | ||||
|         /// 작업명단 검색중 상위 텍스트박스 및 콤보박스의 값에 따라 출력할지 안할지 분류. | ||||
|         /// </summary> | ||||
|         /// <param name="strValues"></param> | ||||
|         /// <returns></returns> | ||||
|         /// <returns>false일 경우 필터에 걸러진 경우임.</returns> | ||||
|         private bool Array_Inspection(string[] strValues) | ||||
|         { | ||||
|             if (tb_search_order.Text != "") { | ||||
|                 if(strValues[1].Contains(tb_search_order.Text) == false) { | ||||
|                 if (!strValues[1].Contains(tb_search_order.Text)) { | ||||
|                     return false; | ||||
|                 } | ||||
|             } | ||||
|             if (tb_search_book_name.Text != "") { | ||||
|                 if (strValues[3].Contains(tb_search_book_name.Text) == false) { | ||||
|                 if (!strValues[3].Contains(tb_search_book_name.Text)) { | ||||
|                     return false; | ||||
|                 } | ||||
|             } | ||||
|             if (tb_search_book_comp.Text != "") { | ||||
|                 if (strValues[5].Contains(tb_search_book_comp.Text) == false) { | ||||
|                 if (!strValues[5].Contains(tb_search_book_comp.Text)) { | ||||
|                     return false; | ||||
|                 } | ||||
|             } | ||||
| @@ -188,6 +187,10 @@ namespace WindowsFormsApp1.Delivery | ||||
|             if (e.KeyCode == Keys.Enter) { | ||||
|                 btn_lookup_Click(null, null); | ||||
|             } | ||||
|         } | ||||
|         private void btn_Save_Click(object sender, EventArgs e) | ||||
|         { | ||||
|  | ||||
|         } | ||||
|         private void btn_close_Click(object sender, EventArgs e) | ||||
|         { | ||||
| @@ -199,21 +202,15 @@ namespace WindowsFormsApp1.Delivery | ||||
|             { | ||||
|                 grididx = e.RowIndex; | ||||
|                 ColumnIndex = e.ColumnIndex; | ||||
|                 CheckBox check; | ||||
|                 foreach(DataGridViewRow row in dataGridView1.Rows) | ||||
|                 { | ||||
|                     check = (CheckBox)(row.Cells[16].Value); | ||||
|             } | ||||
|             if( dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected == dataGridView1.Rows[e.RowIndex].Cells["chk"].Selected) | ||||
|             { | ||||
|                 if (dataGridView1.Rows[e.RowIndex].Cells["chk"].Value.ToString() == "true") { | ||||
|                     dataGridView1.Rows[e.RowIndex].Cells["chk"].Value = "false"; | ||||
|                 } | ||||
|                 else if (dataGridView1.Rows[e.RowIndex].Cells["chk"].Value.ToString() == "false") { | ||||
|                     dataGridView1.Rows[e.RowIndex].Cells["chk"].Value = "true"; | ||||
|                 } | ||||
|             } | ||||
|             if (e.ColumnIndex == 0 && chk_O == false) | ||||
|             { | ||||
|                 dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "O"; | ||||
|                 chk_O = true; | ||||
|             } | ||||
|             else if (e.ColumnIndex == 0 && chk_O == true) | ||||
|             { | ||||
|                 dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = ""; | ||||
|                 chk_O = false; | ||||
|             } | ||||
|         } | ||||
|         private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) | ||||
| @@ -459,6 +456,13 @@ namespace WindowsFormsApp1.Delivery | ||||
|                 dataGridView1.Rows[a].Cells["order"].Value = tb_orderText.Text; | ||||
|             } | ||||
|         } | ||||
|         private void btn_Reset_Order_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int a = 0; a < dataGridView1.Rows.Count; a++) | ||||
|             { | ||||
|                 dataGridView1.Rows[a].Cells["order"].Value = ""; | ||||
|             } | ||||
|         } | ||||
|         private void btn_order_chk_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             for (int a = 0; a < dataGridView1.Rows.Count; a++) | ||||
| @@ -473,23 +477,40 @@ namespace WindowsFormsApp1.Delivery | ||||
|             { | ||||
|                 if (dataGridView1.Rows[a].Cells["order"].Value.ToString() == "") | ||||
|                     dataGridView1.Rows[a].Cells["order"].Value = tb_orderText.Text; | ||||
|             }  | ||||
|             } | ||||
|         } | ||||
|         private void btn_All_chk_Click(object sender, EventArgs e) | ||||
|         { | ||||
|             string name = ((Button)sender).Name; | ||||
|             for(int a = 0; a < dataGridView1.Rows.Count; a++) | ||||
|             { | ||||
|                 if (name == "btn_All_chk") | ||||
|                     dataGridView1.Rows[a].Cells["chk"].Value = "true"; | ||||
|  | ||||
|                 else if (name == "btn_All_unchk") | ||||
|                     dataGridView1.Rows[a].Cells["chk"].Value = "false"; | ||||
|             } | ||||
|         } | ||||
|         private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e) | ||||
|         { | ||||
|              | ||||
|         } | ||||
|         private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) | ||||
|         private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e) | ||||
|         { | ||||
|             var txtEdit = (TextBox)e.Control; | ||||
|             txtEdit.KeyDown += EditKeyDown; | ||||
|         } | ||||
|         private void EditKeyDown(object sender, KeyEventArgs e) | ||||
|         { | ||||
|             if (e.KeyCode == Keys.Enter) | ||||
|             if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected == dataGridView1.Rows[e.RowIndex].Cells["order"].Selected) | ||||
|             { | ||||
|                 e.SuppressKeyPress = true; | ||||
|                 base.OnKeyDown(e); | ||||
|                 if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString() != "" || | ||||
|                     dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null) | ||||
|                 { | ||||
|                     Order_input_Search search = new Order_input_Search(this); | ||||
|                     search.Where_Open = "Order_Grid"; | ||||
|                     search.searchText = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString(); | ||||
|                     search.oin_grid_idx[0] = e.RowIndex; | ||||
|                     search.oin_grid_idx[1] = e.ColumnIndex; | ||||
|                     search.TopMost = true; | ||||
|                     search.Show(); | ||||
|                 } | ||||
|                 else { return; } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang