* unimarc

a. 팩스전송 완료.
 b. 마크목록 폼 작성중
  1. 엑셀반출 기능 추가중 사용 작업중
  2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료)
   2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김.
   2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 진행해야함.
   2-3. 현재 TODO : 저장기능

* ISBN 체크 프로그램 - ★작업완료★
 a. 현재 마크팀 배포완료. - 추후 수정사항발생시 수정할 것.

TODOLIST
1. 팩스로 전송될 엑셀파일 밑작업마무리 (입력될 파라미터만 적용하면 실사용가능)
This commit is contained in:
SeungHo Yang
2021-04-05 18:33:22 +09:00
parent 1c0d786a90
commit 57aedd13d4
24 changed files with 206 additions and 52 deletions

View File

@@ -66,9 +66,8 @@ namespace ISBN_Check_test
tb_book_comp.Text = f1.dataGridView1.Rows[row].Cells["book_comp"].Value.ToString();
if (f1.dataGridView1.Rows[row].Cells["price"].Value != null)
{
tb_price.Text = f1.dataGridView1.Rows[row].Cells["price"].Value.ToString();
}
else { tb_price.Text = ""; }
string data = f1.dataGridView1.Rows[row].Cells["Column1"].Value.ToString();
@@ -96,7 +95,7 @@ namespace ISBN_Check_test
else if (Call_API == "네이버")
return DateTime.ParseExact(date, "yyyyMMdd", null).ToString("yyyy-MM-dd");
else
return "NULL";
return date;
}
private void same_chk()
{
@@ -108,7 +107,7 @@ namespace ISBN_Check_test
tb_price.Text.Replace(",","") };
for(int a= 0; a < dataGridView1.Rows.Count - 1; a++)
for(int a= 0; a < dataGridView1.Rows.Count; a++)
{
int chk_idx = 0;
@@ -121,12 +120,13 @@ namespace ISBN_Check_test
if(dataGridView1.Rows[a].Cells["book_comp"].Value.ToString() == ori_data[2]) {
chk_idx++;
}
if (chk_idx >= 2) {
int price = Convert.ToInt32(ori_data[4]);
int pay = Convert.ToInt32(dataGridView1.Rows[a].Cells["price"].Value.ToString());
int price = 0;
if (ori_data[4] != "")
price = Convert.ToInt32(ori_data[4]);
if(price-5000 <= pay && pay <= price + 5000)
if (price - 5000 <= pay && pay <= price + 5000)
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
else
@@ -137,8 +137,7 @@ namespace ISBN_Check_test
}
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
if(e != null) { rowidx = e.RowIndex;}
if(e != null) { rowidx = e.RowIndex; }
string book_name = dataGridView1.Rows[rowidx].Cells["book_name"].Value.ToString();
string author = dataGridView1.Rows[rowidx].Cells["author"].Value.ToString();
string book_comp = dataGridView1.Rows[rowidx].Cells["book_comp"].Value.ToString();
@@ -169,8 +168,19 @@ namespace ISBN_Check_test
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
{
if(e.KeyCode == Keys.Enter) { dataGridView1_CellDoubleClick(null, null); }
if (e.KeyCode == Keys.Up) { rowidx--; }
if (e.KeyCode == Keys.Down) { rowidx++; }
if (e.KeyCode == Keys.Up) {
rowidx--;
if (rowidx < 0)
rowidx = 0;
}
if (e.KeyCode == Keys.Down) {
rowidx++;
if (rowidx > dataGridView1.Rows.Count - 1)
rowidx = dataGridView1.Rows.Count - 1;
}
if (e.KeyCode == Keys.Escape) {
this.Close();
}
}
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{