diff --git a/unimarc/.vs/WindowsFormsApp1/v16/.suo b/unimarc/.vs/WindowsFormsApp1/v16/.suo index 3aa0b5a..e071a87 100644 Binary files a/unimarc/.vs/WindowsFormsApp1/v16/.suo and b/unimarc/.vs/WindowsFormsApp1/v16/.suo differ diff --git a/unimarc/WindowsFormsApp1/Main.Designer.cs b/unimarc/WindowsFormsApp1/Main.Designer.cs index 10f6543..97b5be5 100644 --- a/unimarc/WindowsFormsApp1/Main.Designer.cs +++ b/unimarc/WindowsFormsApp1/Main.Designer.cs @@ -229,28 +229,28 @@ // 물품등록ToolStripMenuItem // this.물품등록ToolStripMenuItem.Name = "물품등록ToolStripMenuItem"; - this.물품등록ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.물품등록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.물품등록ToolStripMenuItem.Text = "물품등록"; this.물품등록ToolStripMenuItem.Click += new System.EventHandler(this.물품등록ToolStripMenuItem_Click); // // 목록등록편의ToolStripMenuItem // this.목록등록편의ToolStripMenuItem.Name = "목록등록편의ToolStripMenuItem"; - this.목록등록편의ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.목록등록편의ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.목록등록편의ToolStripMenuItem.Text = "목록조회"; this.목록등록편의ToolStripMenuItem.Click += new System.EventHandler(this.목록등록편의ToolStripMenuItem_Click); // // 목록집계ToolStripMenuItem // this.목록집계ToolStripMenuItem.Name = "목록집계ToolStripMenuItem"; - this.목록집계ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.목록집계ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.목록집계ToolStripMenuItem.Text = "목록집계"; this.목록집계ToolStripMenuItem.Click += new System.EventHandler(this.목록집계ToolStripMenuItem_Click); // // 주문입력ToolStripMenuItem // this.주문입력ToolStripMenuItem.Name = "주문입력ToolStripMenuItem"; - this.주문입력ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.주문입력ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.주문입력ToolStripMenuItem.Text = "주문입력"; this.주문입력ToolStripMenuItem.Click += new System.EventHandler(this.주문입력ToolStripMenuItem_Click); // @@ -258,7 +258,7 @@ // this.예가조회ToolStripMenuItem.Enabled = false; this.예가조회ToolStripMenuItem.Name = "예가조회ToolStripMenuItem"; - this.예가조회ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.예가조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.예가조회ToolStripMenuItem.Text = "예가조회"; this.예가조회ToolStripMenuItem.Click += new System.EventHandler(this.예가조회ToolStripMenuItem_Click); // @@ -266,14 +266,14 @@ // this.견적서ToolStripMenuItem.Enabled = false; this.견적서ToolStripMenuItem.Name = "견적서ToolStripMenuItem"; - this.견적서ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.견적서ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.견적서ToolStripMenuItem.Text = "견적서"; this.견적서ToolStripMenuItem.Click += new System.EventHandler(this.견적서ToolStripMenuItem_Click); // // 매입ToolStripMenuItem // this.매입ToolStripMenuItem.Name = "매입ToolStripMenuItem"; - this.매입ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.매입ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입ToolStripMenuItem.Text = "입고작업"; this.매입ToolStripMenuItem.Click += new System.EventHandler(this.매입ToolStripMenuItem_Click); // @@ -281,14 +281,14 @@ // this.매입반품입력ToolStripMenuItem.Enabled = false; this.매입반품입력ToolStripMenuItem.Name = "매입반품입력ToolStripMenuItem"; - this.매입반품입력ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.매입반품입력ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입반품입력ToolStripMenuItem.Text = "매입 / 반품입력"; this.매입반품입력ToolStripMenuItem.Click += new System.EventHandler(this.매입반품입력ToolStripMenuItem_Click); // // 재고입력및조회ToolStripMenuItem // this.재고입력및조회ToolStripMenuItem.Name = "재고입력및조회ToolStripMenuItem"; - this.재고입력및조회ToolStripMenuItem.Size = new System.Drawing.Size(166, 22); + this.재고입력및조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.재고입력및조회ToolStripMenuItem.Text = "재고입력 및 조회"; this.재고입력및조회ToolStripMenuItem.Click += new System.EventHandler(this.재고입력및조회ToolStripMenuItem_Click); // @@ -307,14 +307,14 @@ // 송금내역조회ToolStripMenuItem // this.송금내역조회ToolStripMenuItem.Name = "송금내역조회ToolStripMenuItem"; - this.송금내역조회ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.송금내역조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.송금내역조회ToolStripMenuItem.Text = "송금 내역 조회"; this.송금내역조회ToolStripMenuItem.Click += new System.EventHandler(this.송금내역조회ToolStripMenuItem_Click); // // 송금등록ToolStripMenuItem // this.송금등록ToolStripMenuItem.Name = "송금등록ToolStripMenuItem"; - this.송금등록ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.송금등록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.송금등록ToolStripMenuItem.Text = "송금 등록"; this.송금등록ToolStripMenuItem.Click += new System.EventHandler(this.송금등록ToolStripMenuItem_Click); // @@ -325,27 +325,28 @@ this.매입장부ToolStripMenuItem1, this.매입미결제ToolStripMenuItem}); this.매입장부ToolStripMenuItem.Name = "매입장부ToolStripMenuItem"; - this.매입장부ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.매입장부ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입장부ToolStripMenuItem.Text = "매입"; // // 매입집계ToolStripMenuItem // this.매입집계ToolStripMenuItem.Name = "매입집계ToolStripMenuItem"; - this.매입집계ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.매입집계ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입집계ToolStripMenuItem.Text = "매입 집계"; this.매입집계ToolStripMenuItem.Click += new System.EventHandler(this.매입집계ToolStripMenuItem_Click); // // 매입장부ToolStripMenuItem1 // this.매입장부ToolStripMenuItem1.Name = "매입장부ToolStripMenuItem1"; - this.매입장부ToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); + this.매입장부ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); this.매입장부ToolStripMenuItem1.Text = "매입 장부"; this.매입장부ToolStripMenuItem1.Click += new System.EventHandler(this.매입장부ToolStripMenuItem1_Click); // // 매입미결제ToolStripMenuItem // + this.매입미결제ToolStripMenuItem.Enabled = false; this.매입미결제ToolStripMenuItem.Name = "매입미결제ToolStripMenuItem"; - this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.매입미결제ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매입미결제ToolStripMenuItem.Text = "매입 미결제"; this.매입미결제ToolStripMenuItem.Click += new System.EventHandler(this.매입미결제ToolStripMenuItem_Click); // @@ -357,41 +358,42 @@ this.매출장부ToolStripMenuItem, this.매출미수금ToolStripMenuItem}); this.매출입력ToolStripMenuItem.Name = "매출입력ToolStripMenuItem"; - this.매출입력ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.매출입력ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매출입력ToolStripMenuItem.Text = "매출"; // // 매출입력ToolStripMenuItem1 // this.매출입력ToolStripMenuItem1.Name = "매출입력ToolStripMenuItem1"; - this.매출입력ToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); + this.매출입력ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); this.매출입력ToolStripMenuItem1.Text = "매출 입력"; this.매출입력ToolStripMenuItem1.Click += new System.EventHandler(this.매출입력ToolStripMenuItem1_Click); // // 매출입금ToolStripMenuItem1 // this.매출입금ToolStripMenuItem1.Name = "매출입금ToolStripMenuItem1"; - this.매출입금ToolStripMenuItem1.Size = new System.Drawing.Size(138, 22); + this.매출입금ToolStripMenuItem1.Size = new System.Drawing.Size(180, 22); this.매출입금ToolStripMenuItem1.Text = "매출 입금"; this.매출입금ToolStripMenuItem1.Click += new System.EventHandler(this.매출입금ToolStripMenuItem1_Click); // // 매출장부ToolStripMenuItem // this.매출장부ToolStripMenuItem.Name = "매출장부ToolStripMenuItem"; - this.매출장부ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.매출장부ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매출장부ToolStripMenuItem.Text = "매출 장부"; this.매출장부ToolStripMenuItem.Click += new System.EventHandler(this.매출장부ToolStripMenuItem_Click); // // 매출미수금ToolStripMenuItem // + this.매출미수금ToolStripMenuItem.Enabled = false; this.매출미수금ToolStripMenuItem.Name = "매출미수금ToolStripMenuItem"; - this.매출미수금ToolStripMenuItem.Size = new System.Drawing.Size(138, 22); + this.매출미수금ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매출미수금ToolStripMenuItem.Text = "매출 미수금"; this.매출미수금ToolStripMenuItem.Click += new System.EventHandler(this.매출미수금ToolStripMenuItem_Click); // // 매출입금ToolStripMenuItem // this.매출입금ToolStripMenuItem.Name = "매출입금ToolStripMenuItem"; - this.매출입금ToolStripMenuItem.Size = new System.Drawing.Size(154, 22); + this.매출입금ToolStripMenuItem.Size = new System.Drawing.Size(180, 22); this.매출입금ToolStripMenuItem.Text = "계산서 관리"; this.매출입금ToolStripMenuItem.Click += new System.EventHandler(this.매출입금ToolStripMenuItem_Click); // diff --git a/unimarc/WindowsFormsApp1/Main.cs b/unimarc/WindowsFormsApp1/Main.cs index 5cca34b..5776014 100644 --- a/unimarc/WindowsFormsApp1/Main.cs +++ b/unimarc/WindowsFormsApp1/Main.cs @@ -418,7 +418,7 @@ namespace WindowsFormsApp1 Acc_purchase_Aggregation.Show(); } } - + private void 매입미결제ToolStripMenuItem_Click(object sender, EventArgs e) { if (Acc_purchase_Not_Pay != null) @@ -434,7 +434,7 @@ namespace WindowsFormsApp1 Acc_purchase_Not_Pay.Show(); } } - + private void 매출입력ToolStripMenuItem1_Click(object sender, EventArgs e) { if (Acc_sales_Input != null) diff --git a/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe b/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe index 0664261..1c6a2ca 100644 Binary files a/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe and b/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.exe differ diff --git a/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb b/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb index f6bf970..218224c 100644 Binary files a/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb and b/unimarc/WindowsFormsApp1/bin/Debug/WindowsFormsApp1.pdb differ diff --git a/unimarc/WindowsFormsApp1/bin/Debug/ko/WindowsFormsApp1.resources.dll b/unimarc/WindowsFormsApp1/bin/Debug/ko/WindowsFormsApp1.resources.dll index b805014..7bbff9b 100644 Binary files a/unimarc/WindowsFormsApp1/bin/Debug/ko/WindowsFormsApp1.resources.dll and b/unimarc/WindowsFormsApp1/bin/Debug/ko/WindowsFormsApp1.resources.dll differ diff --git a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache index a1eeb98..a88b741 100644 Binary files a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache and b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csproj.GenerateResource.cache differ diff --git a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csprojAssemblyReference.cache b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csprojAssemblyReference.cache index 3676da6..b01e88d 100644 Binary files a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csprojAssemblyReference.cache and b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.csprojAssemblyReference.cache differ diff --git a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe index 0664261..1c6a2ca 100644 Binary files a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe and b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.exe differ diff --git a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb index f6bf970..218224c 100644 Binary files a/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb and b/unimarc/WindowsFormsApp1/obj/Debug/WindowsFormsApp1.pdb differ diff --git a/unimarc/WindowsFormsApp1/obj/Debug/ko/WindowsFormsApp1.resources.dll b/unimarc/WindowsFormsApp1/obj/Debug/ko/WindowsFormsApp1.resources.dll index b805014..7bbff9b 100644 Binary files a/unimarc/WindowsFormsApp1/obj/Debug/ko/WindowsFormsApp1.resources.dll and b/unimarc/WindowsFormsApp1/obj/Debug/ko/WindowsFormsApp1.resources.dll differ diff --git a/unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs b/unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs index d2dc5f8..c93e9a8 100644 --- a/unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs +++ b/unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs @@ -28,9 +28,9 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); this.label1 = new System.Windows.Forms.Label(); this.tb_search_order = new System.Windows.Forms.TextBox(); this.cb_user = new System.Windows.Forms.ComboBox(); @@ -51,12 +51,12 @@ this.label10 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.btn_lookup = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); + this.btn_Reset_Order = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button(); this.checkBox3 = new System.Windows.Forms.CheckBox(); - this.button9 = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); + this.btn_All_chk = new System.Windows.Forms.Button(); + this.btn_All_unchk = new System.Windows.Forms.Button(); + this.btn_Save = new System.Windows.Forms.Button(); this.button12 = new System.Windows.Forms.Button(); this.cb_ordersend = new System.Windows.Forms.ComboBox(); this.btn_order_send = new System.Windows.Forms.Button(); @@ -268,22 +268,23 @@ // // btn_lookup // - this.btn_lookup.Location = new System.Drawing.Point(902, 14); + this.btn_lookup.Location = new System.Drawing.Point(912, 13); this.btn_lookup.Name = "btn_lookup"; - this.btn_lookup.Size = new System.Drawing.Size(75, 23); + this.btn_lookup.Size = new System.Drawing.Size(85, 25); this.btn_lookup.TabIndex = 25; - this.btn_lookup.Text = "조 회"; + this.btn_lookup.Text = "조 회"; this.btn_lookup.UseVisualStyleBackColor = true; this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click); // - // button7 + // btn_Reset_Order // - this.button7.Location = new System.Drawing.Point(19, 111); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(77, 23); - this.button7.TabIndex = 33; - this.button7.Text = "주문처 리셋"; - this.button7.UseVisualStyleBackColor = true; + this.btn_Reset_Order.Location = new System.Drawing.Point(19, 111); + this.btn_Reset_Order.Name = "btn_Reset_Order"; + this.btn_Reset_Order.Size = new System.Drawing.Size(77, 23); + this.btn_Reset_Order.TabIndex = 33; + this.btn_Reset_Order.Text = "주문처 리셋"; + this.btn_Reset_Order.UseVisualStyleBackColor = true; + this.btn_Reset_Order.Click += new System.EventHandler(this.btn_Reset_Order_Click); // // button8 // @@ -293,65 +294,71 @@ this.button8.TabIndex = 34; this.button8.Text = "자동주문처"; this.button8.UseVisualStyleBackColor = true; + this.button8.Visible = false; // // checkBox3 // this.checkBox3.AutoSize = true; - this.checkBox3.Location = new System.Drawing.Point(102, 108); + this.checkBox3.Location = new System.Drawing.Point(102, 110); this.checkBox3.Name = "checkBox3"; this.checkBox3.Size = new System.Drawing.Size(72, 28); this.checkBox3.TabIndex = 35; this.checkBox3.Text = "isbn자동\n주문처"; this.checkBox3.UseVisualStyleBackColor = true; + this.checkBox3.Visible = false; // - // button9 + // btn_All_chk // - this.button9.Location = new System.Drawing.Point(252, 111); - this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(85, 23); - this.button9.TabIndex = 36; - this.button9.Text = "전체주문선택"; - this.button9.UseVisualStyleBackColor = true; + this.btn_All_chk.Location = new System.Drawing.Point(252, 111); + this.btn_All_chk.Name = "btn_All_chk"; + this.btn_All_chk.Size = new System.Drawing.Size(85, 23); + this.btn_All_chk.TabIndex = 36; + this.btn_All_chk.Text = "전체주문선택"; + this.btn_All_chk.UseVisualStyleBackColor = true; + this.btn_All_chk.Click += new System.EventHandler(this.btn_All_chk_Click); // - // button10 + // btn_All_unchk // - this.button10.Location = new System.Drawing.Point(341, 111); - this.button10.Name = "button10"; - this.button10.Size = new System.Drawing.Size(85, 23); - this.button10.TabIndex = 37; - this.button10.Text = "전체주문취소"; - this.button10.UseVisualStyleBackColor = true; + this.btn_All_unchk.Location = new System.Drawing.Point(341, 111); + this.btn_All_unchk.Name = "btn_All_unchk"; + this.btn_All_unchk.Size = new System.Drawing.Size(85, 23); + this.btn_All_unchk.TabIndex = 37; + this.btn_All_unchk.Text = "전체선택취소"; + this.btn_All_unchk.UseVisualStyleBackColor = true; + this.btn_All_unchk.Click += new System.EventHandler(this.btn_All_chk_Click); // - // button11 + // btn_Save // - this.button11.Location = new System.Drawing.Point(430, 111); - this.button11.Name = "button11"; - this.button11.Size = new System.Drawing.Size(85, 23); - this.button11.TabIndex = 38; - this.button11.Text = "변경사항적용"; - this.button11.UseVisualStyleBackColor = true; + this.btn_Save.Location = new System.Drawing.Point(1019, 13); + this.btn_Save.Name = "btn_Save"; + this.btn_Save.Size = new System.Drawing.Size(85, 25); + this.btn_Save.TabIndex = 38; + this.btn_Save.Text = "저 장"; + this.btn_Save.UseVisualStyleBackColor = true; + this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); // // button12 // - this.button12.Location = new System.Drawing.Point(519, 111); + this.button12.Location = new System.Drawing.Point(432, 111); this.button12.Name = "button12"; this.button12.Size = new System.Drawing.Size(62, 23); this.button12.TabIndex = 39; this.button12.Text = "주문순위"; this.button12.UseVisualStyleBackColor = true; + this.button12.Visible = false; // // cb_ordersend // this.cb_ordersend.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_ordersend.FormattingEnabled = true; - this.cb_ordersend.Location = new System.Drawing.Point(587, 112); + this.cb_ordersend.Location = new System.Drawing.Point(500, 112); this.cb_ordersend.Name = "cb_ordersend"; this.cb_ordersend.Size = new System.Drawing.Size(77, 20); this.cb_ordersend.TabIndex = 40; // // btn_order_send // - this.btn_order_send.Location = new System.Drawing.Point(737, 111); + this.btn_order_send.Location = new System.Drawing.Point(650, 111); this.btn_order_send.Name = "btn_order_send"; this.btn_order_send.Size = new System.Drawing.Size(75, 23); this.btn_order_send.TabIndex = 42; @@ -361,7 +368,7 @@ // // btn_send_chk // - this.btn_send_chk.Location = new System.Drawing.Point(670, 111); + this.btn_send_chk.Location = new System.Drawing.Point(583, 111); this.btn_send_chk.Name = "btn_send_chk"; this.btn_send_chk.Size = new System.Drawing.Size(63, 23); this.btn_send_chk.TabIndex = 41; @@ -410,14 +417,14 @@ // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle10.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.chk, this.order, @@ -435,24 +442,24 @@ this.order_date, this.send_date, this.num}); - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle11.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle11; this.dataGridView1.Location = new System.Drawing.Point(9, 142); this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle12.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; this.dataGridView1.RowHeadersWidth = 10; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; @@ -460,8 +467,8 @@ this.dataGridView1.TabIndex = 47; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); + this.dataGridView1.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellEndEdit); this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError); - this.dataGridView1.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dataGridView1_EditingControlShowing); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown); // // chk @@ -652,21 +659,21 @@ // // btn_close // - this.btn_close.Location = new System.Drawing.Point(1180, 14); + this.btn_close.Location = new System.Drawing.Point(1019, 49); this.btn_close.Name = "btn_close"; - this.btn_close.Size = new System.Drawing.Size(75, 23); + this.btn_close.Size = new System.Drawing.Size(85, 25); this.btn_close.TabIndex = 49; - this.btn_close.Text = "닫 기"; + this.btn_close.Text = "닫 기"; this.btn_close.UseVisualStyleBackColor = true; this.btn_close.Click += new System.EventHandler(this.btn_close_Click); // // btn_Excel // - this.btn_Excel.Location = new System.Drawing.Point(902, 47); + this.btn_Excel.Location = new System.Drawing.Point(912, 49); this.btn_Excel.Name = "btn_Excel"; - this.btn_Excel.Size = new System.Drawing.Size(75, 23); + this.btn_Excel.Size = new System.Drawing.Size(85, 25); this.btn_Excel.TabIndex = 50; - this.btn_Excel.Text = "엑 셀"; + this.btn_Excel.Text = "엑 셀"; this.btn_Excel.UseVisualStyleBackColor = true; this.btn_Excel.Click += new System.EventHandler(this.btn_Excel_Click); // @@ -687,15 +694,15 @@ this.Controls.Add(this.label12); this.Controls.Add(this.btn_order_send); this.Controls.Add(this.btn_send_chk); + this.Controls.Add(this.btn_lookup); this.Controls.Add(this.cb_ordersend); this.Controls.Add(this.button12); - this.Controls.Add(this.button11); - this.Controls.Add(this.button10); - this.Controls.Add(this.button9); + this.Controls.Add(this.btn_Save); + this.Controls.Add(this.btn_All_unchk); + this.Controls.Add(this.btn_All_chk); this.Controls.Add(this.checkBox3); this.Controls.Add(this.button8); - this.Controls.Add(this.button7); - this.Controls.Add(this.btn_lookup); + this.Controls.Add(this.btn_Reset_Order); this.Name = "Order_input"; this.Text = "주문입력"; this.Load += new System.EventHandler(this.Order_input_Load); @@ -731,12 +738,12 @@ private System.Windows.Forms.Label label10; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Button btn_lookup; - private System.Windows.Forms.Button button7; + private System.Windows.Forms.Button btn_Reset_Order; private System.Windows.Forms.Button button8; private System.Windows.Forms.CheckBox checkBox3; - private System.Windows.Forms.Button button9; - private System.Windows.Forms.Button button10; - private System.Windows.Forms.Button button11; + private System.Windows.Forms.Button btn_All_chk; + private System.Windows.Forms.Button btn_All_unchk; + private System.Windows.Forms.Button btn_Save; private System.Windows.Forms.Button button12; private System.Windows.Forms.ComboBox cb_ordersend; private System.Windows.Forms.Button btn_order_send; diff --git a/unimarc/WindowsFormsApp1/납품관리/Order_input.cs b/unimarc/WindowsFormsApp1/납품관리/Order_input.cs index 671d229..86b27cd 100644 --- a/unimarc/WindowsFormsApp1/납품관리/Order_input.cs +++ b/unimarc/WindowsFormsApp1/납품관리/Order_input.cs @@ -22,7 +22,6 @@ namespace WindowsFormsApp1.Delivery int ColumnIndex; string chk_mkdate = ""; bool chk_V = false; - bool chk_O = false; public Order_input(Main _main) { InitializeComponent(); @@ -155,21 +154,21 @@ namespace WindowsFormsApp1.Delivery /// 작업명단 검색중 상위 텍스트박스 및 콤보박스의 값에 따라 출력할지 안할지 분류. /// /// - /// + /// false일 경우 필터에 걸러진 경우임. private bool Array_Inspection(string[] strValues) { if (tb_search_order.Text != "") { - if(strValues[1].Contains(tb_search_order.Text) == false) { + if (!strValues[1].Contains(tb_search_order.Text)) { return false; } } if (tb_search_book_name.Text != "") { - if (strValues[3].Contains(tb_search_book_name.Text) == false) { + if (!strValues[3].Contains(tb_search_book_name.Text)) { return false; } } if (tb_search_book_comp.Text != "") { - if (strValues[5].Contains(tb_search_book_comp.Text) == false) { + if (!strValues[5].Contains(tb_search_book_comp.Text)) { return false; } } @@ -188,6 +187,10 @@ namespace WindowsFormsApp1.Delivery if (e.KeyCode == Keys.Enter) { btn_lookup_Click(null, null); } + } + private void btn_Save_Click(object sender, EventArgs e) + { + } private void btn_close_Click(object sender, EventArgs e) { @@ -199,21 +202,15 @@ namespace WindowsFormsApp1.Delivery { grididx = e.RowIndex; ColumnIndex = e.ColumnIndex; - CheckBox check; - foreach(DataGridViewRow row in dataGridView1.Rows) - { - check = (CheckBox)(row.Cells[16].Value); + } + if( dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected == dataGridView1.Rows[e.RowIndex].Cells["chk"].Selected) + { + if (dataGridView1.Rows[e.RowIndex].Cells["chk"].Value.ToString() == "true") { + dataGridView1.Rows[e.RowIndex].Cells["chk"].Value = "false"; + } + else if (dataGridView1.Rows[e.RowIndex].Cells["chk"].Value.ToString() == "false") { + dataGridView1.Rows[e.RowIndex].Cells["chk"].Value = "true"; } - } - if (e.ColumnIndex == 0 && chk_O == false) - { - dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "O"; - chk_O = true; - } - else if (e.ColumnIndex == 0 && chk_O == true) - { - dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = ""; - chk_O = false; } } private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) @@ -459,6 +456,13 @@ namespace WindowsFormsApp1.Delivery dataGridView1.Rows[a].Cells["order"].Value = tb_orderText.Text; } } + private void btn_Reset_Order_Click(object sender, EventArgs e) + { + for (int a = 0; a < dataGridView1.Rows.Count; a++) + { + dataGridView1.Rows[a].Cells["order"].Value = ""; + } + } private void btn_order_chk_Click(object sender, EventArgs e) { for (int a = 0; a < dataGridView1.Rows.Count; a++) @@ -473,23 +477,40 @@ namespace WindowsFormsApp1.Delivery { if (dataGridView1.Rows[a].Cells["order"].Value.ToString() == "") dataGridView1.Rows[a].Cells["order"].Value = tb_orderText.Text; - } + } + } + private void btn_All_chk_Click(object sender, EventArgs e) + { + string name = ((Button)sender).Name; + for(int a = 0; a < dataGridView1.Rows.Count; a++) + { + if (name == "btn_All_chk") + dataGridView1.Rows[a].Cells["chk"].Value = "true"; + + else if (name == "btn_All_unchk") + dataGridView1.Rows[a].Cells["chk"].Value = "false"; + } } private void dataGridView1_DataError(object sender, DataGridViewDataErrorEventArgs e) { } - private void dataGridView1_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) + private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e) { - var txtEdit = (TextBox)e.Control; - txtEdit.KeyDown += EditKeyDown; - } - private void EditKeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) + if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected == dataGridView1.Rows[e.RowIndex].Cells["order"].Selected) { - e.SuppressKeyPress = true; - base.OnKeyDown(e); + if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString() != "" || + dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null) + { + Order_input_Search search = new Order_input_Search(this); + search.Where_Open = "Order_Grid"; + search.searchText = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString(); + search.oin_grid_idx[0] = e.RowIndex; + search.oin_grid_idx[1] = e.ColumnIndex; + search.TopMost = true; + search.Show(); + } + else { return; } } } } diff --git a/unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs b/unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs index 39ece06..5c682ef 100644 --- a/unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs +++ b/unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs @@ -19,6 +19,7 @@ namespace WindowsFormsApp1.Delivery Helper_DB db = new Helper_DB(); int grididx = 0; + public int[] oin_grid_idx = { 0, 0 }; public string Where_Open; public string searchText; string compidx; @@ -62,7 +63,7 @@ namespace WindowsFormsApp1.Delivery made_grid(cmd); } } - else if(Where_Open == "Order") { + else if(Where_Open.Contains("Order")) { list_name.HeaderText = "주문처"; charge.HeaderText = "대표자"; state.HeaderText = "종목"; @@ -127,8 +128,7 @@ namespace WindowsFormsApp1.Delivery if (Where_Open == "book_list") { string[] tmp_col = { "compidx", "list_name" }; - string[] tmp_data = { compidx, - dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString() }; + string[] tmp_data = { compidx, dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString() }; string takedata = "`order`, `order_stat`, `isbn`, `book_name`, `author`, " + "`book_comp`, `order_count`, `count`, `pay`, `total`, " + "`etc`, `list_name`, `order_date`, `send_date`, `header`, " + @@ -137,9 +137,15 @@ namespace WindowsFormsApp1.Delivery oin.made_grid(cmd, false); oin.tb_search_book_list.Text = tmp_data[1]; } - else if (Where_Open == "Order") + else if (Where_Open.Contains("Order")) { - oin.tb_orderText.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString(); + if(Where_Open == "Order_Grid") { + oin.dataGridView1.Rows[oin_grid_idx[0]].Cells[oin_grid_idx[1]].Value = + dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString(); + } + else { + oin.tb_orderText.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString(); + } } } private void pb_result() diff --git a/unimarc/WindowsFormsApp1/홈/Transaction_manage.cs b/unimarc/WindowsFormsApp1/홈/Transaction_manage.cs index 4f9ab56..5ffb40c 100644 --- a/unimarc/WindowsFormsApp1/홈/Transaction_manage.cs +++ b/unimarc/WindowsFormsApp1/홈/Transaction_manage.cs @@ -171,10 +171,12 @@ namespace WindowsFormsApp1.Home if(e == null) { if(updown == "UP") { + if (grididx < 1) return; grididx--; } else if(updown == "DOWN") { + if (grididx > dataGridView1.Rows.Count) return; grididx++; } } @@ -247,10 +249,49 @@ namespace WindowsFormsApp1.Home } private void btn_search_Click(object sender, EventArgs e) { - _Sub_Search_Form sub_search = new _Sub_Search_Form(this); - sub_search.Show(); - } + /// _Sub_Search_Form sub_search = new _Sub_Search_Form(this); + /// sub_search.Show(); + /// + dataGridView1.Rows.Clear(); + string search = "`idx`, `c_sangho`, `c_gu`, `c_boss`, `c_bubin`, " + + "`c_uptae`, `c_jongmok`, `c_tel`, `c_fax`, `c_email`, " + + "`c_man`, `c_mantel`, `c_user`, `c_zip`, `c_addr`, " + + "`c_dlsID`, `c_dlsPW`, `c_division`, `c_label`, `c_program`, " + + "`c_etc`"; + string dbtext = db.DB_Contains("Client", compidx, "c_sangho", tb_sangho.Text, search); + string[] dbtext1 = dbtext.Split('|'); + string[] result = { "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "", "", "", "", + "", "" }; + for (int a = 0; a < dbtext1.Length; a++) + { + if (a % 21 == 0) { result[0] = dbtext1[a]; } // idx + if (a % 21 == 1) { result[1] = dbtext1[a]; } // 거래처명 + if (a % 21 == 2) { result[2] = dbtext1[a]; } // 구분 + if (a % 21 == 3) { result[3] = dbtext1[a]; } // 대표자명 + if (a % 21 == 4) { result[4] = dbtext1[a]; } // 등록번호 + if (a % 21 == 5) { result[5] = dbtext1[a]; } // 업태 + if (a % 21 == 6) { result[6] = dbtext1[a]; } // 종목 + if (a % 21 == 7) { result[7] = dbtext1[a]; } // 전화번호 + if (a % 21 == 8) { result[8] = dbtext1[a]; } // 팩스 + if (a % 21 == 9) { result[9] = dbtext1[a]; } // 메일 + if (a % 21 == 10) { result[10] = dbtext1[a]; } // 담당자정보1 + if (a % 21 == 11) { result[11] = dbtext1[a]; } // 담당자정보2 + if (a % 21 == 12) { result[12] = dbtext1[a]; } // 담당직원 + if (a % 21 == 13) { result[13] = dbtext1[a]; } // 우편번호 + if (a % 21 == 14) { result[14] = dbtext1[a]; } // 주소 + if (a % 21 == 15) { result[15] = dbtext1[a]; } // 아이디 + if (a % 21 == 16) { result[16] = dbtext1[a]; } // 비밀번호 + if (a % 21 == 17) { result[17] = dbtext1[a]; } // 용지칸수 + if (a % 21 == 18) { result[18] = dbtext1[a]; } // 띠라벨 + if (a % 21 == 19) { result[19] = dbtext1[a]; } // 사용프로그램 + if (a % 21 == 20) { result[20] = dbtext1[a]; dataGridView1.Rows.Add(result); } // 비고 + } + dataGridView1.Focus(); + } private void btn_close_Click(object sender, EventArgs e) { Close(); diff --git a/unimarc/WindowsFormsApp1/회계/Purchase_Aggregation.Designer.cs b/unimarc/WindowsFormsApp1/회계/Purchase_Aggregation.Designer.cs index 4b8c62d..7bc7982 100644 --- a/unimarc/WindowsFormsApp1/회계/Purchase_Aggregation.Designer.cs +++ b/unimarc/WindowsFormsApp1/회계/Purchase_Aggregation.Designer.cs @@ -29,6 +29,13 @@ private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); this.end_date = new System.Windows.Forms.DateTimePicker(); this.start_date = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); @@ -40,6 +47,8 @@ this.btn_Print = new System.Windows.Forms.Button(); this.btn_Lookup = new System.Windows.Forms.Button(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); + this.btn_Close = new System.Windows.Forms.Button(); + this.panel1 = new System.Windows.Forms.Panel(); this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -49,8 +58,6 @@ this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.btn_Close = new System.Windows.Forms.Button(); - this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); @@ -189,64 +196,6 @@ this.dataGridView1.TabIndex = 41; this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick); // - // Column1 - // - this.Column1.HeaderText = "거래처명"; - this.Column1.Name = "Column1"; - this.Column1.ReadOnly = true; - this.Column1.Width = 150; - // - // Column2 - // - this.Column2.HeaderText = "이월미수금"; - this.Column2.Name = "Column2"; - this.Column2.ReadOnly = true; - // - // Column3 - // - this.Column3.HeaderText = "건수"; - this.Column3.Name = "Column3"; - this.Column3.ReadOnly = true; - this.Column3.Width = 50; - // - // Column4 - // - this.Column4.HeaderText = "권수"; - this.Column4.Name = "Column4"; - this.Column4.ReadOnly = true; - this.Column4.Width = 50; - // - // Column5 - // - this.Column5.HeaderText = "매입금액"; - this.Column5.Name = "Column5"; - this.Column5.ReadOnly = true; - // - // Column6 - // - this.Column6.HeaderText = "결제금액"; - this.Column6.Name = "Column6"; - this.Column6.ReadOnly = true; - // - // Column7 - // - this.Column7.HeaderText = "기간잔고"; - this.Column7.Name = "Column7"; - this.Column7.ReadOnly = true; - // - // Column8 - // - this.Column8.HeaderText = "최종잔고"; - this.Column8.Name = "Column8"; - this.Column8.ReadOnly = true; - // - // Column9 - // - this.Column9.HeaderText = "Column9"; - this.Column9.Name = "Column9"; - this.Column9.ReadOnly = true; - this.Column9.Visible = false; - // // btn_Close // this.btn_Close.Location = new System.Drawing.Point(756, 3); @@ -276,6 +225,85 @@ this.panel1.Size = new System.Drawing.Size(839, 32); this.panel1.TabIndex = 43; // + // Column1 + // + this.Column1.HeaderText = "거래처명"; + this.Column1.Name = "Column1"; + this.Column1.ReadOnly = true; + this.Column1.Width = 150; + // + // Column2 + // + dataGridViewCellStyle2.Format = "C0"; + dataGridViewCellStyle2.NullValue = null; + this.Column2.DefaultCellStyle = dataGridViewCellStyle2; + this.Column2.HeaderText = "이월미수금"; + this.Column2.Name = "Column2"; + this.Column2.ReadOnly = true; + // + // Column3 + // + dataGridViewCellStyle3.Format = "C0"; + dataGridViewCellStyle3.NullValue = null; + this.Column3.DefaultCellStyle = dataGridViewCellStyle3; + this.Column3.HeaderText = "건수"; + this.Column3.Name = "Column3"; + this.Column3.ReadOnly = true; + this.Column3.Width = 50; + // + // Column4 + // + dataGridViewCellStyle4.Format = "C0"; + dataGridViewCellStyle4.NullValue = null; + this.Column4.DefaultCellStyle = dataGridViewCellStyle4; + this.Column4.HeaderText = "권수"; + this.Column4.Name = "Column4"; + this.Column4.ReadOnly = true; + this.Column4.Width = 50; + // + // Column5 + // + dataGridViewCellStyle5.Format = "C0"; + dataGridViewCellStyle5.NullValue = null; + this.Column5.DefaultCellStyle = dataGridViewCellStyle5; + this.Column5.HeaderText = "매입금액"; + this.Column5.Name = "Column5"; + this.Column5.ReadOnly = true; + // + // Column6 + // + dataGridViewCellStyle6.Format = "C0"; + dataGridViewCellStyle6.NullValue = null; + this.Column6.DefaultCellStyle = dataGridViewCellStyle6; + this.Column6.HeaderText = "결제금액"; + this.Column6.Name = "Column6"; + this.Column6.ReadOnly = true; + // + // Column7 + // + dataGridViewCellStyle7.Format = "C0"; + dataGridViewCellStyle7.NullValue = null; + this.Column7.DefaultCellStyle = dataGridViewCellStyle7; + this.Column7.HeaderText = "기간잔고"; + this.Column7.Name = "Column7"; + this.Column7.ReadOnly = true; + // + // Column8 + // + dataGridViewCellStyle8.Format = "C0"; + dataGridViewCellStyle8.NullValue = null; + this.Column8.DefaultCellStyle = dataGridViewCellStyle8; + this.Column8.HeaderText = "최종잔고"; + this.Column8.Name = "Column8"; + this.Column8.ReadOnly = true; + // + // Column9 + // + this.Column9.HeaderText = "Column9"; + this.Column9.Name = "Column9"; + this.Column9.ReadOnly = true; + this.Column9.Visible = false; + // // Purchase_Aggregation // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);