=====* UniMarc [0.0137] 버전 업데이트 내용 *=====

** ERP 작업 전면 중단 (마크우선) **
*** 마크작성 - 칸채우기 버그 수정을 위해 테스트 계정 제외하고 잠금***

1. 복본조사
ㄴ> 조사안되는 버그 수정
This commit is contained in:
SeungHo Yang
2022-03-17 20:02:53 +09:00
parent 723818aa34
commit 5bba945aeb
8 changed files with 8 additions and 50 deletions

Binary file not shown.

View File

@@ -84,61 +84,19 @@ namespace WindowsFormsApp1.Mac
dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0]; dataGridView1.CurrentCell = dataGridView1.Rows[0].Cells[0];
return;
webBrowser1.Navigate(""); webBrowser1.Navigate("");
int SCount = Convert.ToInt32(SearchCount.Value); int SCount = Convert.ToInt32(SearchCount.Value);
if (URL is null) if (URL is null)
return;
webBrowser1.Navigate(URL);
if (URL.IndexOf("") < 0)// ||
//URL.IndexOf("lib.jeonnam.go.kr") < 0)
{
webBrowser1.DocumentCompleted += this.webBrowser1_DocumentCompleted;
return;
}
else
{ {
webBrowser1.DocumentCompleted -= this.webBrowser1_DocumentCompleted; webBrowser1.DocumentCompleted -= this.webBrowser1_DocumentCompleted;
} }
else
for (int a = 0; a < SCount; a++)
{ {
if (dataGridView1.Rows[a].Cells["book_name"].Value == null) webBrowser1.Navigate(URL);
continue; webBrowser1.DocumentCompleted += this.webBrowser1_DocumentCompleted;
return;
if (dataGridView1.Rows[a].Cells["book_name"].Value.ToString() == "")
continue;
if (isStop)
break;
string BookSearchCount = CopyCount(dataGridView1.Rows[a].Cells["book_name"].Value.ToString());
if (BookSearchCount == "false")
{
MessageBox.Show("검색대상이 설정되지않았습니다!");
return;
}
if (BookSearchCount == "0" || BookSearchCount == "" || BookSearchCount == "미소장")
{
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.LightGray;
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Red;
BookSearchCount = "미소장";
}
else
{
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
dataGridView1.Rows[a].DefaultCellStyle.ForeColor = Color.Blue;
BookSearchCount = "소장";
}
dataGridView1.Rows[a].Cells["Count"].Value = BookSearchCount;
} }
} }