=====* unimarc *=====

기능 작업 완료
테스트 작업 진행예정.
This commit is contained in:
SeungHo Yang
2021-11-02 18:38:08 +09:00
parent a70a396a2c
commit 9466ca0a1e
40 changed files with 2582 additions and 663 deletions

View File

@@ -15,6 +15,7 @@ namespace WindowsFormsApp1.Mac
public partial class Symbol_Add : Form
{
Main main;
Symbol sb = new Symbol();
public Symbol_Add(Main _main)
{
InitializeComponent();
@@ -23,22 +24,7 @@ namespace WindowsFormsApp1.Mac
private void Symbol_Add_Load(object sender, EventArgs e)
{
string[] com_list = {
/* 0 */ "이재철 1표",
/* 1 */ "이재철 2표",
/* 2 */ "이재철 3표(실용형 가표)",
/* 3 */ "이재철 4표(실용형 까표)",
/* 4 */ "이재철 5표(완전형 가표)",
/* 5 */ "이재철 6표(완전형 가표)",
/* 6 */ "이재철 7표(실용형 하표)",
/* 7 */ "이재철 7표(동서저자기호표)",
/* 8 */ "이재철 8표(완전형 하표)",
/* 9 */ "이재철 8표(동서저자기호표)",
/* 10 */ "장일세 저자기호표",
/* 11 */ "커터 샌본 저자기호표",
/* 12 */ "엘러드 저자기호법",
/* 13 */ "동서양 저자기호법 (국중)"
};
string[] com_list = sb.authorType;
RadioButton[] rb = { rb_author1, rb_book1, rb_moum1 };
for (int a = 0; a < rb.Length; a++)
@@ -50,7 +36,6 @@ namespace WindowsFormsApp1.Mac
private void button2_Click(object sender, EventArgs e)
{
Symbol sb = new Symbol();
string res = tb_author.Text;
string book = tb_book.Text;
@@ -77,12 +62,12 @@ 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);
#region 콤보박스 선택
@@ -122,8 +107,10 @@ namespace WindowsFormsApp1.Mac
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);
tb_result.Text = result;
}