diff --git a/unimarc/unimarc/UniMarc.csproj b/unimarc/unimarc/UniMarc.csproj index 526dbd9..d592138 100644 --- a/unimarc/unimarc/UniMarc.csproj +++ b/unimarc/unimarc/UniMarc.csproj @@ -359,6 +359,7 @@ Mac_List_Add.cs + Form diff --git a/unimarc/unimarc/UniMarc.csproj.user b/unimarc/unimarc/UniMarc.csproj.user index a66c462..f0d6d75 100644 --- a/unimarc/unimarc/UniMarc.csproj.user +++ b/unimarc/unimarc/UniMarc.csproj.user @@ -9,7 +9,7 @@ ko-KR false - ProjectFiles + ShowAllFiles false diff --git a/unimarc/unimarc/마크/Marc2.cs b/unimarc/unimarc/마크/Marc2.cs index 7bf407e..e14cf9f 100644 --- a/unimarc/unimarc/마크/Marc2.cs +++ b/unimarc/unimarc/마크/Marc2.cs @@ -66,27 +66,12 @@ namespace ExcelTest private void MarcEditorControl1_NextButton(object sender, EventArgs e) { - int row_idx = List_Book.CurrentCell.RowIndex; - int col_idx = List_Book.CurrentCell.ColumnIndex; - if (row_idx == -1 || col_idx == -1) { return; } - - //다음데이터가 존재한다 - if(row_idx < List_Book.RowCount-1) - { - List_Book.CurrentCell = List_Book.Rows[row_idx + 1].Cells[col_idx]; - } + bs1.MoveNext(); } private void MarcEditorControl1_PrevButton(object sender, EventArgs e) { - int row_idx = List_Book.CurrentCell.RowIndex; - int col_idx = List_Book.CurrentCell.ColumnIndex; - if (row_idx == -1 || col_idx == -1) { return; } - - if (row_idx > 0) - { - List_Book.CurrentCell = List_Book.Rows[row_idx - 1].Cells[col_idx]; - } + bs1.MovePrevious(); } public Marc2(Mac_List _ml) @@ -110,6 +95,7 @@ namespace ExcelTest comboBox8.Items.AddRange(combo8); comboBox8.SelectedIndex = 0; + List_Book.RowPrePaint += List_Book_RowPrePaint; } public void input_list() @@ -127,14 +113,7 @@ namespace ExcelTest string res = db.DB_Send_CMD_Search(cmd); string[] ary = res.Split('|'); - if (res.Length < 1) - { - //etc1.Text = res; - //etc2.Text = ""; - return (res, ""); - } - //etc1.Text = ary[0]; - //etc2.Text = ary[1]; + if (res.Length < 1) return (res, ""); return (ary[0], ary[1]); } @@ -153,7 +132,7 @@ namespace ExcelTest p_name = custname; db.DBcon(); - this.List_Book.Rows.Clear(); + //this.List_Book.Rows.Clear(); if (value.isEmpty() == false) { if (value.IndexOf("]") != -1) @@ -184,39 +163,29 @@ namespace ExcelTest "", "", "", "", "", "", "", "V", "", "" }; - - mLoadCompleted = false; + List dataList = new List(); + for (int a = 0; a < db_data.Length - 1; a += 11) { + MarcBookItem item = new MarcBookItem(); + item.ListIdx = db_data[a]; // 0: idx + item.ISBN13 = db_data[a + 1]; // 1: isbn + item.Num= db_data[a + 2] + db_data[a + 3]; // 2: header + num + item.BookName = db_data[a + 4]; // 3: book_num + item.Author = db_data[a + 5]; // 4: author + item.BookComp = db_data[a + 6]; // 5: book_comp + item.Count = db_data[a + 7]; // 6: count + item.Pay = db_data[a + 8]; // 7: pay + item.Url = db_data[a + 9]; // 8: image_url + item.MarcIdx = db_data[a + 10]; // 9: m_idx - grid[0] = db_data[a]; // 0: idx - grid[1] = db_data[a + 1]; // 1: isbn - grid[2] = db_data[a + 2]; // 2: header - grid[2] += db_data[a + 3]; // 2: num - grid[3] = db_data[a + 4]; // 3: book_num - grid[4] = db_data[a + 5]; // 4: author - grid[5] = db_data[a + 6]; // 5: book_comp - grid[6] = db_data[a + 7]; // 6: count - grid[7] = db_data[a + 8]; // 7: pay - grid[8] = db_data[a + 9]; // 8: image_url - grid[9] = db_data[a + 10]; // 9: m_idx - - List_Book.Rows.Add(grid); - //if (a % 11 == 0) { grid[0] = db_data[a]; } // 0: idx - //if (a % 11 == 1) { grid[1] = db_data[a+1]; } // 1: isbn - //if (a % 11 == 2) { grid[2] = db_data[a+2]; } // 2: header - //if (a % 11 == 3) { grid[2] += db_data[a+3]; } // 2: num - //if (a % 11 == 4) { grid[3] = db_data[a+4]; } // 3: book_num - //if (a % 11 == 5) { grid[4] = db_data[a+5]; } // 4: author - //if (a % 11 == 6) { grid[5] = db_data[a+6]; } // 5: book_comp - //if (a % 11 == 7) { grid[6] = db_data[a+7]; } // 6: count - //if (a % 11 == 8) { grid[7] = db_data[a+8]; } // 7: pay - //if (a % 11 == 9) { grid[8] = db_data[a+9]; } // 8: image_url - //if (a % 11 == 10) { grid[9] = db_data[a+10]; // 9: m_idx - // List_Book.Rows.Add(grid); - //} + dataList.Add(item); } + bs1.DataSource = dataList; + List_Book.AutoGenerateColumns = false; + List_Book.DataSource = bs1; + chk_Marc(); List_Book.ClearSelection(); @@ -271,7 +240,7 @@ namespace ExcelTest string[] MarcData = { Chk_Arr[2], Chk_Arr[4], Chk_Arr[6] }; string[] CheckData = { Chk_Arr[3], Chk_Arr[5], Chk_Arr[7] }; - List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Chk_Arr[8], isMyData); + List_Book.Rows[a].DefaultCellStyle.ForeColor = SetGradeColor(Chk_Arr[8], isMyData); // Temporary, chk_Marc updates item below List_Book.Rows[a].Cells["marc_idx"].Value = Chk_Arr[0]; List_Book.Rows[a].Cells["db_marc"].Value = MarcData[0];//NewestMarc(MarcData, CheckData); List_Book.Rows[a].Cells["grade"].Value = Chk_Arr[8]; @@ -279,14 +248,22 @@ namespace ExcelTest List_Book.Rows[a].Cells["user"].Value = Chk_Arr[10]; List_Book.Rows[a].Cells["SaveDate"].Value = Chk_Arr[11]; - if (isMyData) - SaveDateCheck(Chk_Arr[11], a); + var item = List_Book.Rows[a].DataBoundItem as MarcBookItem; + Color gradeColor = SetGradeColor(Chk_Arr[8], isMyData); + if (item != null) item.ForeColor = gradeColor; + List_Book.Rows[a].DefaultCellStyle.ForeColor = gradeColor; + if (isMyData) { + Color saveColor = GetSaveDateColor(Chk_Arr[11]); + if (item != null) item.BackColor = saveColor; + List_Book.Rows[a].DefaultCellStyle.BackColor = saveColor; + } else { string FindCompCmd = string.Format("SELECT `comp_name` FROM `Comp` WHERE `idx` = {0}", Chk_Arr[1]); List_Book.Rows[a].Cells["user"].Value = db.DB_Send_CMD_Search(FindCompCmd).Replace("|", ""); List_Book.Rows[a].DefaultCellStyle.BackColor = Color.LightGray; + if (item != null) item.BackColor = Color.LightGray; } } } @@ -333,8 +310,7 @@ namespace ExcelTest /// 마지막 저장시각 14일이전일 경우 배경 색 변경 /// /// 마지막 저장시각 - /// 해당 행 - private void SaveDateCheck(string Date, int row) + private Color GetSaveDateColor(string Date) { DateTime SaveDate = DateTime.ParseExact(Date, "yyyy-MM-dd HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.None); @@ -343,13 +319,24 @@ namespace ExcelTest int result = DateTime.Compare(SaveDate, TargetDate); if (result >= 0) // SaveDate가 같거나 큼 - List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow; + return Color.Yellow; else // TargetDate가 큼 - List_Book.Rows[row].DefaultCellStyle.BackColor = Color.White; + return Color.White; } + private void List_Book_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e) + { + if (e.RowIndex < 0 || e.RowIndex >= List_Book.RowCount) return; + var item = List_Book.Rows[e.RowIndex].DataBoundItem as MarcBookItem; + if (item != null) + { + List_Book.Rows[e.RowIndex].DefaultCellStyle.ForeColor = item.ForeColor; + List_Book.Rows[e.RowIndex].DefaultCellStyle.BackColor = item.BackColor; + } + } + private string mOldMarc = string.Empty; private void List_Book_SelectionChanged(object sender, EventArgs e) @@ -457,13 +444,18 @@ namespace ExcelTest if (isSort) { - if (combo == 0) + var list = bs1.DataSource as List; + if (list != null) { - List_Book.Sort(List_Book.Columns["grade"], System.ComponentModel.ListSortDirection.Ascending); - } - else - { - List_Book.Sort(List_Book.Columns["ISBN13"], System.ComponentModel.ListSortDirection.Ascending); + if (combo == 0) + { + list.Sort((x, y) => string.Compare(x.Grade, y.Grade)); + } + else + { + list.Sort((x, y) => string.Compare(x.ISBN13, y.ISBN13)); + } + bs1.ResetBindings(false); } } else @@ -545,6 +537,12 @@ namespace ExcelTest mOldMarc = GridData[6]; List_Book.Rows[row].DefaultCellStyle.ForeColor = SetGradeColor(GridData[4]); List_Book.Rows[row].DefaultCellStyle.BackColor = Color.Yellow; + var item = List_Book.Rows[row].DataBoundItem as MarcBookItem; + if (item != null) + { + item.ForeColor = List_Book.Rows[row].DefaultCellStyle.ForeColor; + item.BackColor = Color.Yellow; + } if (List_Book.CurrentRow != null && List_Book.CurrentRow.Index == row) { @@ -633,6 +631,8 @@ namespace ExcelTest List_Book.Rows[SaveRowIdx].Cells["db_marc"].Value = e.DBMarc; List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor = SetGradeColor(grade.ToString()); + var item = List_Book.Rows[SaveRowIdx].DataBoundItem as MarcBookItem; + if (item != null) item.ForeColor = List_Book.Rows[SaveRowIdx].DefaultCellStyle.ForeColor; if (isNewData) { diff --git a/unimarc/unimarc/마크/Marc2.designer.cs b/unimarc/unimarc/마크/Marc2.designer.cs index a3deb56..a2efe6e 100644 --- a/unimarc/unimarc/마크/Marc2.designer.cs +++ b/unimarc/unimarc/마크/Marc2.designer.cs @@ -28,6 +28,7 @@ /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.Windows.Forms.Label label31; System.Windows.Forms.Label label30; System.Windows.Forms.Label label33; @@ -42,6 +43,7 @@ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc2)); this.List_Book = new System.Windows.Forms.DataGridView(); this.list_idx = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ISBN13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -78,6 +80,20 @@ this.marcEditorControl1 = new ExcelTest.MarcEditorControl(); this.panel3 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); + this.bs1 = new System.Windows.Forms.BindingSource(this.components); + this.bn1 = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.panel4 = new System.Windows.Forms.Panel(); label31 = new System.Windows.Forms.Label(); label30 = new System.Windows.Forms.Label(); label33 = new System.Windows.Forms.Label(); @@ -93,6 +109,10 @@ this.statusStrip1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit(); + this.bn1.SuspendLayout(); + this.panel4.SuspendLayout(); this.SuspendLayout(); // // label31 @@ -170,9 +190,6 @@ this.List_Book.AllowDrop = true; this.List_Book.AllowUserToAddRows = false; this.List_Book.AllowUserToDeleteRows = false; - this.List_Book.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); this.List_Book.BackgroundColor = System.Drawing.Color.SkyBlue; this.List_Book.BorderStyle = System.Windows.Forms.BorderStyle.None; dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; @@ -200,8 +217,9 @@ this.colCheck, this.user, this.SaveDate}); + this.List_Book.Dock = System.Windows.Forms.DockStyle.Fill; this.List_Book.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; - this.List_Book.Location = new System.Drawing.Point(5, 73); + this.List_Book.Location = new System.Drawing.Point(0, 68); this.List_Book.MultiSelect = false; this.List_Book.Name = "List_Book"; this.List_Book.ReadOnly = true; @@ -216,7 +234,7 @@ this.List_Book.RowHeadersWidth = 51; this.List_Book.RowTemplate.Height = 23; this.List_Book.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.List_Book.Size = new System.Drawing.Size(543, 556); + this.List_Book.Size = new System.Drawing.Size(555, 541); this.List_Book.TabIndex = 217; this.List_Book.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.List_Book_RowPostPaint); this.List_Book.SelectionChanged += new System.EventHandler(this.List_Book_SelectionChanged); @@ -228,6 +246,7 @@ // // list_idx // + this.list_idx.DataPropertyName = "ListIdx"; this.list_idx.HeaderText = "list_idx"; this.list_idx.MinimumWidth = 6; this.list_idx.Name = "list_idx"; @@ -237,6 +256,7 @@ // // ISBN13 // + this.ISBN13.DataPropertyName = "ISBN13"; this.ISBN13.FillWeight = 136.2398F; this.ISBN13.HeaderText = "ISBN13"; this.ISBN13.MinimumWidth = 6; @@ -247,6 +267,7 @@ // // num // + this.num.DataPropertyName = "Num"; this.num.HeaderText = "연번"; this.num.MinimumWidth = 6; this.num.Name = "num"; @@ -255,6 +276,7 @@ // // book_name // + this.book_name.DataPropertyName = "BookName"; this.book_name.FillWeight = 135.5107F; this.book_name.HeaderText = "도서명"; this.book_name.MinimumWidth = 6; @@ -264,6 +286,7 @@ // // author // + this.author.DataPropertyName = "Author"; this.author.FillWeight = 67.49011F; this.author.HeaderText = "저자"; this.author.MinimumWidth = 6; @@ -273,6 +296,7 @@ // // book_comp // + this.book_comp.DataPropertyName = "BookComp"; this.book_comp.FillWeight = 76.49199F; this.book_comp.HeaderText = "출판사"; this.book_comp.MinimumWidth = 6; @@ -282,6 +306,7 @@ // // count // + this.count.DataPropertyName = "Count"; this.count.HeaderText = "C"; this.count.MinimumWidth = 6; this.count.Name = "count"; @@ -290,6 +315,7 @@ // // pay // + this.pay.DataPropertyName = "Pay"; this.pay.FillWeight = 84.26746F; this.pay.HeaderText = "정가"; this.pay.MinimumWidth = 6; @@ -299,6 +325,7 @@ // // url // + this.url.DataPropertyName = "Url"; this.url.HeaderText = "url"; this.url.MinimumWidth = 6; this.url.Name = "url"; @@ -308,6 +335,7 @@ // // marc_idx // + this.marc_idx.DataPropertyName = "MarcIdx"; this.marc_idx.HeaderText = "marc_idx"; this.marc_idx.MinimumWidth = 6; this.marc_idx.Name = "marc_idx"; @@ -317,6 +345,7 @@ // // db_marc // + this.db_marc.DataPropertyName = "DbMarc"; this.db_marc.HeaderText = "marc"; this.db_marc.MinimumWidth = 6; this.db_marc.Name = "db_marc"; @@ -326,6 +355,7 @@ // // grade // + this.grade.DataPropertyName = "Grade"; dataGridViewCellStyle2.Format = "N0"; dataGridViewCellStyle2.NullValue = null; this.grade.DefaultCellStyle = dataGridViewCellStyle2; @@ -338,6 +368,7 @@ // // colCheck // + this.colCheck.DataPropertyName = "ColCheck"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.colCheck.DefaultCellStyle = dataGridViewCellStyle3; this.colCheck.HeaderText = "V"; @@ -349,6 +380,7 @@ // // user // + this.user.DataPropertyName = "User"; this.user.HeaderText = "작업자"; this.user.MinimumWidth = 6; this.user.Name = "user"; @@ -358,6 +390,7 @@ // // SaveDate // + this.SaveDate.DataPropertyName = "SaveDate"; this.SaveDate.HeaderText = "저장시각"; this.SaveDate.MinimumWidth = 6; this.SaveDate.Name = "SaveDate"; @@ -412,9 +445,10 @@ this.panel1.Controls.Add(this.comboBox9); this.panel1.Controls.Add(this.rb_Filter); this.panel1.Controls.Add(this.comboBox8); - this.panel1.Location = new System.Drawing.Point(5, 34); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Location = new System.Drawing.Point(0, 33); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(544, 35); + this.panel1.Size = new System.Drawing.Size(555, 35); this.panel1.TabIndex = 226; // // btn_mk_marcList @@ -465,7 +499,7 @@ this.checkBox3.BackColor = System.Drawing.Color.White; this.checkBox3.Checked = true; this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox3.Location = new System.Drawing.Point(507, 78); + this.checkBox3.Location = new System.Drawing.Point(509, 74); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(15, 14); this.checkBox3.TabIndex = 227; @@ -475,10 +509,11 @@ // tbCustName // this.tbCustName.BackColor = System.Drawing.Color.LightGray; + this.tbCustName.Dock = System.Windows.Forms.DockStyle.Fill; this.tbCustName.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold); - this.tbCustName.Location = new System.Drawing.Point(115, 6); + this.tbCustName.Location = new System.Drawing.Point(103, 3); this.tbCustName.Name = "tbCustName"; - this.tbCustName.Size = new System.Drawing.Size(275, 26); + this.tbCustName.Size = new System.Drawing.Size(301, 27); this.tbCustName.TabIndex = 33; this.tbCustName.Text = " "; this.tbCustName.UseVisualStyleBackColor = false; @@ -488,10 +523,11 @@ // this.lbCustIDX.BackColor = System.Drawing.Color.LightGray; this.lbCustIDX.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.lbCustIDX.Dock = System.Windows.Forms.DockStyle.Right; this.lbCustIDX.Font = new System.Drawing.Font("굴림체", 14.25F, System.Drawing.FontStyle.Bold); - this.lbCustIDX.Location = new System.Drawing.Point(396, 6); + this.lbCustIDX.Location = new System.Drawing.Point(404, 3); this.lbCustIDX.Name = "lbCustIDX"; - this.lbCustIDX.Size = new System.Drawing.Size(60, 26); + this.lbCustIDX.Size = new System.Drawing.Size(60, 27); this.lbCustIDX.TabIndex = 319; this.lbCustIDX.Text = " "; this.lbCustIDX.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -529,9 +565,10 @@ // // btClose // - this.btClose.Location = new System.Drawing.Point(460, 6); + this.btClose.Dock = System.Windows.Forms.DockStyle.Right; + this.btClose.Location = new System.Drawing.Point(464, 3); this.btClose.Name = "btClose"; - this.btClose.Size = new System.Drawing.Size(88, 26); + this.btClose.Size = new System.Drawing.Size(88, 27); this.btClose.TabIndex = 324; this.btClose.Text = "닫 기"; this.btClose.UseVisualStyleBackColor = true; @@ -561,13 +598,11 @@ // panel3 // this.panel3.BackColor = System.Drawing.Color.White; - this.panel3.Controls.Add(this.button1); this.panel3.Controls.Add(this.checkBox3); - this.panel3.Controls.Add(this.tbCustName); - this.panel3.Controls.Add(this.panel1); - this.panel3.Controls.Add(this.btClose); this.panel3.Controls.Add(this.List_Book); - this.panel3.Controls.Add(this.lbCustIDX); + this.panel3.Controls.Add(this.panel1); + this.panel3.Controls.Add(this.panel4); + this.panel3.Controls.Add(this.bn1); this.panel3.Dock = System.Windows.Forms.DockStyle.Left; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); @@ -577,14 +612,144 @@ // // button1 // - this.button1.Location = new System.Drawing.Point(9, 7); + this.button1.Dock = System.Windows.Forms.DockStyle.Left; + this.button1.Location = new System.Drawing.Point(3, 3); this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(100, 23); + this.button1.Size = new System.Drawing.Size(100, 27); this.button1.TabIndex = 324; this.button1.Text = "다시불러오기"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click_1); // + // bn1 + // + this.bn1.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn1.BindingSource = this.bs1; + this.bn1.CountItem = this.bindingNavigatorCountItem; + this.bn1.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem}); + this.bn1.Location = new System.Drawing.Point(0, 609); + this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn1.Name = "bn1"; + this.bn1.PositionItem = this.bindingNavigatorPositionItem; + this.bn1.Size = new System.Drawing.Size(555, 25); + this.bn1.TabIndex = 326; + this.bn1.Text = "bindingNavigator1"; + // + // bindingNavigatorAddNewItem + // + this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); + this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; + this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorAddNewItem.Text = "새로 추가"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorDeleteItem + // + this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); + this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; + this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorDeleteItem.Text = "삭제"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // + // panel4 + // + this.panel4.Controls.Add(this.tbCustName); + this.panel4.Controls.Add(this.lbCustIDX); + this.panel4.Controls.Add(this.btClose); + this.panel4.Controls.Add(this.button1); + this.panel4.Dock = System.Windows.Forms.DockStyle.Top; + this.panel4.Location = new System.Drawing.Point(0, 0); + this.panel4.Name = "panel4"; + this.panel4.Padding = new System.Windows.Forms.Padding(3); + this.panel4.Size = new System.Drawing.Size(555, 33); + this.panel4.TabIndex = 327; + // // Marc2 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); @@ -608,6 +773,11 @@ this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit(); + this.bn1.ResumeLayout(false); + this.bn1.PerformLayout(); + this.panel4.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -654,5 +824,19 @@ private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Button button1; public MarcEditorControl marcEditorControl1; + private System.Windows.Forms.BindingSource bs1; + private System.Windows.Forms.BindingNavigator bn1; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; + private System.Windows.Forms.Panel panel4; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc2.resx b/unimarc/unimarc/마크/Marc2.resx index b6f7363..8997eba 100644 --- a/unimarc/unimarc/마크/Marc2.resx +++ b/unimarc/unimarc/마크/Marc2.resx @@ -195,4 +195,75 @@ 17, 17 + + 273, 17 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WjH+4ElPD/BYBsY + EjhKicW3sSoVb0vSUFsq0W6upUxhdxMtOxZnYhhqVz1oj3JJUZSdpCg0p0POmLKhJofjNqaDeikX3tFG + uuHsQM65cML4ABzY5fA/eQGKIwMcVjm2bAAAAABJRU5ErkJggg== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAATFJREFUOE9jYBg0oHDW8/9NC57/z5z4+D+6HAyEtz/AKceQO/PZ/1VH3v/HpSi+ + +8H/4IZrWOXAIGPK0/8L933Aqii+5+H/pfv///evvoAhBwcJPU/+T9vyHkNRRPt9sObMWf//e5WewG1A + ZNej/72rP6AoCm29B9bcuu7/f//Ov/9d8g/gNiCw+eH/uvnv4IqCW+7+X7T3//+Odf//Z8z5+d+u7ud/ + +4ztuA3wqLr/P3/aGxRFdsW3/6fP+f3fv+vbf53Cd/8tEtbjNsC+9O7/7MmvMRTpp5z/b1L04r9K1qf/ + xpHLcBtgkXfnf2r/a6yKDJJO/JdN+/pfN3gehhwcGGbd/h/W8hKnIv3Uy/81fKdhlQMDnbQb//2qH+JV + pOIxAaccg1Pulf8gBXgVDUoAAPB2wKtYlLYeAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAALtJREFUOE9jYBgyILz9wX90MaJBfPeD/8EN18gzIL7n4f+l+///96++QLoBEe33 + wZozZ/3/71V6gjQDQlvvgTW3rvv/37/z73+X/APEGxDccvf/or3//3es+/8/Y87P/3Z1P//bZ2wn3gAQ + sCu+/T99zu///l3f/usUvvtvkbCeNANAQD/l/H+Tohf/VbI+/TeOXEa6ASBgkHTiv2za1/+6wfPIMwAE + 9FMv/9fwnUa+ASCg4jGBMgMGLwAA0BRgmCws/7cAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAAKRJREFUOE9jYBh0oHDW8//oYiSB3JnP/id03yPfkIwpT//P2//7f0LXHfIMSeh5 + 8n/2vl//O7f+/e9Wepl0QyK7Hv2fsu3X/5Klf/8nTP/73yb3LGmGBDY//N+69j1Ys3HJl//S0df+G0cu + I94Qj6r7/0vmvoNrVnTpIV4zCNiX3v0f2PKMPM0gYJF3579NwRXyNIOAYdZt8jWDgE7aDfI1D00AAKB+ + X6Bjq5qXAAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + wgAADsIBFShKgAAAAStJREFUOE9jYBhUoHDW8//oYjAAkmta8Px/5sTHONUw5M589j+h+x5WBSC5VUfe + /w9vf4BVHgwypjz9P2//7/8JXXcwFIHkFu778D+44RqGHBwk9Dz5P3vfr/+dW//+dyu9jKIQJDdty/v/ + /tUXcBsQ2fXo/5Rtv/6XLP37P2H63/82uWfhikFyvas//PcqPYHbgMDmh/9b174HazYu+fJfOvraf+PI + ZWANILm6+e/+u+QfwG2AR9X9/yVz38E1K7r0wBWD5PKnvflvn7EdtwH2pXf/B7Y8w9AMk8ue/Pq/RcJ6 + 3AZY5N35b1NwBUMzTC61/zXcS1iBYdZtrJpBACQX1vLyv27wPKzyYKCTdgOnJEjOr/rhfw3faTjV4AVO + uVf+q3hMAGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC + + \ No newline at end of file diff --git a/unimarc/unimarc/마크/MarcBookItem.cs b/unimarc/unimarc/마크/MarcBookItem.cs new file mode 100644 index 0000000..ec07854 --- /dev/null +++ b/unimarc/unimarc/마크/MarcBookItem.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace ExcelTest +{ + public class MarcBookItem + { + public string ListIdx { get; set; } + public string ISBN13 { get; set; } + public string Num { get; set; } + public string BookName { get; set; } + public string Author { get; set; } + public string BookComp { get; set; } + public string Count { get; set; } + public string Pay { get; set; } + public string Url { get; set; } + public string MarcIdx { get; set; } + public string DbMarc { get; set; } + public string Grade { get; set; } + public string ColCheck { get; set; } = "V"; + public string User { get; set; } + public string SaveDate { get; set; } + + public System.Drawing.Color ForeColor { get; set; } = System.Drawing.Color.Black; + public System.Drawing.Color BackColor { get; set; } = System.Drawing.Color.White; + } +} diff --git a/unimarc/unimarc/마크/MarcEditorControl.cs b/unimarc/unimarc/마크/MarcEditorControl.cs index 42e752d..6dbf231 100644 --- a/unimarc/unimarc/마크/MarcEditorControl.cs +++ b/unimarc/unimarc/마크/MarcEditorControl.cs @@ -144,7 +144,9 @@ namespace ExcelTest bool check_Marc = click_Marc(dbMarc); //여기안에서 또 008을 설정한다 if (!check_Marc) + { richTextBox1.Text = Make_Empty(); + } else { etc1.Text = Param.Remark1; diff --git a/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs b/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs index dde249d..0bb0eda 100644 --- a/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs +++ b/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.Designer.cs @@ -29,7 +29,9 @@ namespace UniMarc.마크 /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Marc_Plan_Sub_SelectList)); this.panel1 = new System.Windows.Forms.Panel(); this.tb_Search = new System.Windows.Forms.TextBox(); this.cb_gu = new System.Windows.Forms.ComboBox(); @@ -51,10 +53,26 @@ namespace UniMarc.마크 this.btn_Morge = new System.Windows.Forms.Button(); this.btn_OpenFile = new System.Windows.Forms.Button(); this.panel3 = new System.Windows.Forms.Panel(); + this.bn1 = new System.Windows.Forms.BindingNavigator(this.components); + this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); + this.bs1 = new System.Windows.Forms.BindingSource(this.components); + this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel(); + this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox(); + this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton(); + this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bn1)).BeginInit(); + this.bn1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).BeginInit(); this.SuspendLayout(); // // panel1 @@ -194,7 +212,7 @@ namespace UniMarc.마크 this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dataGridView1.Size = new System.Drawing.Size(805, 324); + this.dataGridView1.Size = new System.Drawing.Size(805, 299); this.dataGridView1.TabIndex = 2; this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); @@ -278,15 +296,132 @@ namespace UniMarc.마크 this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 33); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(805, 324); + this.panel3.Size = new System.Drawing.Size(805, 299); this.panel3.TabIndex = 4; // + // bn1 + // + this.bn1.AddNewItem = this.bindingNavigatorAddNewItem; + this.bn1.BindingSource = this.bs1; + this.bn1.CountItem = this.bindingNavigatorCountItem; + this.bn1.DeleteItem = this.bindingNavigatorDeleteItem; + this.bn1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.bn1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.bindingNavigatorMoveFirstItem, + this.bindingNavigatorMovePreviousItem, + this.bindingNavigatorSeparator, + this.bindingNavigatorPositionItem, + this.bindingNavigatorCountItem, + this.bindingNavigatorSeparator1, + this.bindingNavigatorMoveNextItem, + this.bindingNavigatorMoveLastItem, + this.bindingNavigatorSeparator2, + this.bindingNavigatorAddNewItem, + this.bindingNavigatorDeleteItem}); + this.bn1.Location = new System.Drawing.Point(0, 332); + this.bn1.MoveFirstItem = this.bindingNavigatorMoveFirstItem; + this.bn1.MoveLastItem = this.bindingNavigatorMoveLastItem; + this.bn1.MoveNextItem = this.bindingNavigatorMoveNextItem; + this.bn1.MovePreviousItem = this.bindingNavigatorMovePreviousItem; + this.bn1.Name = "bn1"; + this.bn1.PositionItem = this.bindingNavigatorPositionItem; + this.bn1.Size = new System.Drawing.Size(805, 25); + this.bn1.TabIndex = 327; + this.bn1.Text = "bindingNavigator1"; + // + // bindingNavigatorAddNewItem + // + this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); + this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; + this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorAddNewItem.Text = "새로 추가"; + // + // bindingNavigatorCountItem + // + this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; + this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22); + this.bindingNavigatorCountItem.Text = "/{0}"; + this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수"; + // + // bindingNavigatorDeleteItem + // + this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); + this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; + this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorDeleteItem.Text = "삭제"; + // + // bindingNavigatorMoveFirstItem + // + this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); + this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; + this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동"; + // + // bindingNavigatorMovePreviousItem + // + this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); + this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; + this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동"; + // + // bindingNavigatorSeparator + // + this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; + this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorPositionItem + // + this.bindingNavigatorPositionItem.AccessibleName = "위치"; + this.bindingNavigatorPositionItem.AutoSize = false; + this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); + this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; + this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); + this.bindingNavigatorPositionItem.Text = "0"; + this.bindingNavigatorPositionItem.ToolTipText = "현재 위치"; + // + // bindingNavigatorSeparator1 + // + this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; + this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25); + // + // bindingNavigatorMoveNextItem + // + this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); + this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; + this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveNextItem.Text = "다음으로 이동"; + // + // bindingNavigatorMoveLastItem + // + this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); + this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; + this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; + this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22); + this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동"; + // + // bindingNavigatorSeparator2 + // + this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; + this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25); + // // Marc_Plan_Sub_SelectList // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(805, 357); this.Controls.Add(this.panel3); + this.Controls.Add(this.bn1); this.Controls.Add(this.panel2); this.MaximizeBox = false; this.MinimizeBox = false; @@ -298,7 +433,12 @@ namespace UniMarc.마크 ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.bn1)).EndInit(); + this.bn1.ResumeLayout(false); + this.bn1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bs1)).EndInit(); this.ResumeLayout(false); + this.PerformLayout(); } @@ -325,5 +465,18 @@ namespace UniMarc.마크 private System.Windows.Forms.DataGridViewTextBoxColumn user; private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck; private System.Windows.Forms.Button btn_OpenFile; + private System.Windows.Forms.BindingNavigator bn1; + private System.Windows.Forms.ToolStripButton bindingNavigatorAddNewItem; + private System.Windows.Forms.BindingSource bs1; + private System.Windows.Forms.ToolStripLabel bindingNavigatorCountItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorDeleteItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveFirstItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMovePreviousItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator; + private System.Windows.Forms.ToolStripTextBox bindingNavigatorPositionItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator1; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveNextItem; + private System.Windows.Forms.ToolStripButton bindingNavigatorMoveLastItem; + private System.Windows.Forms.ToolStripSeparator bindingNavigatorSeparator2; } } \ No newline at end of file diff --git a/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.resx b/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.resx index 6233b75..ad4ad3d 100644 --- a/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.resx +++ b/unimarc/unimarc/마크/Marc_Plan_Sub_SelectList.resx @@ -132,4 +132,75 @@ True + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vQAADr0BR/uQrQAAAVdJREFUOE/Nz0tLAmEUBmB3kWRoCUVEISFUJGb1OywiKrDsIpZdkJAkDUvDQkij + UKSbVIvatKhNi9oERRAGEQXhjJdp7Hd83/eGs2jhLGQ20QtndTgP71Gp/m0KZ1XInlTjM6XG+4EG5fuK + yaTUIN8bIMUQ0gmtcuBtX/MLPMT0yoHnuA6kuA4iruI20lAZ+DiswWuyFum4Dk+7dbiP6kHEFVDBg+tQ + My4DLbjwG3DqbcORxygHXxJakGIQRFwDEf0gwjKI4AYtzIHmHaA5Oxg/CsYPIb7YIQced+qluvTLCyIs + gRYWQPNO0NwkWNYGxg+DcYNgGSu2Z0xy4C7SiJtwE66kuq049xlAs2Ng/AiS7nbszXci6jIh4jQjPGWR + A+U59hiluowbQMzVVfmgPKU/GdcPxlmx5TArB6KzJunf0gTtPcqBzeluhCYsCIz3wm/rUw78WX4AJCPY + nlwVm9EAAAAASUVORK5CYII= + + + + 92, 17 + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vQAADr0BR/uQrQAAAWtJREFUOE+1kE0ow2Ecx/9X5a2UiwtKOSCTmJBMhuQlMo3IvCUHDouEXHZwIOVC + DrhIDiQl5USy07zNa2tKf2laaRf84/J8xBCetab4XL/f76fn+SnKX4DrGLqrwbHDzywkWJlHdJ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AGN0uYEFAL7Rv7NmXVYYAAAAAElFTkSuQmCC + + \ No newline at end of file