* unimarc

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

TODOLIST
1. 팩스로 전송될 엑셀파일 밑작업마무리 (입력될 파라미터만 적용하면 실사용가능)
2. 알라딘API로 ISBN조회 프로젝트 새로 작업할 것 => 대부분의 작업 완료. 자동 업데이트쪽만 알아보면 될것같음.
This commit is contained in:
SeungHo Yang
2021-03-24 18:32:21 +09:00
parent 2278cbbf9e
commit d13f0e942a
36 changed files with 1628 additions and 52 deletions

View File

@@ -21,6 +21,16 @@ namespace ISBN_Check_test
}
private void Form2_Load(object sender, EventArgs e)
{
tb_book_name.Text = f1.dataGridView1.Rows[row].Cells["book_name"].Value.ToString();
tb_author.Text = f1.dataGridView1.Rows[row].Cells["author"].Value.ToString();
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();
// 도서명 / 저자 / 출판사 / isbn / 출간일 / 카테고리 / 품절여부
@@ -38,6 +48,38 @@ namespace ISBN_Check_test
if (a % 8 == 6) { grid[6] = tmp[a]; }
if (a % 8 == 7) { grid[7] = tmp[a]; dataGridView1.Rows.Add(grid); }
}
// 비슷한거 색깔표시
same_chk();
}
private void same_chk()
{
// 도서명, 저자, 출판사, ISBN, 정가
string[] ori_data = { tb_book_name.Text,
tb_author.Text,
tb_book_comp.Text,
tb_isbn.Text,
tb_price.Text };
for(int a= 0; a < dataGridView1.Rows.Count - 1; a++)
{
int chk_idx = 0;
if(dataGridView1.Rows[a].Cells["book_name"].Value.ToString() == ori_data[0]) {
chk_idx++;
}
if(dataGridView1.Rows[a].Cells["author"].Value.ToString().Contains(ori_data[1]) == true) {
chk_idx++;
}
if(dataGridView1.Rows[a].Cells["book_comp"].Value.ToString() == ori_data[2]) {
chk_idx++;
}
if (chk_idx >= 2) {
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
}
}
}
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
@@ -55,10 +97,19 @@ namespace ISBN_Check_test
f1.dataGridView1.Rows[row].Cells["author"].Value = author;
f1.dataGridView1.Rows[row].Cells["book_comp"].Value = book_comp;
f1.dataGridView1.Rows[row].Cells["isbn"].Value = isbn;
f1.dataGridView1.Rows[row].Cells["price"].Value = price;
f1.dataGridView1.Rows[row].Cells["price2"].Value = price;
f1.dataGridView1.Rows[row].Cells["pubDate"].Value = Date;
f1.dataGridView1.Rows[row].Cells["category"].Value = category;
f1.dataGridView1.Rows[row].Cells["sold_out"].Value = sold;
f1.dataGridView1.Rows[row].DefaultCellStyle.BackColor = Color.Yellow;
this.Close();
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
}
}