* unimarc
a. 팩스전송 완료. b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업중 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 진행해야함. 2-3. 현재 TODO : 저장기능 * ISBN 체크 프로그램 - ★작업완료★ a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것. TODOLIST 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함.
This commit is contained in:
@@ -19,8 +19,8 @@ namespace WindowsFormsApp1.Delivery
|
||||
Helper_DB db = new Helper_DB();
|
||||
|
||||
int grididx = 0;
|
||||
public string Where_Open = "";
|
||||
string searchText = "";
|
||||
public string Where_Open;
|
||||
public string searchText;
|
||||
string compidx;
|
||||
|
||||
public Order_input_Search(Order_input o_in)
|
||||
@@ -28,12 +28,6 @@ namespace WindowsFormsApp1.Delivery
|
||||
InitializeComponent();
|
||||
oin = o_in;
|
||||
compidx = oin.compidx;
|
||||
if (Where_Open == "book_list") {
|
||||
searchText = oin.tb_search_book_list.Text;
|
||||
}
|
||||
else if (Where_Open == "Order") {
|
||||
searchText = oin.tb_orderText.Text;
|
||||
}
|
||||
}
|
||||
public Order_input_Search(Remit_reg2 _rem2)
|
||||
{
|
||||
@@ -76,8 +70,7 @@ namespace WindowsFormsApp1.Delivery
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"sangho", searchText, "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
/*
|
||||
if (searchText == "") {
|
||||
/* if (searchText == "") {
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"", "", "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
@@ -87,7 +80,7 @@ namespace WindowsFormsApp1.Delivery
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"sangho", searchText, "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
}*/
|
||||
} */
|
||||
}
|
||||
}
|
||||
private void made_grid(string strValue)
|
||||
@@ -99,9 +92,19 @@ namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
if (a % 3 == 0) { res[0] = data[a]; }
|
||||
if (a % 3 == 1) { res[1] = data[a]; }
|
||||
if (a % 3 == 2) { res[2] = data[a]; dataGridView1.Rows.Add(res); }
|
||||
if (a % 3 == 2) { res[2] = data[a];
|
||||
if(Contain_Text(res[0]))
|
||||
dataGridView1.Rows.Add(res);
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool Contain_Text(string ori)
|
||||
{
|
||||
if (ori.Contains(searchText))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
grididx = e.RowIndex;
|
||||
@@ -154,8 +157,5 @@ namespace WindowsFormsApp1.Delivery
|
||||
pb.tb_purchase.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString();
|
||||
pb.btn_Lookup_Click(null, null);
|
||||
}
|
||||
private void Order_input_Search_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user