=====* unimarc *=====
== TODO == 기타 추가적인 버그 잡을것. / 바로빌 세금계산서알아볼것. ===== 작업중 ===== 마크 반입 폼 완료 마크 반출 폼 작업중 ===== 보류 ===== b. 마크목록 폼 작성중 1. 엑셀반출 기능 추가중 사용 작업대기중 c. 마크 반입 폼 수정중 1. 불러오기는 되나 저장 기능이 필요함. ===== 완료 ===== 21.06.21 마크검색 작업완료 마크 편집창에서 메모장, 미리보기, 표지크게보기 기능 추가 21.06.08 자동업데이트 기능 완료 - 프로젝트가 새로 바뀜. 1. 주문관리 팩스연동 완료 2. 전송된 팩스 확인 작업개시, 이메일 전송모듈 수정완료. 3. 주문관리에서 주문처와 목록 검색하는 폼 검색 모듈도 재수정 완료함. 4. 데이터베이스 내 이미지URL을 가져오는작업 완료 목록집계 폼 재 수정작업 완료 - 확인 및 수정 필요. ISBN 체크 프로그램 => 본프로그램에 이식중. ㄴ> 코드는 다 옮겼으나 기존 사용하던 방식과 조금 달라서 버그발생 가능성 있음. ㄴ> 버그 체크 계속 해볼것. 21-04-15 ㄴ> 21_04_20 버그 없음. 2. 마크편집 폼 수정 중 (마크 반출 test프로젝트 진행완료, 본 프로젝트에 적용중. / 저장기능활성화 작업완료) 2-1. 기존의 칸채우기에서 예상되지 못한 버그가 발생하여 칸채우기 숨김. 2-2. 008태크 재배치 => TextBox에 적용완료. 변경사항 메모장으로 넘기는 작업 완료. 2-3. 저장기능 완료. (04.14 체크해볼것 - 완료) 주문관리 작업중 (DataGridView 주문처 엔터키 입력시 검색되게끔 하는 코드작성중) - 21.04.27 완료
This commit is contained in:
73
unimarc/unimarc/마크/Mac_Input.Designer.cs
generated
73
unimarc/unimarc/마크/Mac_Input.Designer.cs
generated
@@ -30,20 +30,21 @@
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.btn_db_save = new System.Windows.Forms.Button();
|
||||
this.btn_file_save = new System.Windows.Forms.Button();
|
||||
this.tb_filePath = new System.Windows.Forms.TextBox();
|
||||
this.btn_FileOpen = new System.Windows.Forms.Button();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.series = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
@@ -51,37 +52,39 @@
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.button2);
|
||||
this.panel1.Controls.Add(this.button1);
|
||||
this.panel1.Controls.Add(this.btn_db_save);
|
||||
this.panel1.Controls.Add(this.btn_file_save);
|
||||
this.panel1.Controls.Add(this.tb_filePath);
|
||||
this.panel1.Controls.Add(this.btn_FileOpen);
|
||||
this.panel1.Controls.Add(this.comboBox1);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(13, 13);
|
||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1273, 40);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// button2
|
||||
// btn_db_save
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(784, 8);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(89, 23);
|
||||
this.button2.TabIndex = 4;
|
||||
this.button2.Text = "DB 저장";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.btn_db_save.Location = new System.Drawing.Point(784, 8);
|
||||
this.btn_db_save.Name = "btn_db_save";
|
||||
this.btn_db_save.Size = new System.Drawing.Size(89, 23);
|
||||
this.btn_db_save.TabIndex = 4;
|
||||
this.btn_db_save.Text = "DB 저장";
|
||||
this.btn_db_save.UseVisualStyleBackColor = true;
|
||||
this.btn_db_save.Click += new System.EventHandler(this.btn_db_save_Click);
|
||||
//
|
||||
// button1
|
||||
// btn_file_save
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(689, 8);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(89, 23);
|
||||
this.button1.TabIndex = 4;
|
||||
this.button1.Text = "파일로 저장";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.btn_file_save.Location = new System.Drawing.Point(689, 8);
|
||||
this.btn_file_save.Name = "btn_file_save";
|
||||
this.btn_file_save.Size = new System.Drawing.Size(89, 23);
|
||||
this.btn_file_save.TabIndex = 4;
|
||||
this.btn_file_save.Text = "파일로 저장";
|
||||
this.btn_file_save.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tb_filePath
|
||||
//
|
||||
this.tb_filePath.Enabled = false;
|
||||
this.tb_filePath.Location = new System.Drawing.Point(277, 9);
|
||||
this.tb_filePath.Name = "tb_filePath";
|
||||
this.tb_filePath.Size = new System.Drawing.Size(371, 21);
|
||||
@@ -131,11 +134,12 @@
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.isbn,
|
||||
this.book_name,
|
||||
this.series,
|
||||
this.author,
|
||||
this.book_comp,
|
||||
this.price,
|
||||
this.Marc});
|
||||
this.dataGridView1.Location = new System.Drawing.Point(13, 59);
|
||||
this.dataGridView1.Location = new System.Drawing.Point(12, 58);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 20;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
@@ -143,6 +147,12 @@
|
||||
this.dataGridView1.TabIndex = 1;
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.Filter = "마크 파일 (*.mrc)|*.mrc|모든 파일 (*.*)|*.*";
|
||||
this.openFileDialog1.InitialDirectory = "C:";
|
||||
this.openFileDialog1.Title = "열기";
|
||||
//
|
||||
// isbn
|
||||
//
|
||||
this.isbn.HeaderText = "isbn";
|
||||
@@ -155,6 +165,12 @@
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.Width = 300;
|
||||
//
|
||||
// series
|
||||
//
|
||||
this.series.HeaderText = "총서명";
|
||||
this.series.Name = "series";
|
||||
this.series.Width = 200;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.HeaderText = "저자";
|
||||
@@ -174,15 +190,9 @@
|
||||
//
|
||||
// Marc
|
||||
//
|
||||
this.Marc.HeaderText = "Marc";
|
||||
this.Marc.HeaderText = "마크";
|
||||
this.Marc.Name = "Marc";
|
||||
this.Marc.Width = 500;
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.Filter = "마크 파일 (*.mrc)|*.mrc|모든 파일 (*.*)|*.*";
|
||||
this.openFileDialog1.InitialDirectory = "C:";
|
||||
this.openFileDialog1.Title = "열기";
|
||||
this.Marc.Width = 300;
|
||||
//
|
||||
// Mac_Input
|
||||
//
|
||||
@@ -206,14 +216,15 @@
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button btn_db_save;
|
||||
private System.Windows.Forms.Button btn_file_save;
|
||||
private System.Windows.Forms.TextBox tb_filePath;
|
||||
private System.Windows.Forms.Button btn_FileOpen;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn isbn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn series;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn author;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn price;
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace WindowsFormsApp1.Mac
|
||||
{
|
||||
public partial class Mac_Input : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
Main main;
|
||||
public Mac_Input(Main _main)
|
||||
{
|
||||
@@ -22,17 +23,23 @@ namespace WindowsFormsApp1.Mac
|
||||
}
|
||||
private void Mac_Input_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
|
||||
string[] com_list = { "표준Marc", "라인Marc" };
|
||||
comboBox1.Items.AddRange(com_list);
|
||||
comboBox1.SelectedIndex = 0;
|
||||
|
||||
}
|
||||
private void btn_FileOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
string file_path = string.Empty;
|
||||
if (tb_filePath.Text != "")
|
||||
{
|
||||
openFileDialog1.InitialDirectory = tb_filePath.Text;
|
||||
}
|
||||
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
file_path = openFileDialog1.FileName;
|
||||
dataGridView1.Rows.Clear();
|
||||
try
|
||||
{
|
||||
StreamReader r = new StreamReader(file_path, Encoding.Default);
|
||||
@@ -53,8 +60,11 @@ namespace WindowsFormsApp1.Mac
|
||||
string[] grid = text.Split('');
|
||||
for (int a = 0; a < grid.Length - 1; a++)
|
||||
{
|
||||
if (comboBox1.SelectedIndex != 0)
|
||||
grid[a] = grid[a].Replace("\r\n", "");
|
||||
|
||||
string[] data = Split_Marc(grid[a]);
|
||||
data[5] = grid[a] + "";
|
||||
data[6] = grid[a] + "";
|
||||
dataGridView1.Rows.Add(data);
|
||||
}
|
||||
}
|
||||
@@ -63,28 +73,32 @@ namespace WindowsFormsApp1.Mac
|
||||
string tmp_string = text.Remove(0, 24);
|
||||
string[] Marc = tmp_string.Split('');
|
||||
string[] dir = made_Directory(Marc[0]);
|
||||
string[] data = { "", "", "", "", "", "" }; // isbn, 도서명, 저자, 출판사, 정가
|
||||
string[] data = { "", "", "", "", "", "", "" }; // isbn, 도서명, 총서명, 저자, 출판사, 정가, marc
|
||||
String_Text st = new String_Text();
|
||||
|
||||
for(int a = 0; a < dir.Length; a++)
|
||||
{
|
||||
if (dir[a] == "020")
|
||||
{
|
||||
data[0] = st.GetMiddelString(Marc[a + 1], "a", ""); // isbn
|
||||
data[4] = st.GetMiddelString(Marc[a + 1], "c", ""); // 정가
|
||||
data[0] = st.GetMiddelString(Marc[a + 1], "a", ""); // isbn
|
||||
data[5] = st.GetMiddelString(Marc[a + 1], "c", ""); // 정가
|
||||
}
|
||||
if (dir[a] == "245")
|
||||
{
|
||||
data[1] = st.GetMiddelString(Marc[a + 1], "a", ""); // 도서명
|
||||
data[2] = st.GetMiddelString(Marc[a + 1], "d", ""); // 저자
|
||||
data[1] = st.GetMiddelString(Marc[a + 1], "a", ""); // 도서명
|
||||
data[3] = st.GetMiddelString(Marc[a + 1], "d", ""); // 저자
|
||||
}
|
||||
if (dir[a] == "260")
|
||||
{
|
||||
data[3] = st.GetMiddelString(Marc[a + 1], "b", ""); // 출판사
|
||||
data[4] = st.GetMiddelString(Marc[a + 1], "b", ""); // 출판사
|
||||
}
|
||||
if (dir[a] == "440")
|
||||
{
|
||||
data[2] = st.GetMiddelString(Marc[a + 1], "a", ""); // 총서명
|
||||
}
|
||||
if (dir[a] == "950")
|
||||
{
|
||||
data[4] = st.GetMiddelString(Marc[a + 1], "b", "");
|
||||
data[5] = st.GetMiddelString(Marc[a + 1], "b", ""); // 정가
|
||||
}
|
||||
}
|
||||
return data;
|
||||
@@ -109,5 +123,25 @@ namespace WindowsFormsApp1.Mac
|
||||
Skill_Grid sg = new Skill_Grid();
|
||||
sg.Print_Grid_Num(sender, e);
|
||||
}
|
||||
private void btn_db_save_Click(object sender, EventArgs e)
|
||||
{
|
||||
string table = "Marc";
|
||||
string[] col = { "grade", "ISBN", "서명", "총서명", "저자", "출판사", "가격", "marc", "marc_chk" };
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
string Marc = dataGridView1.Rows[a].Cells["Marc"].Value.ToString();
|
||||
Marc = Marc.Replace(@"'", "'");
|
||||
Marc = Marc.Replace(@"""", "\"\"");
|
||||
string[] data = { "2", dataGridView1.Rows[a].Cells["isbn"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["book_name"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["series"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["author"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["price"].Value.ToString(),
|
||||
Marc, "1" };
|
||||
db.DB_INSERT(table, col, data);
|
||||
}
|
||||
MessageBox.Show("DB 저장 완료!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,6 +123,9 @@
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="series.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
@@ -231,7 +231,7 @@ namespace WindowsFormsApp1.Mac
|
||||
int idx_row = e.RowIndex;
|
||||
int idx_col = e.ColumnIndex;
|
||||
if (3 <= idx_col && idx_col <= 8) {
|
||||
ExcelTest.Marc marc = new ExcelTest.Marc();
|
||||
ExcelTest.Marc marc = new ExcelTest.Marc(this);
|
||||
marc.WindowState = FormWindowState.Maximized;
|
||||
marc.Show();
|
||||
marc.input_list(dataGridView1.Rows[idx_row].Cells[1].Value.ToString(),
|
||||
|
||||
205
unimarc/unimarc/마크/Mac_Output.Designer.cs
generated
205
unimarc/unimarc/마크/Mac_Output.Designer.cs
generated
@@ -28,33 +28,222 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.series = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_db_save = new System.Windows.Forms.Button();
|
||||
this.btn_file_save = new System.Windows.Forms.Button();
|
||||
this.cb_state = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.cb_years = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cb_list = new System.Windows.Forms.ComboBox();
|
||||
this.connect_list = new System.Windows.Forms.ComboBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.isbn,
|
||||
this.book_name,
|
||||
this.series,
|
||||
this.author,
|
||||
this.book_comp,
|
||||
this.price,
|
||||
this.Marc});
|
||||
this.dataGridView1.Location = new System.Drawing.Point(12, 58);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 20;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1273, 600);
|
||||
this.dataGridView1.TabIndex = 9;
|
||||
//
|
||||
// isbn
|
||||
//
|
||||
this.isbn.HeaderText = "isbn";
|
||||
this.isbn.Name = "isbn";
|
||||
this.isbn.Width = 110;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.Width = 300;
|
||||
//
|
||||
// series
|
||||
//
|
||||
this.series.HeaderText = "총서명";
|
||||
this.series.Name = "series";
|
||||
this.series.Width = 200;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.Width = 150;
|
||||
//
|
||||
// price
|
||||
//
|
||||
this.price.HeaderText = "정가";
|
||||
this.price.Name = "price";
|
||||
this.price.Width = 70;
|
||||
//
|
||||
// Marc
|
||||
//
|
||||
this.Marc.HeaderText = "마크";
|
||||
this.Marc.Name = "Marc";
|
||||
this.Marc.Width = 300;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.connect_list);
|
||||
this.panel1.Controls.Add(this.cb_list);
|
||||
this.panel1.Controls.Add(this.btn_db_save);
|
||||
this.panel1.Controls.Add(this.btn_file_save);
|
||||
this.panel1.Controls.Add(this.cb_years);
|
||||
this.panel1.Controls.Add(this.cb_state);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1273, 40);
|
||||
this.panel1.TabIndex = 10;
|
||||
//
|
||||
// btn_db_save
|
||||
//
|
||||
this.btn_db_save.Location = new System.Drawing.Point(784, 8);
|
||||
this.btn_db_save.Name = "btn_db_save";
|
||||
this.btn_db_save.Size = new System.Drawing.Size(89, 23);
|
||||
this.btn_db_save.TabIndex = 4;
|
||||
this.btn_db_save.Text = "DB 저장";
|
||||
this.btn_db_save.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_file_save
|
||||
//
|
||||
this.btn_file_save.Location = new System.Drawing.Point(689, 8);
|
||||
this.btn_file_save.Name = "btn_file_save";
|
||||
this.btn_file_save.Size = new System.Drawing.Size(89, 23);
|
||||
this.btn_file_save.TabIndex = 4;
|
||||
this.btn_file_save.Text = "파일로 저장";
|
||||
this.btn_file_save.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cb_state
|
||||
//
|
||||
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_state.FormattingEnabled = true;
|
||||
this.cb_state.Location = new System.Drawing.Point(45, 10);
|
||||
this.cb_state.Name = "cb_state";
|
||||
this.cb_state.Size = new System.Drawing.Size(75, 20);
|
||||
this.cb_state.TabIndex = 2;
|
||||
this.cb_state.SelectedIndexChanged += new System.EventHandler(this.cb_state_SelectedIndexChanged);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(371, 219);
|
||||
this.label1.Location = new System.Drawing.Point(11, 14);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(111, 12);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "마크관리_마크 반출";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "구분";
|
||||
//
|
||||
// cb_years
|
||||
//
|
||||
this.cb_years.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_years.Enabled = false;
|
||||
this.cb_years.FormattingEnabled = true;
|
||||
this.cb_years.Location = new System.Drawing.Point(126, 10);
|
||||
this.cb_years.Name = "cb_years";
|
||||
this.cb_years.Size = new System.Drawing.Size(90, 20);
|
||||
this.cb_years.TabIndex = 2;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(244, 14);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(58, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "Marc목록";
|
||||
//
|
||||
// cb_list
|
||||
//
|
||||
this.cb_list.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_list.FormattingEnabled = true;
|
||||
this.cb_list.Location = new System.Drawing.Point(308, 10);
|
||||
this.cb_list.Name = "cb_list";
|
||||
this.cb_list.Size = new System.Drawing.Size(375, 20);
|
||||
this.cb_list.TabIndex = 5;
|
||||
this.cb_list.SelectedIndexChanged += new System.EventHandler(this.cb_list_SelectedIndexChanged);
|
||||
//
|
||||
// connect_list
|
||||
//
|
||||
this.connect_list.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.connect_list.FormattingEnabled = true;
|
||||
this.connect_list.Location = new System.Drawing.Point(911, 10);
|
||||
this.connect_list.Name = "connect_list";
|
||||
this.connect_list.Size = new System.Drawing.Size(121, 20);
|
||||
this.connect_list.TabIndex = 6;
|
||||
//
|
||||
// Mac_Output
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.label1);
|
||||
this.ClientSize = new System.Drawing.Size(1298, 671);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Name = "Mac_Output";
|
||||
this.Text = "마크 반출";
|
||||
this.Load += new System.EventHandler(this.Mac_Output_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn isbn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn series;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn author;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_comp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn price;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Marc;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btn_db_save;
|
||||
private System.Windows.Forms.Button btn_file_save;
|
||||
private System.Windows.Forms.ComboBox cb_state;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cb_years;
|
||||
private System.Windows.Forms.ComboBox cb_list;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.ComboBox connect_list;
|
||||
}
|
||||
}
|
||||
@@ -12,11 +12,96 @@ namespace WindowsFormsApp1.Mac
|
||||
{
|
||||
public partial class Mac_Output : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
Main main;
|
||||
string compidx = string.Empty;
|
||||
public Mac_Output(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
}
|
||||
|
||||
private void Mac_Output_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
|
||||
string[] state = { "진행", "완료" };
|
||||
cb_state.Items.AddRange(state);
|
||||
cb_state.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
private void cb_state_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cb_state.SelectedIndex == 0)
|
||||
{
|
||||
cb_years.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
cb_years.Enabled = true;
|
||||
|
||||
int start_years = 2009;
|
||||
int now_years = Convert.ToInt32(DateTime.Now.ToString("yyyy"));
|
||||
int years_count = now_years - start_years;
|
||||
List<string> l_years = new List<string>();
|
||||
for (int a = 0; a <= years_count; a++)
|
||||
{
|
||||
l_years.Add(start_years.ToString());
|
||||
start_years += 1;
|
||||
}
|
||||
string[] years = l_years.ToArray();
|
||||
cb_years.Items.AddRange(years);
|
||||
cb_years.SelectedIndex = cb_years.Items.Count - 1;
|
||||
}
|
||||
Input_list_combo();
|
||||
}
|
||||
|
||||
#region cb_state 선택 시 Sub함수
|
||||
private void Input_list_combo()
|
||||
{
|
||||
cb_list.Items.Clear();
|
||||
string area = "`date`, `list_name`, `connect_data`";
|
||||
string[] table = { "compidx", "state" };
|
||||
string[] data = { compidx, cb_state.Text };
|
||||
string temp = db.More_DB_Search("Obj_List_Marc", table, data, area);
|
||||
string[] marc_list = temp.Split('|');
|
||||
|
||||
string[] tmp = { "", "", "" };
|
||||
bool years = true;
|
||||
|
||||
for(int a = 0; a < marc_list.Length - 1; a++)
|
||||
{
|
||||
if (a % 3 == 0) { tmp[0] = marc_list[a];
|
||||
years = years_UpAndDown(tmp[0]);
|
||||
if (cb_state.SelectedIndex == 0) years = true;
|
||||
}
|
||||
if (a % 3 == 1) { tmp[1] = marc_list[a]; }
|
||||
if (a % 3 == 2) { tmp[2] = marc_list[a];
|
||||
if (years) {
|
||||
cb_list.Items.Add(tmp[1]);
|
||||
connect_list.Items.Add(tmp[2]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool years_UpAndDown(string years)
|
||||
{
|
||||
if(cb_years.Text == "") { return false; }
|
||||
int select = Convert.ToInt32(cb_years.Text);
|
||||
int year = Convert.ToInt32(years.Substring(0, 4));
|
||||
|
||||
if (select != year)
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void cb_list_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
connect_list.SelectedIndex = cb_list.SelectedIndex;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,4 +117,25 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="isbn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="series.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="author.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="price.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Marc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -7,6 +7,7 @@ using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
using UniMarc.마크;
|
||||
using WindowsFormsApp1;
|
||||
using WindowsFormsApp1.Mac;
|
||||
|
||||
namespace ExcelTest
|
||||
{
|
||||
@@ -23,11 +24,17 @@ namespace ExcelTest
|
||||
Helper_DB db = new Helper_DB();
|
||||
Help008Tag tag008 = new Help008Tag();
|
||||
Skill_Search_Text search_Text = new Skill_Search_Text();
|
||||
Mac_List ml;
|
||||
|
||||
public Marc()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public Marc(Mac_List _ml)
|
||||
{
|
||||
InitializeComponent();
|
||||
ml = _ml;
|
||||
}
|
||||
|
||||
private void Marc_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -858,6 +865,13 @@ namespace ExcelTest
|
||||
}
|
||||
}
|
||||
}
|
||||
private void etc_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.F8)
|
||||
{
|
||||
((RichTextBox)sender).Text += DateTime.Now.ToString("yyyy-MM-dd HH:mm");
|
||||
}
|
||||
}
|
||||
|
||||
private void comboBox1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
@@ -1160,34 +1174,80 @@ namespace ExcelTest
|
||||
List_Book.Rows[row_idx].Cells["url"].Value.ToString() };
|
||||
if (List_Book.Rows[row_idx].Cells["db_marc"].Value.ToString() != "")
|
||||
{
|
||||
string[] Edit_tbl = { "`marc`", "`비고1`", "`비고2`", "`url`" };
|
||||
string[] Edit_col = { made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] };
|
||||
string[] Sear_tbl = { "`idx`" };
|
||||
string[] Sear_col = { List_Book.Rows[row_idx].Cells["list_idx"].Value.ToString() };
|
||||
string[] Edit_tbl = { "marc", "marc_chk", "marc_chk1", "비고1", "비고2", "url" };
|
||||
string[] Edit_col = { made_Ori_marc(), "1", "0", etc1.Text, etc2.Text, grid_data[5] };
|
||||
string[] Sear_tbl = { "ISBN" };
|
||||
string[] Sear_col = { List_Book.Rows[row_idx].Cells["ISBN13"].Value.ToString() };
|
||||
|
||||
string res = Sub_marc_chk(grid_data[0]);
|
||||
switch (res)
|
||||
{
|
||||
case "0":
|
||||
Edit_tbl[0] = "marc1";
|
||||
Edit_tbl[1] = "marc_chk1";
|
||||
Edit_tbl[2] = "marc_chk";
|
||||
break;
|
||||
case "1":
|
||||
Edit_tbl[0] = "marc2";
|
||||
Edit_tbl[1] = "marc_chk2";
|
||||
Edit_tbl[2] = "marc_chk1";
|
||||
break;
|
||||
case "2":
|
||||
Edit_tbl[0] = "marc";
|
||||
Edit_tbl[1] = "marc_chk";
|
||||
Edit_tbl[2] = "marc_chk2";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
db.More_Update(table_name, Edit_tbl, Edit_col, Sear_tbl, Sear_col);
|
||||
MessageBox.Show(res + ": 업데이트");
|
||||
}
|
||||
else
|
||||
{
|
||||
string[] Insert_tbl = { "`ISBN`", "`서명`", "`저자`", "`출판사`", "`가격`",
|
||||
"`marc`", "`비고1`", "`비고2`", "`url`" };
|
||||
string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4],
|
||||
made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5] };
|
||||
string[] Insert_tbl = { "ISBN", "서명", "저자", "출판사", "가격",
|
||||
"marc", "비고1", "비고2", "url", "grade", "marc_chk" };
|
||||
string[] Insert_col = { grid_data[0], grid_data[1], grid_data[2], grid_data[3], grid_data[4],
|
||||
made_Ori_marc(), etc1.Text, etc2.Text, grid_data[5], cb_grade.SelectedIndex.ToString(), "1" };
|
||||
|
||||
db.DB_INSERT(table_name, Insert_col, Insert_tbl);
|
||||
db.DB_INSERT(table_name, Insert_tbl, Insert_col);
|
||||
MessageBox.Show("추가");
|
||||
}
|
||||
|
||||
MessageBox.Show("저장되었습니다!");
|
||||
}
|
||||
private string Sub_marc_chk(string isbn)
|
||||
{
|
||||
string Area = "`marc_chk`, `marc_chk1`, `marc_chk2`";
|
||||
string db_chk = db.DB_Select_Search(Area, "Marc", "compidx", ml.compidx, "ISBN", isbn);
|
||||
string[] chk_ary = db_chk.Split('|');
|
||||
|
||||
for(int a= 0; a < chk_ary.Length; a++)
|
||||
{
|
||||
if (chk_ary[a] == "1") {
|
||||
return a.ToString();
|
||||
}
|
||||
}
|
||||
return "0";
|
||||
}
|
||||
private void List_Book_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex == -1) { return; }
|
||||
int row_idx = e.RowIndex;
|
||||
Save_data(row_idx);
|
||||
richTextBox1.Text = "";
|
||||
if (!click_Marc(row_idx)) { richTextBox1.Text = Make_Empty(); }
|
||||
input_picture(row_idx);
|
||||
Save_data(row_idx);
|
||||
Create_008();
|
||||
Color_change("▼");
|
||||
Color_change("▲");
|
||||
|
||||
int grade = 2;
|
||||
if (List_Book.Rows[row_idx].Cells["grade"].Value != null) {
|
||||
grade = Convert.ToInt32(List_Book.Rows[row_idx].Cells["grade"].Value.ToString());
|
||||
}
|
||||
cb_grade.SelectedIndex = grade;
|
||||
}
|
||||
void Save_data(int row)
|
||||
{
|
||||
@@ -1237,9 +1297,16 @@ namespace ExcelTest
|
||||
string Empty_008 = yyMMdd + "s" + yyyy + " 000 kor ▲";
|
||||
text008.Text = Empty_008.Replace("▲", "");
|
||||
data008 = text008.Text;
|
||||
string Empty_text = "008\t \t" + Empty_008 + "\n020\t \t▲\n" + "056\t \t▲\n" + "100\t \t▲\n" +
|
||||
"245\t \t▲\n" + "260\t \t▲\n" + "300\t \t▲\n" +
|
||||
"653\t \t▲\n" + "700\t \t▲\n" + "950\t \t▲\n";
|
||||
string Empty_text = string.Format("008\t \t{0}\n" +
|
||||
"020\t \t▼a{1}▼c{5}▲\n" +
|
||||
"245\t \t▼a{2}▲\n" +
|
||||
"260\t \t▼b{4}▲\n" +
|
||||
"700\t \t▼a{3}▲\n" +
|
||||
"950\t \t▼b{5}▲\n",
|
||||
Empty_008, data_book[0], data_book[1], data_book[2], data_book[3], data_book[4]);
|
||||
/* "008\t \t" + Empty_008 + "\n020\t \t▼a" + data_book[0] + "▲\n" +
|
||||
"245\t \t▼a" + data_book[1] + " ▲\n" + "260\t \t▼b" + data_book[3] + " ▲\n" +
|
||||
"653\t \t▼▲\n" + "700\t \t▼▲\n" + "950\t \t▼▲\n";*/
|
||||
return Empty_text;
|
||||
}
|
||||
bool click_Marc(int row)
|
||||
@@ -1391,6 +1458,10 @@ namespace ExcelTest
|
||||
string[] str_num = num.ToArray();
|
||||
for(int a = 0; a < str_num.Length; a++)
|
||||
{
|
||||
if (count[a].Length == 3) { count[a] = count[a].Insert(0, "0"); }
|
||||
else if (count[a].Length == 2) { count[a] = count[a].Insert(0, "00"); }
|
||||
else if (count[a].Length == 1) { count[a] = count[a].Insert(0, "000"); }
|
||||
|
||||
if (total[a].Length == 4) { total[a] = total[a].Insert(0, "0"); }
|
||||
else if (total[a].Length == 3) { total[a] = total[a].Insert(0, "00"); }
|
||||
else if (total[a].Length == 2) { total[a] = total[a].Insert(0, "000"); }
|
||||
@@ -1402,10 +1473,10 @@ namespace ExcelTest
|
||||
" ", "2", "2", "00000", " ",
|
||||
"k", " ", "4", "5", "0",
|
||||
"0" };
|
||||
디렉토리 += "▲";
|
||||
디렉토리 += "";
|
||||
디렉토리 = 디렉토리.Replace("\n", "");
|
||||
|
||||
가변길이 += "↔";
|
||||
가변길이 += "";
|
||||
가변길이 = 가변길이.Replace("\n", "");
|
||||
|
||||
string dp = 가변길이 + 디렉토리;
|
||||
@@ -1422,6 +1493,8 @@ namespace ExcelTest
|
||||
}
|
||||
|
||||
result += 디렉토리 + 가변길이;
|
||||
result = result.Replace("▲", "");
|
||||
result = result.Replace("▼", "");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
59
unimarc/unimarc/마크/Marc.designer.cs
generated
59
unimarc/unimarc/마크/Marc.designer.cs
generated
@@ -28,7 +28,7 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
@@ -161,6 +161,8 @@
|
||||
this.input_date = new System.Windows.Forms.DateTimePicker();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.btn_preview = new System.Windows.Forms.Button();
|
||||
this.cb_grade = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.GridView020)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.GridView246)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
@@ -218,7 +220,7 @@
|
||||
this.etc1.Size = new System.Drawing.Size(301, 204);
|
||||
this.etc1.TabIndex = 32;
|
||||
this.etc1.Text = "Remark1";
|
||||
this.etc1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||
this.etc1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.etc_KeyDown);
|
||||
//
|
||||
// etc2
|
||||
//
|
||||
@@ -229,7 +231,7 @@
|
||||
this.etc2.Size = new System.Drawing.Size(301, 201);
|
||||
this.etc2.TabIndex = 32;
|
||||
this.etc2.Text = "Remark2";
|
||||
this.etc2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
|
||||
this.etc2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.etc_KeyDown);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
@@ -1190,7 +1192,7 @@
|
||||
//
|
||||
// Btn_Memo
|
||||
//
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(1239, 7);
|
||||
this.Btn_Memo.Location = new System.Drawing.Point(1239, 89);
|
||||
this.Btn_Memo.Name = "Btn_Memo";
|
||||
this.Btn_Memo.Size = new System.Drawing.Size(75, 23);
|
||||
this.Btn_Memo.TabIndex = 215;
|
||||
@@ -1213,14 +1215,14 @@
|
||||
this.List_Book.AllowUserToAddRows = false;
|
||||
this.List_Book.AllowUserToDeleteRows = false;
|
||||
this.List_Book.AllowUserToResizeColumns = false;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.List_Book.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
||||
this.List_Book.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.list_idx,
|
||||
this.ISBN13,
|
||||
@@ -1318,7 +1320,7 @@
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(1239, 59);
|
||||
this.btn_Save.Location = new System.Drawing.Point(1239, 117);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_Save.TabIndex = 215;
|
||||
@@ -1418,7 +1420,7 @@
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(1239, 85);
|
||||
this.btn_close.Location = new System.Drawing.Point(1239, 146);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_close.TabIndex = 215;
|
||||
@@ -1450,7 +1452,7 @@
|
||||
//
|
||||
// btn_preview
|
||||
//
|
||||
this.btn_preview.Location = new System.Drawing.Point(1239, 33);
|
||||
this.btn_preview.Location = new System.Drawing.Point(1239, 60);
|
||||
this.btn_preview.Name = "btn_preview";
|
||||
this.btn_preview.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_preview.TabIndex = 215;
|
||||
@@ -1458,11 +1460,36 @@
|
||||
this.btn_preview.UseVisualStyleBackColor = true;
|
||||
this.btn_preview.Click += new System.EventHandler(this.Btn_preview_Click);
|
||||
//
|
||||
// cb_grade
|
||||
//
|
||||
this.cb_grade.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_grade.FormattingEnabled = true;
|
||||
this.cb_grade.Items.AddRange(new object[] {
|
||||
"A",
|
||||
"B",
|
||||
"C",
|
||||
"D"});
|
||||
this.cb_grade.Location = new System.Drawing.Point(910, 59);
|
||||
this.cb_grade.Name = "cb_grade";
|
||||
this.cb_grade.Size = new System.Drawing.Size(75, 20);
|
||||
this.cb_grade.TabIndex = 222;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(847, 63);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(57, 12);
|
||||
this.label6.TabIndex = 223;
|
||||
this.label6.Text = "마크 등급";
|
||||
//
|
||||
// Marc
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1322, 753);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.cb_grade);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.input_date);
|
||||
this.Controls.Add(this.panel3);
|
||||
@@ -1659,5 +1686,7 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn db_marc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn grade;
|
||||
private System.Windows.Forms.Button btn_preview;
|
||||
private System.Windows.Forms.ComboBox cb_grade;
|
||||
private System.Windows.Forms.Label label6;
|
||||
}
|
||||
}
|
||||
@@ -129,36 +129,6 @@
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -183,18 +153,6 @@
|
||||
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
@@ -219,48 +177,12 @@
|
||||
<metadata name="text440x.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440p.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text440x.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text490a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text490a.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text490v.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505t.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505d.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505e.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="text505n.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
Reference in New Issue
Block a user