=====* ISBN 조회 *=====
Yes24 - 바뀐 예스 양식에 따라 수정 =====* unimarc *===== - 목록등록 - 머리글에 맞춰 숫자 입력기능 추가 - 목록집계 - 거래처명 엔터시 검색 추가 추가정보 표출창에 거래처 정보가 출력됨 - 송금내역 - 엑셀 반출작업 완료 - 입고작업 - gird3 isbn찍으면 책검색이 되어 자동으로 해당 isbn 책이 출력됨
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -108,12 +108,24 @@ | |||||||
|     <Compile Include="납품관리\Order_Send_Chk.Designer.cs"> |     <Compile Include="납품관리\Order_Send_Chk.Designer.cs"> | ||||||
|       <DependentUpon>Order_Send_Chk.cs</DependentUpon> |       <DependentUpon>Order_Send_Chk.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="마크\All_Book_Detail.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="마크\All_Book_Detail.Designer.cs"> | ||||||
|  |       <DependentUpon>All_Book_Detail.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="마크\All_Book_manage_Add.cs"> |     <Compile Include="마크\All_Book_manage_Add.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
|     <Compile Include="마크\All_Book_manage_Add.Designer.cs"> |     <Compile Include="마크\All_Book_manage_Add.Designer.cs"> | ||||||
|       <DependentUpon>All_Book_manage_Add.cs</DependentUpon> |       <DependentUpon>All_Book_manage_Add.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="마크\All_Book_manage_Edit.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="마크\All_Book_manage_Edit.Designer.cs"> | ||||||
|  |       <DependentUpon>All_Book_manage_Edit.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="마크\Check_ISBN_Sub.cs"> |     <Compile Include="마크\Check_ISBN_Sub.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @@ -636,9 +648,15 @@ | |||||||
|     <EmbeddedResource Include="납품관리\Order_Send_Chk.resx"> |     <EmbeddedResource Include="납품관리\Order_Send_Chk.resx"> | ||||||
|       <DependentUpon>Order_Send_Chk.cs</DependentUpon> |       <DependentUpon>Order_Send_Chk.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="마크\All_Book_Detail.resx"> | ||||||
|  |       <DependentUpon>All_Book_Detail.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="마크\All_Book_manage_Add.resx"> |     <EmbeddedResource Include="마크\All_Book_manage_Add.resx"> | ||||||
|       <DependentUpon>All_Book_manage_Add.cs</DependentUpon> |       <DependentUpon>All_Book_manage_Add.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="마크\All_Book_manage_Edit.resx"> | ||||||
|  |       <DependentUpon>All_Book_manage_Edit.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="마크\Check_ISBN_Sub.resx"> |     <EmbeddedResource Include="마크\Check_ISBN_Sub.resx"> | ||||||
|       <DependentUpon>Check_ISBN_Sub.cs</DependentUpon> |       <DependentUpon>Check_ISBN_Sub.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1 +1 @@ | |||||||
| 633b9d395fc7540535e6b0184ba54303a9134e29 | 8a4f9a29f0df4ec86b13dc91b01da745329b5adf | ||||||
|   | |||||||
| @@ -117,3 +117,5 @@ C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크. | |||||||
| C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.csproj.AssemblyReference.cache | C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.csproj.AssemblyReference.cache | ||||||
| C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.회계.Part_time.resources | C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.회계.Part_time.resources | ||||||
| C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Add.resources | C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Add.resources | ||||||
|  | C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_manage_Edit.resources | ||||||
|  | C:\Users\Administrator\Desktop\unimarc\unimarc\UniMarc\obj\Debug\UniMarc.마크.All_Book_Detail.resources | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								unimarc/unimarc/obj/Debug/UniMarc.마크.All_Book_Detail.resources
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								unimarc/unimarc/obj/Debug/UniMarc.마크.All_Book_Detail.resources
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										118
									
								
								unimarc/unimarc/마크/All_Book_Detail.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										118
									
								
								unimarc/unimarc/마크/All_Book_Detail.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,118 @@ | |||||||
|  |  | ||||||
|  | namespace UniMarc.마크 | ||||||
|  | { | ||||||
|  |     partial class All_Book_Detail | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|  |             this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|  |             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.True; | ||||||
|  |             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; | ||||||
|  |             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|  |             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|  |             this.book_name, | ||||||
|  |             this.author, | ||||||
|  |             this.book_comp, | ||||||
|  |             this.isbn, | ||||||
|  |             this.price}); | ||||||
|  |             this.dataGridView1.Location = new System.Drawing.Point(12, 12); | ||||||
|  |             this.dataGridView1.Name = "dataGridView1"; | ||||||
|  |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|  |             this.dataGridView1.Size = new System.Drawing.Size(776, 426); | ||||||
|  |             this.dataGridView1.TabIndex = 0; | ||||||
|  |             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); | ||||||
|  |             //  | ||||||
|  |             // book_name | ||||||
|  |             //  | ||||||
|  |             this.book_name.HeaderText = "도서명"; | ||||||
|  |             this.book_name.Name = "book_name"; | ||||||
|  |             this.book_name.Width = 250; | ||||||
|  |             //  | ||||||
|  |             // 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; | ||||||
|  |             //  | ||||||
|  |             // isbn | ||||||
|  |             //  | ||||||
|  |             this.isbn.HeaderText = "ISBN"; | ||||||
|  |             this.isbn.Name = "isbn"; | ||||||
|  |             //  | ||||||
|  |             // price | ||||||
|  |             //  | ||||||
|  |             this.price.HeaderText = "정가"; | ||||||
|  |             this.price.Name = "price"; | ||||||
|  |             //  | ||||||
|  |             // All_Book_Detail | ||||||
|  |             //  | ||||||
|  |             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.dataGridView1); | ||||||
|  |             this.Name = "All_Book_Detail"; | ||||||
|  |             this.Text = "전집 세부"; | ||||||
|  |             this.Load += new System.EventHandler(this.All_Book_Detail_Load); | ||||||
|  |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.DataGridView dataGridView1; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn book_name; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn author; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn book_comp; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn isbn; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn price; | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										82
									
								
								unimarc/unimarc/마크/All_Book_Detail.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										82
									
								
								unimarc/unimarc/마크/All_Book_Detail.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,82 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.ComponentModel; | ||||||
|  | using System.Data; | ||||||
|  | using System.Drawing; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Text; | ||||||
|  | using System.Threading.Tasks; | ||||||
|  | using System.Windows.Forms; | ||||||
|  | using WindowsFormsApp1.Mac; | ||||||
|  | using WindowsFormsApp1; | ||||||
|  |  | ||||||
|  | namespace UniMarc.마크 | ||||||
|  | { | ||||||
|  |     public partial class All_Book_Detail : Form | ||||||
|  |     { | ||||||
|  |         public int row; | ||||||
|  |         public int col; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// 세트명[0] / 세트ISBN[1] / 세트수량[2] / 세트정가[3] | ||||||
|  |         /// </summary> | ||||||
|  |         public string[] data = { "", "", "", "" }; | ||||||
|  |  | ||||||
|  |         string compidx; | ||||||
|  |         Helper_DB db = new Helper_DB(); | ||||||
|  |         All_Book_manage manage; | ||||||
|  |         public All_Book_Detail(All_Book_manage _manage) | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             manage = _manage; | ||||||
|  |             compidx = manage.compidx; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void All_Book_Detail_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             this.Text += string.Format("  『{0}』", data[0]); | ||||||
|  |             db.DBcon(); | ||||||
|  |  | ||||||
|  |             string table = "Set_Book"; | ||||||
|  |             string Area = "`book_name`, `author`, `book_comp`, `isbn`, `price`"; | ||||||
|  |             string[] search_table = { "set_name", "set_isbn", "set_count", "set_price" }; | ||||||
|  |             string db_tmp = db.More_DB_Search(table, search_table, data, Area); | ||||||
|  |             string[] db_data = db_tmp.Split('|'); | ||||||
|  |             input_grid(db_data); | ||||||
|  |         } | ||||||
|  |         #region Load_Sub | ||||||
|  |         private void input_grid(string[] data) | ||||||
|  |         { | ||||||
|  |             string[] grid = { "", "", "", "", "" }; | ||||||
|  |             for(int a = 0; a < data.Length; a++) | ||||||
|  |             { | ||||||
|  |                 switch (a % grid.Length)  | ||||||
|  |                 { | ||||||
|  |                     case 0: | ||||||
|  |                         grid[0] = data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 1: | ||||||
|  |                         grid[1] = data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 2: | ||||||
|  |                         grid[2] = data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 3: | ||||||
|  |                         grid[3] = data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 4: | ||||||
|  |                         grid[4] = data[a]; | ||||||
|  |                         dataGridView1.Rows.Add(grid); | ||||||
|  |                         break; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) | ||||||
|  |         { | ||||||
|  |             Skill_Grid sg = new Skill_Grid(); | ||||||
|  |             sg.Print_Grid_Num(sender, e); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										135
									
								
								unimarc/unimarc/마크/All_Book_Detail.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										135
									
								
								unimarc/unimarc/마크/All_Book_Detail.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,135 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="book_name.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="isbn.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> | ||||||
|  | </root> | ||||||
							
								
								
									
										187
									
								
								unimarc/unimarc/마크/All_Book_manage.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										187
									
								
								unimarc/unimarc/마크/All_Book_manage.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -28,13 +28,9 @@ | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|  |             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); | ||||||
|             this.dataGridView1 = new System.Windows.Forms.DataGridView(); |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|             this.set_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.set_isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.set_count = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.set_price = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.textBox1 = new System.Windows.Forms.TextBox(); |             this.textBox1 = new System.Windows.Forms.TextBox(); | ||||||
|             this.label1 = new System.Windows.Forms.Label(); |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|             this.btn_Search = new System.Windows.Forms.Button(); |             this.btn_Search = new System.Windows.Forms.Button(); | ||||||
| @@ -42,6 +38,14 @@ | |||||||
|             this.btn_Edit = new System.Windows.Forms.Button(); |             this.btn_Edit = new System.Windows.Forms.Button(); | ||||||
|             this.btn_Delete = new System.Windows.Forms.Button(); |             this.btn_Delete = new System.Windows.Forms.Button(); | ||||||
|             this.btn_Close = new System.Windows.Forms.Button(); |             this.btn_Close = new System.Windows.Forms.Button(); | ||||||
|  |             this.set_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.set_isbn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.set_count = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.set_price = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.maker = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.chk_V = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
| @@ -49,6 +53,14 @@ | |||||||
|             //  |             //  | ||||||
|             this.dataGridView1.AllowUserToAddRows = false; |             this.dataGridView1.AllowUserToAddRows = false; | ||||||
|             this.dataGridView1.AllowUserToDeleteRows = 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.True; | ||||||
|  |             this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; | ||||||
|             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||||||
|             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | ||||||
|             this.set_name, |             this.set_name, | ||||||
| @@ -56,15 +68,85 @@ | |||||||
|             this.set_count, |             this.set_count, | ||||||
|             this.set_price, |             this.set_price, | ||||||
|             this.author, |             this.author, | ||||||
|             this.book_comp}); |             this.book_comp, | ||||||
|  |             this.maker, | ||||||
|  |             this.chk_V}); | ||||||
|             this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; |             this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; | ||||||
|             this.dataGridView1.Location = new System.Drawing.Point(12, 40); |             this.dataGridView1.Location = new System.Drawing.Point(12, 40); | ||||||
|             this.dataGridView1.Name = "dataGridView1"; |             this.dataGridView1.Name = "dataGridView1"; | ||||||
|             this.dataGridView1.RowTemplate.Height = 23; |             this.dataGridView1.RowTemplate.Height = 23; | ||||||
|             this.dataGridView1.Size = new System.Drawing.Size(792, 318); |             this.dataGridView1.Size = new System.Drawing.Size(924, 398); | ||||||
|             this.dataGridView1.TabIndex = 6; |             this.dataGridView1.TabIndex = 6; | ||||||
|  |             this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); | ||||||
|             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); |             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); | ||||||
|             //  |             //  | ||||||
|  |             // textBox1 | ||||||
|  |             //  | ||||||
|  |             this.textBox1.Location = new System.Drawing.Point(92, 12); | ||||||
|  |             this.textBox1.Name = "textBox1"; | ||||||
|  |             this.textBox1.Size = new System.Drawing.Size(271, 21); | ||||||
|  |             this.textBox1.TabIndex = 7; | ||||||
|  |             this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(17, 16); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(69, 12); | ||||||
|  |             this.label1.TabIndex = 8; | ||||||
|  |             this.label1.Text = "세트명 검색"; | ||||||
|  |             //  | ||||||
|  |             // btn_Search | ||||||
|  |             //  | ||||||
|  |             this.btn_Search.Location = new System.Drawing.Point(369, 11); | ||||||
|  |             this.btn_Search.Name = "btn_Search"; | ||||||
|  |             this.btn_Search.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Search.TabIndex = 9; | ||||||
|  |             this.btn_Search.Text = "검   색"; | ||||||
|  |             this.btn_Search.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Add | ||||||
|  |             //  | ||||||
|  |             this.btn_Add.Location = new System.Drawing.Point(486, 11); | ||||||
|  |             this.btn_Add.Name = "btn_Add"; | ||||||
|  |             this.btn_Add.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Add.TabIndex = 9; | ||||||
|  |             this.btn_Add.Text = "추   가"; | ||||||
|  |             this.btn_Add.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Edit | ||||||
|  |             //  | ||||||
|  |             this.btn_Edit.Location = new System.Drawing.Point(567, 11); | ||||||
|  |             this.btn_Edit.Name = "btn_Edit"; | ||||||
|  |             this.btn_Edit.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Edit.TabIndex = 9; | ||||||
|  |             this.btn_Edit.Text = "수   정"; | ||||||
|  |             this.btn_Edit.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Delete | ||||||
|  |             //  | ||||||
|  |             this.btn_Delete.Location = new System.Drawing.Point(648, 11); | ||||||
|  |             this.btn_Delete.Name = "btn_Delete"; | ||||||
|  |             this.btn_Delete.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Delete.TabIndex = 9; | ||||||
|  |             this.btn_Delete.Text = "삭   제"; | ||||||
|  |             this.btn_Delete.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Close | ||||||
|  |             //  | ||||||
|  |             this.btn_Close.Location = new System.Drawing.Point(729, 11); | ||||||
|  |             this.btn_Close.Name = "btn_Close"; | ||||||
|  |             this.btn_Close.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Close.TabIndex = 9; | ||||||
|  |             this.btn_Close.Text = "닫   기"; | ||||||
|  |             this.btn_Close.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); | ||||||
|  |             //  | ||||||
|             // set_name |             // set_name | ||||||
|             //  |             //  | ||||||
|             this.set_name.HeaderText = "세트명"; |             this.set_name.HeaderText = "세트명"; | ||||||
| @@ -97,78 +179,24 @@ | |||||||
|             this.book_comp.HeaderText = "출판사"; |             this.book_comp.HeaderText = "출판사"; | ||||||
|             this.book_comp.Name = "book_comp"; |             this.book_comp.Name = "book_comp"; | ||||||
|             //  |             //  | ||||||
|             // textBox1 |             // maker | ||||||
|             //  |             //  | ||||||
|             this.textBox1.Location = new System.Drawing.Point(59, 12); |             this.maker.HeaderText = "자료 생성자"; | ||||||
|             this.textBox1.Name = "textBox1"; |             this.maker.Name = "maker"; | ||||||
|             this.textBox1.Size = new System.Drawing.Size(271, 21); |  | ||||||
|             this.textBox1.TabIndex = 7; |  | ||||||
|             this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); |  | ||||||
|             //  |             //  | ||||||
|             // label1 |             // chk_V | ||||||
|             //  |             //  | ||||||
|             this.label1.AutoSize = true; |             dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; | ||||||
|             this.label1.Location = new System.Drawing.Point(12, 16); |             this.chk_V.DefaultCellStyle = dataGridViewCellStyle2; | ||||||
|             this.label1.Name = "label1"; |             this.chk_V.HeaderText = "V"; | ||||||
|             this.label1.Size = new System.Drawing.Size(41, 12); |             this.chk_V.Name = "chk_V"; | ||||||
|             this.label1.TabIndex = 8; |             this.chk_V.Width = 30; | ||||||
|             this.label1.Text = "검색어"; |  | ||||||
|             //  |  | ||||||
|             // btn_Search |  | ||||||
|             //  |  | ||||||
|             this.btn_Search.Location = new System.Drawing.Point(336, 11); |  | ||||||
|             this.btn_Search.Name = "btn_Search"; |  | ||||||
|             this.btn_Search.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Search.TabIndex = 9; |  | ||||||
|             this.btn_Search.Text = "검   색"; |  | ||||||
|             this.btn_Search.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Add |  | ||||||
|             //  |  | ||||||
|             this.btn_Add.Location = new System.Drawing.Point(417, 11); |  | ||||||
|             this.btn_Add.Name = "btn_Add"; |  | ||||||
|             this.btn_Add.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Add.TabIndex = 9; |  | ||||||
|             this.btn_Add.Text = "추   가"; |  | ||||||
|             this.btn_Add.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Edit |  | ||||||
|             //  |  | ||||||
|             this.btn_Edit.Location = new System.Drawing.Point(498, 11); |  | ||||||
|             this.btn_Edit.Name = "btn_Edit"; |  | ||||||
|             this.btn_Edit.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Edit.TabIndex = 9; |  | ||||||
|             this.btn_Edit.Text = "수   정"; |  | ||||||
|             this.btn_Edit.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Delete |  | ||||||
|             //  |  | ||||||
|             this.btn_Delete.Location = new System.Drawing.Point(579, 11); |  | ||||||
|             this.btn_Delete.Name = "btn_Delete"; |  | ||||||
|             this.btn_Delete.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Delete.TabIndex = 9; |  | ||||||
|             this.btn_Delete.Text = "삭   제"; |  | ||||||
|             this.btn_Delete.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Close |  | ||||||
|             //  |  | ||||||
|             this.btn_Close.Location = new System.Drawing.Point(660, 11); |  | ||||||
|             this.btn_Close.Name = "btn_Close"; |  | ||||||
|             this.btn_Close.Size = new System.Drawing.Size(75, 23); |  | ||||||
|             this.btn_Close.TabIndex = 9; |  | ||||||
|             this.btn_Close.Text = "닫   기"; |  | ||||||
|             this.btn_Close.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); |  | ||||||
|             //  |             //  | ||||||
|             // All_Book_manage |             // All_Book_manage | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.ClientSize = new System.Drawing.Size(816, 450); |             this.ClientSize = new System.Drawing.Size(948, 450); | ||||||
|             this.Controls.Add(this.btn_Close); |             this.Controls.Add(this.btn_Close); | ||||||
|             this.Controls.Add(this.btn_Delete); |             this.Controls.Add(this.btn_Delete); | ||||||
|             this.Controls.Add(this.btn_Edit); |             this.Controls.Add(this.btn_Edit); | ||||||
| @@ -179,6 +207,7 @@ | |||||||
|             this.Controls.Add(this.dataGridView1); |             this.Controls.Add(this.dataGridView1); | ||||||
|             this.Name = "All_Book_manage"; |             this.Name = "All_Book_manage"; | ||||||
|             this.Text = "전집 관리"; |             this.Text = "전집 관리"; | ||||||
|  |             this.Load += new System.EventHandler(this.All_Book_manage_Load); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
| @@ -188,12 +217,6 @@ | |||||||
|         #endregion |         #endregion | ||||||
|  |  | ||||||
|         private System.Windows.Forms.DataGridView dataGridView1; |         private System.Windows.Forms.DataGridView dataGridView1; | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn set_name; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn set_isbn; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn set_count; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn set_price; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn author; |  | ||||||
|         private System.Windows.Forms.DataGridViewTextBoxColumn book_comp; |  | ||||||
|         private System.Windows.Forms.TextBox textBox1; |         private System.Windows.Forms.TextBox textBox1; | ||||||
|         private System.Windows.Forms.Label label1; |         private System.Windows.Forms.Label label1; | ||||||
|         private System.Windows.Forms.Button btn_Add; |         private System.Windows.Forms.Button btn_Add; | ||||||
| @@ -201,5 +224,13 @@ | |||||||
|         private System.Windows.Forms.Button btn_Delete; |         private System.Windows.Forms.Button btn_Delete; | ||||||
|         private System.Windows.Forms.Button btn_Close; |         private System.Windows.Forms.Button btn_Close; | ||||||
|         public System.Windows.Forms.Button btn_Search; |         public System.Windows.Forms.Button btn_Search; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn set_name; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn set_isbn; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn set_count; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn set_price; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn author; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn book_comp; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn maker; | ||||||
|  |         private System.Windows.Forms.DataGridViewTextBoxColumn chk_V; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -13,21 +13,91 @@ namespace WindowsFormsApp1.Mac | |||||||
| { | { | ||||||
|     public partial class All_Book_manage : Form |     public partial class All_Book_manage : Form | ||||||
|     { |     { | ||||||
|  |         public string compidx; | ||||||
|  |         public string charge; | ||||||
|  |         Helper_DB db = new Helper_DB(); | ||||||
|         Main main; |         Main main; | ||||||
|         public All_Book_manage(Main _main) |         public All_Book_manage(Main _main) | ||||||
|         { |         { | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|             main = _main; |             main = _main; | ||||||
|  |             compidx = main.com_idx; | ||||||
|  |             charge = main.User; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void All_Book_manage_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             db.DBcon(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         public void btn_Search_Click(object sender, EventArgs e) |         public void btn_Search_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|  |             dataGridView1.Rows.Clear(); | ||||||
|             string text = textBox1.Text; |             string text = textBox1.Text; | ||||||
|  |             // 세트명 세트ISBN 세트수량 세트정가 저자 출판사 추가자 | ||||||
|  |             string Area_db = "`set_name`, `set_isbn`, `set_count`, `set_price`, `author`, `book_comp`, `charge`"; | ||||||
|  |             string tmp_data = db.DB_Contains("Set_Book", compidx, "set_name", text, Area_db); | ||||||
|  |             string[] db_data = tmp_data.Split('|'); | ||||||
|  |             input_Grid(db_data); | ||||||
|         } |         } | ||||||
|  |         #region Search_Sub | ||||||
|  |         private void input_Grid(string[] db_data) | ||||||
|  |         { | ||||||
|  |             string[] grid = { "", "", "", "", "",  | ||||||
|  |                               "", "", "" }; | ||||||
|  |  | ||||||
|  |             for (int a = 0; a < db_data.Length; a++) | ||||||
|  |             { | ||||||
|  |                 switch (a % 7) | ||||||
|  |                 { | ||||||
|  |                     case 0: | ||||||
|  |                         grid[0] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 1: | ||||||
|  |                         grid[1] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 2: | ||||||
|  |                         grid[2] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 3: | ||||||
|  |                         grid[3] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 4: | ||||||
|  |                         grid[4] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 5: | ||||||
|  |                         grid[5] = db_data[a]; | ||||||
|  |                         break; | ||||||
|  |                     case 6: | ||||||
|  |                         grid[6] = db_data[a]; | ||||||
|  |                         if (input_Grid_Sub(grid[0])) { | ||||||
|  |                             dataGridView1.Rows.Add(grid); | ||||||
|  |                         } | ||||||
|  |                         break; | ||||||
|  |                     default: | ||||||
|  |                         break; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         private bool input_Grid_Sub(string value) | ||||||
|  |         { | ||||||
|  |             if (dataGridView1.Rows.Count < 1) | ||||||
|  |             { | ||||||
|  |                 return true; | ||||||
|  |             } | ||||||
|  |             for (int a = 0; a < dataGridView1.Rows.Count; a++) | ||||||
|  |             { | ||||||
|  |                 if (dataGridView1.Rows[a].Cells["set_name"].Value.ToString() == value) { | ||||||
|  |                     return false; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             return true; | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|         private void textBox1_KeyDown(object sender, KeyEventArgs e) |         private void textBox1_KeyDown(object sender, KeyEventArgs e) | ||||||
|         { |         { | ||||||
|             if(e.KeyCode == Keys.Enter) |             if (e.KeyCode == Keys.Enter) | ||||||
|             { |             { | ||||||
|                 btn_Search_Click(null, null); |                 btn_Search_Click(null, null); | ||||||
|             } |             } | ||||||
| @@ -38,23 +108,84 @@ namespace WindowsFormsApp1.Mac | |||||||
|             // 새로운 폼 작업이 필요함. |             // 새로운 폼 작업이 필요함. | ||||||
|             All_Book_manage_Add add = new All_Book_manage_Add(this); |             All_Book_manage_Add add = new All_Book_manage_Add(this); | ||||||
|             add.Show(); |             add.Show(); | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void btn_Edit_Click(object sender, EventArgs e) |         private void btn_Edit_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             // 새로운 폼 작업이 필요함. |             int V_idx = Edit_Delete_Sub(); | ||||||
|  |             if (V_idx == -1) | ||||||
|  |             { | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             string[] edit_data = { | ||||||
|  |                 dataGridView1.Rows[V_idx].Cells["set_name"].Value.ToString(), | ||||||
|  |                 dataGridView1.Rows[V_idx].Cells["set_isbn"].Value.ToString(), | ||||||
|  |                 dataGridView1.Rows[V_idx].Cells["set_count"].Value.ToString(), | ||||||
|  |                 dataGridView1.Rows[V_idx].Cells["set_price"].Value.ToString() | ||||||
|  |             }; | ||||||
|  |  | ||||||
|  |  | ||||||
|  |             All_Book_manage_Edit edit = new All_Book_manage_Edit(this); | ||||||
|  |             edit.Show(); | ||||||
|  |             edit.set_old(edit_data); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// row에 체크가 된 idx값을 가져오기 위한 함수. (2개 이상 체크시 리턴됨) | ||||||
|  |         /// </summary> | ||||||
|  |         /// <returns>체크된 row의 idx값</returns> | ||||||
|  |         private int Edit_Delete_Sub() | ||||||
|  |         { | ||||||
|  |             // 목록에 값이 없을 경우 리턴 | ||||||
|  |             if (dataGridView1.Rows.Count < 1) | ||||||
|  |             { | ||||||
|  |                 return -1; | ||||||
|  |             } | ||||||
|  |             int V_idx = -1; | ||||||
|  |  | ||||||
|  |             // 체크표시된 인덱스 값 확인 및 추출 (2개이상일 경우 오류표출하고 리턴) | ||||||
|  |             for (int a = 0; a < dataGridView1.Rows.Count; a++) | ||||||
|  |             { | ||||||
|  |                 if (V_idx != -1 && dataGridView1.Rows[a].Cells["chk_V"].Value.ToString() == "V") | ||||||
|  |                 { | ||||||
|  |                     MessageBox.Show("체크사항이 1개인지 확인해주세요."); | ||||||
|  |                     return -1; | ||||||
|  |                 } | ||||||
|  |                 if (dataGridView1.Rows[a].Cells["chk_V"].Value.ToString() == "V") | ||||||
|  |                 { | ||||||
|  |                     V_idx = a; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             return V_idx; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void btn_Delete_Click(object sender, EventArgs e) |         private void btn_Delete_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|  |             int V_idx = Edit_Delete_Sub(); | ||||||
|  |             if (V_idx == -1) | ||||||
|  |             { | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             if (MessageBox.Show("삭제하시겠습니까?", "삭제", MessageBoxButtons.YesNo) == DialogResult.Yes) | ||||||
|  |             { | ||||||
|  |                 string[] delete_area = { "set_name", "set_isbn", "set_count", "set_price" }; | ||||||
|  |                 string[] delete_data = { | ||||||
|  |                     dataGridView1.Rows[V_idx].Cells["set_name"].Value.ToString(), | ||||||
|  |                     dataGridView1.Rows[V_idx].Cells["set_isbn"].Value.ToString(), | ||||||
|  |                     dataGridView1.Rows[V_idx].Cells["set_count"].Value.ToString(), | ||||||
|  |                     dataGridView1.Rows[V_idx].Cells["set_price"].Value.ToString() }; | ||||||
|  |  | ||||||
|  |                 db.DB_Delete_No_Limit("Set_Book", "compidx", compidx, delete_area, delete_data); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             btn_Search_Click(null, null); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void btn_Close_Click(object sender, EventArgs e) |         private void btn_Close_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|  |             this.Close(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) |         private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) | ||||||
| @@ -62,5 +193,35 @@ namespace WindowsFormsApp1.Mac | |||||||
|             Skill_Grid sg = new Skill_Grid(); |             Skill_Grid sg = new Skill_Grid(); | ||||||
|             sg.Print_Grid_Num(sender, e); |             sg.Print_Grid_Num(sender, e); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) | ||||||
|  |         { | ||||||
|  |             int col = e.ColumnIndex; | ||||||
|  |             int row = e.RowIndex; | ||||||
|  |  | ||||||
|  |             if (dataGridView1.Columns["chk_V"].Index == col) | ||||||
|  |             { | ||||||
|  |                 if (dataGridView1.Rows[row].Cells["chk_V"].Value.ToString() == "" || | ||||||
|  |                     dataGridView1.Rows[row].Cells["chk_V"].Value == null) | ||||||
|  |                 { | ||||||
|  |                     dataGridView1.Rows[row].Cells["chk_V"].Value = "V"; | ||||||
|  |                 } | ||||||
|  |                 else if (dataGridView1.Rows[row].Cells["chk_V"].Value.ToString() == "V") | ||||||
|  |                 { | ||||||
|  |                     dataGridView1.Rows[row].Cells["chk_V"].Value = ""; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 All_Book_Detail detail = new All_Book_Detail(this); | ||||||
|  |                 detail.row = row; | ||||||
|  |                 detail.col = col; | ||||||
|  |                 detail.data[0] = dataGridView1.Rows[row].Cells["set_name"].Value.ToString(); | ||||||
|  |                 detail.data[1] = dataGridView1.Rows[row].Cells["set_isbn"].Value.ToString(); | ||||||
|  |                 detail.data[2] = dataGridView1.Rows[row].Cells["set_count"].Value.ToString(); | ||||||
|  |                 detail.data[3] = dataGridView1.Rows[row].Cells["set_price"].Value.ToString(); | ||||||
|  |                 detail.Show(); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -135,4 +135,10 @@ | |||||||
|   <metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |   <metadata name="book_comp.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|     <value>True</value> |     <value>True</value> | ||||||
|   </metadata> |   </metadata> | ||||||
|  |   <metadata name="maker.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
|  |   <metadata name="chk_V.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>True</value> | ||||||
|  |   </metadata> | ||||||
| </root> | </root> | ||||||
							
								
								
									
										45
									
								
								unimarc/unimarc/마크/All_Book_manage_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										45
									
								
								unimarc/unimarc/마크/All_Book_manage_Add.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -41,13 +41,13 @@ namespace UniMarc.마크 | |||||||
|             this.tb_setISBN = new System.Windows.Forms.TextBox(); |             this.tb_setISBN = new System.Windows.Forms.TextBox(); | ||||||
|             this.tb_setPrice = new System.Windows.Forms.TextBox(); |             this.tb_setPrice = new System.Windows.Forms.TextBox(); | ||||||
|             this.dataGridView1 = new System.Windows.Forms.DataGridView(); |             this.dataGridView1 = new System.Windows.Forms.DataGridView(); | ||||||
|             this.btn_Save = new System.Windows.Forms.Button(); |  | ||||||
|             this.btn_Close = new System.Windows.Forms.Button(); |  | ||||||
|             this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.author = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.btn_Save = new System.Windows.Forms.Button(); | ||||||
|  |             this.btn_Close = new System.Windows.Forms.Button(); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
| @@ -156,26 +156,6 @@ namespace UniMarc.마크 | |||||||
|             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); |             this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint); | ||||||
|             this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); |             this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); | ||||||
|             //  |             //  | ||||||
|             // btn_Save |  | ||||||
|             //  |  | ||||||
|             this.btn_Save.Location = new System.Drawing.Point(160, 321); |  | ||||||
|             this.btn_Save.Name = "btn_Save"; |  | ||||||
|             this.btn_Save.Size = new System.Drawing.Size(100, 30); |  | ||||||
|             this.btn_Save.TabIndex = 3; |  | ||||||
|             this.btn_Save.Text = "저   장"; |  | ||||||
|             this.btn_Save.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); |  | ||||||
|             //  |  | ||||||
|             // btn_Close |  | ||||||
|             //  |  | ||||||
|             this.btn_Close.Location = new System.Drawing.Point(425, 321); |  | ||||||
|             this.btn_Close.Name = "btn_Close"; |  | ||||||
|             this.btn_Close.Size = new System.Drawing.Size(100, 30); |  | ||||||
|             this.btn_Close.TabIndex = 3; |  | ||||||
|             this.btn_Close.Text = "닫   기"; |  | ||||||
|             this.btn_Close.UseVisualStyleBackColor = true; |  | ||||||
|             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); |  | ||||||
|             //  |  | ||||||
|             // book_name |             // book_name | ||||||
|             //  |             //  | ||||||
|             this.book_name.HeaderText = "* 도서명"; |             this.book_name.HeaderText = "* 도서명"; | ||||||
| @@ -203,6 +183,26 @@ namespace UniMarc.마크 | |||||||
|             this.ISBN.HeaderText = "ISBN"; |             this.ISBN.HeaderText = "ISBN"; | ||||||
|             this.ISBN.Name = "ISBN"; |             this.ISBN.Name = "ISBN"; | ||||||
|             //  |             //  | ||||||
|  |             // btn_Save | ||||||
|  |             //  | ||||||
|  |             this.btn_Save.Location = new System.Drawing.Point(160, 321); | ||||||
|  |             this.btn_Save.Name = "btn_Save"; | ||||||
|  |             this.btn_Save.Size = new System.Drawing.Size(100, 30); | ||||||
|  |             this.btn_Save.TabIndex = 3; | ||||||
|  |             this.btn_Save.Text = "저   장"; | ||||||
|  |             this.btn_Save.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Close | ||||||
|  |             //  | ||||||
|  |             this.btn_Close.Location = new System.Drawing.Point(425, 321); | ||||||
|  |             this.btn_Close.Name = "btn_Close"; | ||||||
|  |             this.btn_Close.Size = new System.Drawing.Size(100, 30); | ||||||
|  |             this.btn_Close.TabIndex = 3; | ||||||
|  |             this.btn_Close.Text = "닫   기"; | ||||||
|  |             this.btn_Close.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); | ||||||
|  |             //  | ||||||
|             // All_Book_manage_Add |             // All_Book_manage_Add | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
| @@ -223,6 +223,7 @@ namespace UniMarc.마크 | |||||||
|             this.Controls.Add(this.label1); |             this.Controls.Add(this.label1); | ||||||
|             this.Name = "All_Book_manage_Add"; |             this.Name = "All_Book_manage_Add"; | ||||||
|             this.Text = "전집 목록 생성"; |             this.Text = "전집 목록 생성"; | ||||||
|  |             this.Load += new System.EventHandler(this.All_Book_manage_Add_Load); | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
|             this.PerformLayout(); |             this.PerformLayout(); | ||||||
|   | |||||||
| @@ -14,6 +14,7 @@ namespace UniMarc.마크 | |||||||
| { | { | ||||||
|     public partial class All_Book_manage_Add : Form |     public partial class All_Book_manage_Add : Form | ||||||
|     { |     { | ||||||
|  |         Helper_DB db = new Helper_DB(); | ||||||
|         All_Book_manage manage; |         All_Book_manage manage; | ||||||
|         public All_Book_manage_Add(All_Book_manage _manage) |         public All_Book_manage_Add(All_Book_manage _manage) | ||||||
|         { |         { | ||||||
| @@ -21,6 +22,11 @@ namespace UniMarc.마크 | |||||||
|             manage = _manage; |             manage = _manage; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void All_Book_manage_Add_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             db.DBcon(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|         private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) |         private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) | ||||||
|         { |         { | ||||||
|             Skill_Grid sg = new Skill_Grid(); |             Skill_Grid sg = new Skill_Grid(); | ||||||
| @@ -30,12 +36,14 @@ namespace UniMarc.마크 | |||||||
|         private void btn_Save_Click(object sender, EventArgs e) |         private void btn_Save_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             bool grid_chk = true; |             bool grid_chk = true; | ||||||
|  |  | ||||||
|             for(int a = 0; a < dataGridView1.Rows.Count; a++) |             for(int a = 0; a < dataGridView1.Rows.Count; a++) | ||||||
|             { |             { | ||||||
|                 if (dataGridView1.Rows[a].Cells["book_name"].Value == null ||  |                 if (dataGridView1.Rows[a].Cells["book_name"].Value == null ||  | ||||||
|                     dataGridView1.Rows[a].Cells["author"].Value == null ||  |                     dataGridView1.Rows[a].Cells["author"].Value == null ||  | ||||||
|                     dataGridView1.Rows[a].Cells["book_comp"].Value == null ||  |                     dataGridView1.Rows[a].Cells["book_comp"].Value == null ||  | ||||||
|                     dataGridView1.Rows[a].Cells["price"].Value == null) { |                     dataGridView1.Rows[a].Cells["price"].Value == null) { | ||||||
|  |  | ||||||
|                     grid_chk = false; |                     grid_chk = false; | ||||||
|                     break; |                     break; | ||||||
|                 } |                 } | ||||||
| @@ -50,14 +58,38 @@ namespace UniMarc.마크 | |||||||
|                     grid_chk = false; |                     grid_chk = false; | ||||||
|                     break; |                     break; | ||||||
|                 } |                 } | ||||||
|  |                 if (dataGridView1.Rows[a].Cells["ISBN"].Value == null) | ||||||
|  |                 { | ||||||
|  |                     dataGridView1.Rows[a].Cells["ISBN"].Value = ""; | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|             if (!grid_chk) { |             if (!grid_chk) { | ||||||
|                 MessageBox.Show("필수 입력사항이 비어있습니다!\n*이 붙은 곳을 확인해주세요."); |                 MessageBox.Show("필수 입력사항이 비어있습니다!\n맨 앞에 \"*\"이 붙은 곳을 확인해주세요."); | ||||||
|                 return; |                 return; | ||||||
|             } |             } | ||||||
|  |  | ||||||
|  |             // DB 저장 | ||||||
|  |             for(int a= 0; a < dataGridView1.Rows.Count; a++) | ||||||
|  |             { | ||||||
|  |                 string[] insert_tbl = { "compidx",  | ||||||
|  |                                         "set_name", "set_count", "set_isbn", "set_price", "set_pubyear",  | ||||||
|  |                                         "book_name", "author", "book_comp", "isbn", "price", "charge" }; | ||||||
|  |                 string[] insert_col = { manage.compidx, | ||||||
|  |                                         tb_setName.Text, tb_setCount.Text, tb_setISBN.Text, tb_setPrice.Text, tb_setYear.Text, | ||||||
|  |                                         dataGridView1.Rows[a].Cells["book_name"].Value.ToString(), | ||||||
|  |                                         dataGridView1.Rows[a].Cells["author"].Value.ToString(), | ||||||
|  |                                         dataGridView1.Rows[a].Cells["book_comp"].Value.ToString(), | ||||||
|  |                                         dataGridView1.Rows[a].Cells["ISBN"].Value.ToString(), | ||||||
|  |                                         dataGridView1.Rows[a].Cells["price"].Value.ToString(), manage.charge }; | ||||||
|  |  | ||||||
|  |                 db.DB_INSERT("Set_Book", insert_tbl, insert_col); | ||||||
|  |             } | ||||||
|  |  | ||||||
|  |             MessageBox.Show("저장완료"); | ||||||
|  |  | ||||||
|  |             // 부모폼 조회버튼 클릭 | ||||||
|  |             manage.btn_Search_Click(null, null); | ||||||
|  |             this.Close(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void btn_Close_Click(object sender, EventArgs e) |         private void btn_Close_Click(object sender, EventArgs e) | ||||||
| @@ -71,6 +103,7 @@ namespace UniMarc.마크 | |||||||
|             if ((e.Shift && e.KeyCode == Keys.Insert) || (e.Control && e.KeyCode == Keys.V)) |             if ((e.Shift && e.KeyCode == Keys.Insert) || (e.Control && e.KeyCode == Keys.V)) | ||||||
|             { |             { | ||||||
|                 sg.Excel_to_DataGridView(sender, e); |                 sg.Excel_to_DataGridView(sender, e); | ||||||
|  |                 tb_setCount.Text = dataGridView1.Rows.Count.ToString(); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
							
								
								
									
										324
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										324
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,324 @@ | |||||||
|  |  | ||||||
|  | namespace UniMarc.마크 | ||||||
|  | { | ||||||
|  |     partial class All_Book_manage_Edit | ||||||
|  |     { | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required designer variable. | ||||||
|  |         /// </summary> | ||||||
|  |         private System.ComponentModel.IContainer components = null; | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Clean up any resources being used. | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> | ||||||
|  |         protected override void Dispose(bool disposing) | ||||||
|  |         { | ||||||
|  |             if (disposing && (components != null)) | ||||||
|  |             { | ||||||
|  |                 components.Dispose(); | ||||||
|  |             } | ||||||
|  |             base.Dispose(disposing); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #region Windows Form Designer generated code | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// Required method for Designer support - do not modify | ||||||
|  |         /// the contents of this method with the code editor. | ||||||
|  |         /// </summary> | ||||||
|  |         private void InitializeComponent() | ||||||
|  |         { | ||||||
|  |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_name_old = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_isbn_old = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_count_old = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_price_old = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.panel2 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.tb_set_price_new = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_count_new = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_isbn_new = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label7 = new System.Windows.Forms.Label(); | ||||||
|  |             this.tb_set_name_new = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.label8 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label9 = new System.Windows.Forms.Label(); | ||||||
|  |             this.btn_Save = new System.Windows.Forms.Button(); | ||||||
|  |             this.btn_Close = new System.Windows.Forms.Button(); | ||||||
|  |             this.label10 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label11 = new System.Windows.Forms.Label(); | ||||||
|  |             this.panel1.SuspendLayout(); | ||||||
|  |             this.panel2.SuspendLayout(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.AutoSize = true; | ||||||
|  |             this.label1.Location = new System.Drawing.Point(31, 46); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(45, 12); | ||||||
|  |             this.label1.TabIndex = 0; | ||||||
|  |             this.label1.Text = "세트 명"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_name_old | ||||||
|  |             //  | ||||||
|  |             this.tb_set_name_old.Enabled = false; | ||||||
|  |             this.tb_set_name_old.Location = new System.Drawing.Point(82, 42); | ||||||
|  |             this.tb_set_name_old.Name = "tb_set_name_old"; | ||||||
|  |             this.tb_set_name_old.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_name_old.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // panel1 | ||||||
|  |             //  | ||||||
|  |             this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|  |             this.panel1.Controls.Add(this.label10); | ||||||
|  |             this.panel1.Controls.Add(this.tb_set_price_old); | ||||||
|  |             this.panel1.Controls.Add(this.label4); | ||||||
|  |             this.panel1.Controls.Add(this.tb_set_count_old); | ||||||
|  |             this.panel1.Controls.Add(this.label3); | ||||||
|  |             this.panel1.Controls.Add(this.tb_set_isbn_old); | ||||||
|  |             this.panel1.Controls.Add(this.label2); | ||||||
|  |             this.panel1.Controls.Add(this.tb_set_name_old); | ||||||
|  |             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(207, 163); | ||||||
|  |             this.panel1.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.AutoSize = true; | ||||||
|  |             this.label2.Location = new System.Drawing.Point(15, 73); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(61, 12); | ||||||
|  |             this.label2.TabIndex = 0; | ||||||
|  |             this.label2.Text = "세트 ISBN"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_isbn_old | ||||||
|  |             //  | ||||||
|  |             this.tb_set_isbn_old.Enabled = false; | ||||||
|  |             this.tb_set_isbn_old.Location = new System.Drawing.Point(82, 69); | ||||||
|  |             this.tb_set_isbn_old.Name = "tb_set_isbn_old"; | ||||||
|  |             this.tb_set_isbn_old.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_isbn_old.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.AutoSize = true; | ||||||
|  |             this.label3.Location = new System.Drawing.Point(19, 100); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(57, 12); | ||||||
|  |             this.label3.TabIndex = 0; | ||||||
|  |             this.label3.Text = "세트 수량"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_count_old | ||||||
|  |             //  | ||||||
|  |             this.tb_set_count_old.Enabled = false; | ||||||
|  |             this.tb_set_count_old.Location = new System.Drawing.Point(82, 96); | ||||||
|  |             this.tb_set_count_old.Name = "tb_set_count_old"; | ||||||
|  |             this.tb_set_count_old.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_count_old.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.AutoSize = true; | ||||||
|  |             this.label4.Location = new System.Drawing.Point(19, 127); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(57, 12); | ||||||
|  |             this.label4.TabIndex = 0; | ||||||
|  |             this.label4.Text = "세트 정가"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_price_old | ||||||
|  |             //  | ||||||
|  |             this.tb_set_price_old.Enabled = false; | ||||||
|  |             this.tb_set_price_old.Location = new System.Drawing.Point(82, 123); | ||||||
|  |             this.tb_set_price_old.Name = "tb_set_price_old"; | ||||||
|  |             this.tb_set_price_old.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_price_old.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // panel2 | ||||||
|  |             //  | ||||||
|  |             this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; | ||||||
|  |             this.panel2.Controls.Add(this.label11); | ||||||
|  |             this.panel2.Controls.Add(this.tb_set_price_new); | ||||||
|  |             this.panel2.Controls.Add(this.label5); | ||||||
|  |             this.panel2.Controls.Add(this.tb_set_count_new); | ||||||
|  |             this.panel2.Controls.Add(this.label6); | ||||||
|  |             this.panel2.Controls.Add(this.tb_set_isbn_new); | ||||||
|  |             this.panel2.Controls.Add(this.label7); | ||||||
|  |             this.panel2.Controls.Add(this.tb_set_name_new); | ||||||
|  |             this.panel2.Controls.Add(this.label8); | ||||||
|  |             this.panel2.Location = new System.Drawing.Point(296, 12); | ||||||
|  |             this.panel2.Name = "panel2"; | ||||||
|  |             this.panel2.Size = new System.Drawing.Size(207, 163); | ||||||
|  |             this.panel2.TabIndex = 2; | ||||||
|  |             //  | ||||||
|  |             // tb_set_price_new | ||||||
|  |             //  | ||||||
|  |             this.tb_set_price_new.Location = new System.Drawing.Point(82, 123); | ||||||
|  |             this.tb_set_price_new.Name = "tb_set_price_new"; | ||||||
|  |             this.tb_set_price_new.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_price_new.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.AutoSize = true; | ||||||
|  |             this.label5.Location = new System.Drawing.Point(19, 127); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(57, 12); | ||||||
|  |             this.label5.TabIndex = 0; | ||||||
|  |             this.label5.Text = "세트 정가"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_count_new | ||||||
|  |             //  | ||||||
|  |             this.tb_set_count_new.Enabled = false; | ||||||
|  |             this.tb_set_count_new.Location = new System.Drawing.Point(82, 96); | ||||||
|  |             this.tb_set_count_new.Name = "tb_set_count_new"; | ||||||
|  |             this.tb_set_count_new.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_count_new.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.AutoSize = true; | ||||||
|  |             this.label6.Location = new System.Drawing.Point(19, 100); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(57, 12); | ||||||
|  |             this.label6.TabIndex = 0; | ||||||
|  |             this.label6.Text = "세트 수량"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_isbn_new | ||||||
|  |             //  | ||||||
|  |             this.tb_set_isbn_new.Location = new System.Drawing.Point(82, 69); | ||||||
|  |             this.tb_set_isbn_new.Name = "tb_set_isbn_new"; | ||||||
|  |             this.tb_set_isbn_new.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_isbn_new.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label7 | ||||||
|  |             //  | ||||||
|  |             this.label7.AutoSize = true; | ||||||
|  |             this.label7.Location = new System.Drawing.Point(15, 73); | ||||||
|  |             this.label7.Name = "label7"; | ||||||
|  |             this.label7.Size = new System.Drawing.Size(61, 12); | ||||||
|  |             this.label7.TabIndex = 0; | ||||||
|  |             this.label7.Text = "세트 ISBN"; | ||||||
|  |             //  | ||||||
|  |             // tb_set_name_new | ||||||
|  |             //  | ||||||
|  |             this.tb_set_name_new.Location = new System.Drawing.Point(82, 42); | ||||||
|  |             this.tb_set_name_new.Name = "tb_set_name_new"; | ||||||
|  |             this.tb_set_name_new.Size = new System.Drawing.Size(100, 21); | ||||||
|  |             this.tb_set_name_new.TabIndex = 1; | ||||||
|  |             //  | ||||||
|  |             // label8 | ||||||
|  |             //  | ||||||
|  |             this.label8.AutoSize = true; | ||||||
|  |             this.label8.Location = new System.Drawing.Point(31, 46); | ||||||
|  |             this.label8.Name = "label8"; | ||||||
|  |             this.label8.Size = new System.Drawing.Size(45, 12); | ||||||
|  |             this.label8.TabIndex = 0; | ||||||
|  |             this.label8.Text = "세트 명"; | ||||||
|  |             //  | ||||||
|  |             // label9 | ||||||
|  |             //  | ||||||
|  |             this.label9.AutoSize = true; | ||||||
|  |             this.label9.Font = new System.Drawing.Font("굴림", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|  |             this.label9.Location = new System.Drawing.Point(236, 86); | ||||||
|  |             this.label9.Name = "label9"; | ||||||
|  |             this.label9.Size = new System.Drawing.Size(51, 29); | ||||||
|  |             this.label9.TabIndex = 0; | ||||||
|  |             this.label9.Text = "=>"; | ||||||
|  |             //  | ||||||
|  |             // btn_Save | ||||||
|  |             //  | ||||||
|  |             this.btn_Save.Location = new System.Drawing.Point(144, 181); | ||||||
|  |             this.btn_Save.Name = "btn_Save"; | ||||||
|  |             this.btn_Save.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Save.TabIndex = 3; | ||||||
|  |             this.btn_Save.Text = "저   장"; | ||||||
|  |             this.btn_Save.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); | ||||||
|  |             //  | ||||||
|  |             // btn_Close | ||||||
|  |             //  | ||||||
|  |             this.btn_Close.Location = new System.Drawing.Point(296, 181); | ||||||
|  |             this.btn_Close.Name = "btn_Close"; | ||||||
|  |             this.btn_Close.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btn_Close.TabIndex = 3; | ||||||
|  |             this.btn_Close.Text = "닫   기"; | ||||||
|  |             this.btn_Close.UseVisualStyleBackColor = true; | ||||||
|  |             this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click); | ||||||
|  |             //  | ||||||
|  |             // label10 | ||||||
|  |             //  | ||||||
|  |             this.label10.AutoSize = true; | ||||||
|  |             this.label10.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|  |             this.label10.Location = new System.Drawing.Point(80, 10); | ||||||
|  |             this.label10.Name = "label10"; | ||||||
|  |             this.label10.Size = new System.Drawing.Size(42, 16); | ||||||
|  |             this.label10.TabIndex = 2; | ||||||
|  |             this.label10.Text = "기존"; | ||||||
|  |             //  | ||||||
|  |             // label11 | ||||||
|  |             //  | ||||||
|  |             this.label11.AutoSize = true; | ||||||
|  |             this.label11.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); | ||||||
|  |             this.label11.Location = new System.Drawing.Point(80, 10); | ||||||
|  |             this.label11.Name = "label11"; | ||||||
|  |             this.label11.Size = new System.Drawing.Size(42, 16); | ||||||
|  |             this.label11.TabIndex = 2; | ||||||
|  |             this.label11.Text = "변경"; | ||||||
|  |             //  | ||||||
|  |             // All_Book_manage_Edit | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); | ||||||
|  |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|  |             this.ClientSize = new System.Drawing.Size(515, 210); | ||||||
|  |             this.Controls.Add(this.btn_Close); | ||||||
|  |             this.Controls.Add(this.btn_Save); | ||||||
|  |             this.Controls.Add(this.panel2); | ||||||
|  |             this.Controls.Add(this.panel1); | ||||||
|  |             this.Controls.Add(this.label9); | ||||||
|  |             this.Name = "All_Book_manage_Edit"; | ||||||
|  |             this.Text = "전집 목록 편집"; | ||||||
|  |             this.Load += new System.EventHandler(this.All_Book_manage_Edit_Load); | ||||||
|  |             this.panel1.ResumeLayout(false); | ||||||
|  |             this.panel1.PerformLayout(); | ||||||
|  |             this.panel2.ResumeLayout(false); | ||||||
|  |             this.panel2.PerformLayout(); | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|  |  | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         #endregion | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.Label label1; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_name_old; | ||||||
|  |         private System.Windows.Forms.Panel panel1; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_price_old; | ||||||
|  |         private System.Windows.Forms.Label label4; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_count_old; | ||||||
|  |         private System.Windows.Forms.Label label3; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_isbn_old; | ||||||
|  |         private System.Windows.Forms.Label label2; | ||||||
|  |         private System.Windows.Forms.Panel panel2; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_price_new; | ||||||
|  |         private System.Windows.Forms.Label label5; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_count_new; | ||||||
|  |         private System.Windows.Forms.Label label6; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_isbn_new; | ||||||
|  |         private System.Windows.Forms.Label label7; | ||||||
|  |         private System.Windows.Forms.TextBox tb_set_name_new; | ||||||
|  |         private System.Windows.Forms.Label label8; | ||||||
|  |         private System.Windows.Forms.Label label9; | ||||||
|  |         private System.Windows.Forms.Button btn_Save; | ||||||
|  |         private System.Windows.Forms.Button btn_Close; | ||||||
|  |         private System.Windows.Forms.Label label10; | ||||||
|  |         private System.Windows.Forms.Label label11; | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										74
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										74
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,74 @@ | |||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.ComponentModel; | ||||||
|  | using System.Data; | ||||||
|  | using System.Drawing; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Text; | ||||||
|  | using System.Threading.Tasks; | ||||||
|  | using System.Windows.Forms; | ||||||
|  | using WindowsFormsApp1; | ||||||
|  | using WindowsFormsApp1.Mac; | ||||||
|  |  | ||||||
|  | namespace UniMarc.마크 | ||||||
|  | { | ||||||
|  |     public partial class All_Book_manage_Edit : Form | ||||||
|  |     { | ||||||
|  |         All_Book_manage manage; | ||||||
|  |         Helper_DB db = new Helper_DB(); | ||||||
|  |         string compidx; | ||||||
|  |         public All_Book_manage_Edit(All_Book_manage _manage) | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             manage = _manage; | ||||||
|  |             compidx = manage.compidx; | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void All_Book_manage_Edit_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             db.DBcon(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         /// <summary> | ||||||
|  |         /// 편집창 기본 세팅 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="old">세트명 / 세트ISBN / 세트 수량 / 세트 정가</param> | ||||||
|  |         public void set_old(string[] old) | ||||||
|  |         { | ||||||
|  |             TextBox[] tb_old = { tb_set_name_old, tb_set_isbn_old, tb_set_count_old, tb_set_price_old }; | ||||||
|  |             TextBox[] tb_new = { tb_set_name_new, tb_set_isbn_new, tb_set_count_new, tb_set_price_new }; | ||||||
|  |             for (int a = 0; a < tb_old.Length; a++) | ||||||
|  |             { | ||||||
|  |                 tb_old[a].Text = old[a]; | ||||||
|  |                 tb_new[a].Text = old[a]; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void btn_Save_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             string table = "Set_Book"; | ||||||
|  |             string[] sear_tbl = { "compidx", "set_name", "set_isbn", "set_count", "set_price" }; | ||||||
|  |             string[] sear_col = { compidx,  | ||||||
|  |                                   tb_set_name_old.Text, | ||||||
|  |                                   tb_set_isbn_old.Text, | ||||||
|  |                                   tb_set_count_old.Text, | ||||||
|  |                                   tb_set_price_old.Text }; | ||||||
|  |  | ||||||
|  |             string[] edit_tbl = { "set_name", "set_isbn", "set_count", "set_price" }; | ||||||
|  |             string[] edit_col = { tb_set_name_new.Text, | ||||||
|  |                                   tb_set_isbn_new.Text, | ||||||
|  |                                   tb_set_count_new.Text, | ||||||
|  |                                   tb_set_price_new.Text }; | ||||||
|  |  | ||||||
|  |             db.More_Update(table, edit_tbl, edit_col, sear_tbl, sear_col); | ||||||
|  |             MessageBox.Show("변경되었습니다!"); | ||||||
|  |             manage.btn_Search_Click(null, null); | ||||||
|  |             this.Close(); | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void btn_Close_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             this.Close(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										120
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								unimarc/unimarc/마크/All_Book_manage_Edit.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  | </root> | ||||||
		Reference in New Issue
	
	Block a user
	 SeungHo Yang
					SeungHo Yang