=====* UniMarc [0.0115] 버전관리 시작 *=====
1. 소장자료검색에서 더블클릭시 마크편집폼으로 전환 2. 마크편집에서 [저장시각, 작성자, 비고, 등급] 추가로 표시 3. 복본조사 - 특수문자, 괄호안의 문자 제거기능 추가 4. 저자기호 일괄전환 추가 5. 마크목록생성 - 수량분리기능 추가.
This commit is contained in:
@@ -36,7 +36,6 @@ namespace WindowsFormsApp1.Mac
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
string res = tb_author.Text;
|
||||
string book = tb_book.Text;
|
||||
|
||||
@@ -53,7 +52,7 @@ namespace WindowsFormsApp1.Mac
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if(cb_symbol.Text == "동서양 저자기호법 (국중)") { }
|
||||
else if (cb_symbol.Text == "동서양 저자기호법 (국중)") { }
|
||||
else
|
||||
{
|
||||
if (!CheckKor(res))
|
||||
@@ -62,58 +61,48 @@ namespace WindowsFormsApp1.Mac
|
||||
return;
|
||||
}
|
||||
}
|
||||
/*
|
||||
char aut;
|
||||
if (tb_author.Text.Length <= 1)
|
||||
aut = tb_author.Text[0];
|
||||
else
|
||||
aut = tb_author.Text[1];
|
||||
string rb1 = sb.Author_Fillter(tb_author.Text[0], rb_author1.Checked);
|
||||
bool AuthorLookUp = rb_author1.Checked;
|
||||
bool BookLookUp = rb_book1.Checked;
|
||||
|
||||
#region 콤보박스 선택
|
||||
if (cb_symbol.SelectedIndex == 0) // 이재철 1표
|
||||
res = sb.Symbol_1(aut);
|
||||
if (cb_symbol.SelectedIndex == 1) // 이재철 2표
|
||||
res = sb.Symbol_2(aut);
|
||||
if (cb_symbol.SelectedIndex == 2) // 이재철 3표
|
||||
res = sb.Symbol_3(aut);
|
||||
if (cb_symbol.SelectedIndex == 3) // 이재철 4표
|
||||
res = sb.Symbol_4(aut);
|
||||
if (cb_symbol.SelectedIndex == 4) // 이재철 5표
|
||||
res = sb.Symbol_5(aut);
|
||||
if (cb_symbol.SelectedIndex == 5) // 이재철 6표
|
||||
res = sb.Symbol_6(aut);
|
||||
if (cb_symbol.SelectedIndex == 6) // 이재철 7표
|
||||
res = sb.Symbol_7(aut);
|
||||
if (cb_symbol.SelectedIndex == 7) // 이재철 7표 (동양서저자기호표)
|
||||
res = sb.Symbol_7_동서(aut);
|
||||
if (cb_symbol.SelectedIndex == 8) // 이재철 8표
|
||||
res = sb.Symbol_8(aut);
|
||||
if (cb_symbol.SelectedIndex == 9) // 이재철 8표 (동양서저자기호표)
|
||||
res = sb.Symbol_8_동서(aut);
|
||||
if (cb_symbol.SelectedIndex == 10) // 장일세
|
||||
res = sb.Symbol_Jang(res);
|
||||
if (cb_symbol.SelectedIndex == 11) // 커터샌본
|
||||
res = sb.Cutter(res);
|
||||
if (cb_symbol.SelectedIndex == 12) { // 엘러드
|
||||
res = sb.Elord(res);
|
||||
rb1 = "";
|
||||
}
|
||||
if (cb_symbol.SelectedIndex == 13) { // 동서양 저자기호표(국중)
|
||||
res = sb.NLK(res);
|
||||
}
|
||||
#endregion
|
||||
res = res.Replace("|", "");
|
||||
|
||||
res = sb.Moum_Fillter(res, rb_moum1.Checked);
|
||||
string rb2 = sb.Book_Fillter(book, rb_book1.Checked);
|
||||
string result = string.Format("{0}{1}{2}", rb1, res, rb2);
|
||||
*/
|
||||
bool[] isType = { rb_author1.Checked, rb_book1.Checked };
|
||||
string result = sb.SymbolAuthor(res, book, cb_symbol.SelectedItem.ToString(), isType);
|
||||
bool[] isType = { AuthorLookUp, BookLookUp };
|
||||
string result = "";
|
||||
|
||||
if (cb_symbol.SelectedIndex >= 0)
|
||||
result = sb.SymbolAuthor(res, book, cb_symbol.SelectedItem.ToString(), isType);
|
||||
|
||||
tb_result.Text = result;
|
||||
}
|
||||
|
||||
private void btn_GridTrans_Click(object sender, EventArgs e)
|
||||
{
|
||||
int count = dataGridView1.Rows.Count;
|
||||
for (int a = 0; a < count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells["Author"].Value == null)
|
||||
continue;
|
||||
|
||||
string author = dataGridView1.Rows[a].Cells["Author"].Value.ToString();
|
||||
string BookName = dataGridView1.Rows[a].Cells["book_name"].Value.ToString();
|
||||
|
||||
tb_author.Text = author;
|
||||
tb_book.Text = BookName;
|
||||
|
||||
button2_Click(sender, e);
|
||||
|
||||
string result = tb_result.Text;
|
||||
|
||||
if (result.IndexOf("NH") > -1)
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
else
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.White;
|
||||
|
||||
dataGridView1.Rows[a].Cells["AuthorSymbol"].Value = result;
|
||||
}
|
||||
tb_author.Text = "";
|
||||
tb_book.Text = "";
|
||||
tb_result.Text = "";
|
||||
}
|
||||
|
||||
#region Btn2_Sub
|
||||
private bool CheckEng(string Value)
|
||||
{
|
||||
@@ -186,5 +175,17 @@ namespace WindowsFormsApp1.Mac
|
||||
rb_moum2.Enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
Skill_Grid sg = new Skill_Grid();
|
||||
sg.Excel_to_DataGridView(sender, e);
|
||||
}
|
||||
|
||||
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Skill_Grid sg = new Skill_Grid();
|
||||
sg.Print_Grid_Num(sender, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user