=====* UniMarc [0.0137] 버전 업데이트 내용 *=====
** ERP 작업 전면 중단 (마크우선) ** *** 마크작성 - 칸채우기 버그 수정을 위해 테스트 계정 제외하고 잠금*** 1. 복본조사 ㄴ> 조사안되는 버그 수정
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -65,17 +65,17 @@ namespace WindowsFormsApp1.Mac
|
|||||||
private void btn_Start_Click(object sender, EventArgs e)
|
private void btn_Start_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
DialogResult MsgResult = MessageBox.Show("선택된 필터를 적용하시겠습니까?", "필터 적용", MessageBoxButtons.YesNoCancel);
|
DialogResult MsgResult = MessageBox.Show("선택된 필터를 적용하시겠습니까?", "필터 적용", MessageBoxButtons.YesNoCancel);
|
||||||
|
|
||||||
if (MsgResult == DialogResult.Yes)
|
if (MsgResult == DialogResult.Yes)
|
||||||
{
|
{
|
||||||
int count = dataGridView1.Rows.Count;
|
int count = dataGridView1.Rows.Count;
|
||||||
|
|
||||||
if (count <= 1)
|
if (count <= 1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (chk_spChar.Checked)
|
if (chk_spChar.Checked)
|
||||||
RemoveSpecialChar(count);
|
RemoveSpecialChar(count);
|
||||||
|
|
||||||
if (chk_RemoveBrit.Checked)
|
if (chk_RemoveBrit.Checked)
|
||||||
RemoveInBrit(count);
|
RemoveInBrit(count);
|
||||||
}
|
}
|
||||||
@@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user