깃랩 재정비
This commit is contained in:
653
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.Designer.cs
generated
Normal file
653
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.Designer.cs
generated
Normal file
@@ -0,0 +1,653 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Book_Lookup
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.tb_isbn = new System.Windows.Forms.TextBox();
|
||||
this.tb_order_idx = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.tb_etc = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.tb_num = new System.Windows.Forms.TextBox();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.tb_order1 = new System.Windows.Forms.TextBox();
|
||||
this.tb_charge = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.tb_total = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.tb_pay = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tb_stock = new System.Windows.Forms.TextBox();
|
||||
this.tb_count = new System.Windows.Forms.TextBox();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tb_order_date = new System.Windows.Forms.TextBox();
|
||||
this.tb_book_comp = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tb_author = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tb_book_name = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.tb_date = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.btn_stock = new System.Windows.Forms.Button();
|
||||
this.btn_order_ccl = new System.Windows.Forms.Button();
|
||||
this.btn_order = new System.Windows.Forms.Button();
|
||||
this.btn_close = new System.Windows.Forms.Button();
|
||||
this.btn_save = new System.Windows.Forms.Button();
|
||||
this.btn_printLine = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tb_List_name = new System.Windows.Forms.TextBox();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.tb_date_res = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.tb_isbn);
|
||||
this.panel1.Controls.Add(this.tb_order_idx);
|
||||
this.panel1.Controls.Add(this.label9);
|
||||
this.panel1.Controls.Add(this.tb_etc);
|
||||
this.panel1.Controls.Add(this.label10);
|
||||
this.panel1.Controls.Add(this.tb_num);
|
||||
this.panel1.Controls.Add(this.label17);
|
||||
this.panel1.Controls.Add(this.label20);
|
||||
this.panel1.Controls.Add(this.tb_order1);
|
||||
this.panel1.Controls.Add(this.tb_charge);
|
||||
this.panel1.Controls.Add(this.label12);
|
||||
this.panel1.Controls.Add(this.tb_total);
|
||||
this.panel1.Controls.Add(this.label6);
|
||||
this.panel1.Controls.Add(this.tb_pay);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.tb_stock);
|
||||
this.panel1.Controls.Add(this.tb_count);
|
||||
this.panel1.Controls.Add(this.label13);
|
||||
this.panel1.Controls.Add(this.label22);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.tb_order_date);
|
||||
this.panel1.Controls.Add(this.tb_book_comp);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.tb_author);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.tb_book_name);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(9, 106);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(648, 199);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// tb_isbn
|
||||
//
|
||||
this.tb_isbn.Location = new System.Drawing.Point(414, 7);
|
||||
this.tb_isbn.Name = "tb_isbn";
|
||||
this.tb_isbn.Size = new System.Drawing.Size(215, 21);
|
||||
this.tb_isbn.TabIndex = 1;
|
||||
this.tb_isbn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// tb_order_idx
|
||||
//
|
||||
this.tb_order_idx.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tb_order_idx.Enabled = false;
|
||||
this.tb_order_idx.Location = new System.Drawing.Point(214, 168);
|
||||
this.tb_order_idx.Name = "tb_order_idx";
|
||||
this.tb_order_idx.Size = new System.Drawing.Size(43, 21);
|
||||
this.tb_order_idx.TabIndex = 1;
|
||||
this.tb_order_idx.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label9.Location = new System.Drawing.Point(374, 11);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(33, 12);
|
||||
this.label9.TabIndex = 0;
|
||||
this.label9.Text = "ISBN";
|
||||
//
|
||||
// tb_etc
|
||||
//
|
||||
this.tb_etc.Location = new System.Drawing.Point(69, 141);
|
||||
this.tb_etc.Name = "tb_etc";
|
||||
this.tb_etc.Size = new System.Drawing.Size(560, 21);
|
||||
this.tb_etc.TabIndex = 1;
|
||||
this.tb_etc.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label10.Location = new System.Drawing.Point(22, 10);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(29, 12);
|
||||
this.label10.TabIndex = 0;
|
||||
this.label10.Text = "번호";
|
||||
//
|
||||
// tb_num
|
||||
//
|
||||
this.tb_num.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tb_num.Enabled = false;
|
||||
this.tb_num.Location = new System.Drawing.Point(69, 6);
|
||||
this.tb_num.Name = "tb_num";
|
||||
this.tb_num.Size = new System.Drawing.Size(124, 21);
|
||||
this.tb_num.TabIndex = 1;
|
||||
this.tb_num.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label17.Location = new System.Drawing.Point(22, 145);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(29, 12);
|
||||
this.label17.TabIndex = 0;
|
||||
this.label17.Text = "비고";
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label20.Location = new System.Drawing.Point(14, 172);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(41, 12);
|
||||
this.label20.TabIndex = 0;
|
||||
this.label20.Text = "주문처";
|
||||
//
|
||||
// tb_order1
|
||||
//
|
||||
this.tb_order1.Location = new System.Drawing.Point(69, 168);
|
||||
this.tb_order1.Name = "tb_order1";
|
||||
this.tb_order1.Size = new System.Drawing.Size(139, 21);
|
||||
this.tb_order1.TabIndex = 1;
|
||||
this.tb_order1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// tb_charge
|
||||
//
|
||||
this.tb_charge.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tb_charge.Enabled = false;
|
||||
this.tb_charge.Location = new System.Drawing.Point(487, 87);
|
||||
this.tb_charge.Name = "tb_charge";
|
||||
this.tb_charge.Size = new System.Drawing.Size(142, 21);
|
||||
this.tb_charge.TabIndex = 1;
|
||||
this.tb_charge.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label12.Location = new System.Drawing.Point(430, 91);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(41, 12);
|
||||
this.label12.TabIndex = 0;
|
||||
this.label12.Text = "담당자";
|
||||
//
|
||||
// tb_total
|
||||
//
|
||||
this.tb_total.Location = new System.Drawing.Point(487, 114);
|
||||
this.tb_total.Name = "tb_total";
|
||||
this.tb_total.Size = new System.Drawing.Size(142, 21);
|
||||
this.tb_total.TabIndex = 1;
|
||||
this.tb_total.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label6.Location = new System.Drawing.Point(424, 118);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(53, 12);
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "합계금액";
|
||||
//
|
||||
// tb_pay
|
||||
//
|
||||
this.tb_pay.Location = new System.Drawing.Point(69, 114);
|
||||
this.tb_pay.Name = "tb_pay";
|
||||
this.tb_pay.Size = new System.Drawing.Size(124, 21);
|
||||
this.tb_pay.TabIndex = 1;
|
||||
this.tb_pay.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label5.Location = new System.Drawing.Point(22, 118);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(29, 12);
|
||||
this.label5.TabIndex = 0;
|
||||
this.label5.Text = "정가";
|
||||
//
|
||||
// tb_stock
|
||||
//
|
||||
this.tb_stock.Location = new System.Drawing.Point(357, 114);
|
||||
this.tb_stock.Name = "tb_stock";
|
||||
this.tb_stock.Size = new System.Drawing.Size(57, 21);
|
||||
this.tb_stock.TabIndex = 1;
|
||||
this.tb_stock.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// tb_count
|
||||
//
|
||||
this.tb_count.Location = new System.Drawing.Point(242, 114);
|
||||
this.tb_count.Name = "tb_count";
|
||||
this.tb_count.Size = new System.Drawing.Size(57, 21);
|
||||
this.tb_count.TabIndex = 1;
|
||||
this.tb_count.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label13.Location = new System.Drawing.Point(314, 118);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(41, 12);
|
||||
this.label13.TabIndex = 0;
|
||||
this.label13.Text = "입고수";
|
||||
//
|
||||
// label22
|
||||
//
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label22.Location = new System.Drawing.Point(349, 172);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(53, 12);
|
||||
this.label22.TabIndex = 0;
|
||||
this.label22.Text = "주문일자";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label4.Location = new System.Drawing.Point(211, 118);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(29, 12);
|
||||
this.label4.TabIndex = 0;
|
||||
this.label4.Text = "수량";
|
||||
//
|
||||
// tb_order_date
|
||||
//
|
||||
this.tb_order_date.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.tb_order_date.Enabled = false;
|
||||
this.tb_order_date.Location = new System.Drawing.Point(409, 168);
|
||||
this.tb_order_date.Name = "tb_order_date";
|
||||
this.tb_order_date.Size = new System.Drawing.Size(220, 21);
|
||||
this.tb_order_date.TabIndex = 1;
|
||||
this.tb_order_date.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// tb_book_comp
|
||||
//
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(69, 87);
|
||||
this.tb_book_comp.Name = "tb_book_comp";
|
||||
this.tb_book_comp.Size = new System.Drawing.Size(345, 21);
|
||||
this.tb_book_comp.TabIndex = 1;
|
||||
this.tb_book_comp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label3.Location = new System.Drawing.Point(16, 91);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "출판사";
|
||||
//
|
||||
// tb_author
|
||||
//
|
||||
this.tb_author.Location = new System.Drawing.Point(69, 60);
|
||||
this.tb_author.Name = "tb_author";
|
||||
this.tb_author.Size = new System.Drawing.Size(560, 21);
|
||||
this.tb_author.TabIndex = 1;
|
||||
this.tb_author.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label2.Location = new System.Drawing.Point(22, 64);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "저자";
|
||||
//
|
||||
// tb_book_name
|
||||
//
|
||||
this.tb_book_name.Location = new System.Drawing.Point(69, 33);
|
||||
this.tb_book_name.Name = "tb_book_name";
|
||||
this.tb_book_name.Size = new System.Drawing.Size(560, 21);
|
||||
this.tb_book_name.TabIndex = 1;
|
||||
this.tb_book_name.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label1.Location = new System.Drawing.Point(16, 37);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "도서명";
|
||||
//
|
||||
// tb_date
|
||||
//
|
||||
this.tb_date.Enabled = false;
|
||||
this.tb_date.Location = new System.Drawing.Point(69, 34);
|
||||
this.tb_date.Name = "tb_date";
|
||||
this.tb_date.Size = new System.Drawing.Size(230, 21);
|
||||
this.tb_date.TabIndex = 1;
|
||||
this.tb_date.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label7.Location = new System.Drawing.Point(10, 38);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 0;
|
||||
this.label7.Text = "목록일자";
|
||||
//
|
||||
// btn_stock
|
||||
//
|
||||
this.btn_stock.Location = new System.Drawing.Point(27, 6);
|
||||
this.btn_stock.Name = "btn_stock";
|
||||
this.btn_stock.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_stock.TabIndex = 3;
|
||||
this.btn_stock.Text = "입고처리";
|
||||
this.btn_stock.UseVisualStyleBackColor = true;
|
||||
this.btn_stock.Click += new System.EventHandler(this.btn_stock_Click);
|
||||
//
|
||||
// btn_order_ccl
|
||||
//
|
||||
this.btn_order_ccl.Location = new System.Drawing.Point(116, 6);
|
||||
this.btn_order_ccl.Name = "btn_order_ccl";
|
||||
this.btn_order_ccl.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_order_ccl.TabIndex = 3;
|
||||
this.btn_order_ccl.Text = "주문취소";
|
||||
this.btn_order_ccl.UseVisualStyleBackColor = true;
|
||||
this.btn_order_ccl.Click += new System.EventHandler(this.btn_order_ccl_Click);
|
||||
//
|
||||
// btn_order
|
||||
//
|
||||
this.btn_order.Location = new System.Drawing.Point(205, 6);
|
||||
this.btn_order.Name = "btn_order";
|
||||
this.btn_order.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_order.TabIndex = 3;
|
||||
this.btn_order.Text = "주문처리";
|
||||
this.btn_order.UseVisualStyleBackColor = true;
|
||||
this.btn_order.Click += new System.EventHandler(this.btn_order_Click);
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_close.Location = new System.Drawing.Point(561, 6);
|
||||
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);
|
||||
//
|
||||
// btn_save
|
||||
//
|
||||
this.btn_save.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_save.Location = new System.Drawing.Point(472, 6);
|
||||
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_printLine
|
||||
//
|
||||
this.btn_printLine.Location = new System.Drawing.Point(293, 6);
|
||||
this.btn_printLine.Name = "btn_printLine";
|
||||
this.btn_printLine.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_printLine.TabIndex = 3;
|
||||
this.btn_printLine.Text = "띠지출력";
|
||||
this.btn_printLine.UseVisualStyleBackColor = true;
|
||||
this.btn_printLine.Visible = false;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.tb_List_name);
|
||||
this.panel2.Controls.Add(this.label11);
|
||||
this.panel2.Controls.Add(this.tb_date_res);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Controls.Add(this.tb_date);
|
||||
this.panel2.Controls.Add(this.label7);
|
||||
this.panel2.Location = new System.Drawing.Point(9, 36);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(648, 64);
|
||||
this.panel2.TabIndex = 4;
|
||||
//
|
||||
// tb_List_name
|
||||
//
|
||||
this.tb_List_name.Enabled = false;
|
||||
this.tb_List_name.Location = new System.Drawing.Point(69, 7);
|
||||
this.tb_List_name.Name = "tb_List_name";
|
||||
this.tb_List_name.Size = new System.Drawing.Size(560, 21);
|
||||
this.tb_List_name.TabIndex = 1;
|
||||
this.tb_List_name.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label11.Location = new System.Drawing.Point(16, 11);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(41, 12);
|
||||
this.label11.TabIndex = 0;
|
||||
this.label11.Text = "목록명";
|
||||
//
|
||||
// tb_date_res
|
||||
//
|
||||
this.tb_date_res.Enabled = false;
|
||||
this.tb_date_res.Location = new System.Drawing.Point(399, 34);
|
||||
this.tb_date_res.Name = "tb_date_res";
|
||||
this.tb_date_res.Size = new System.Drawing.Size(230, 21);
|
||||
this.tb_date_res.TabIndex = 1;
|
||||
this.tb_date_res.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.BackColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.label8.Location = new System.Drawing.Point(340, 38);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(53, 12);
|
||||
this.label8.TabIndex = 0;
|
||||
this.label8.Text = "완료일자";
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.AllowUserToResizeColumns = false;
|
||||
this.dataGridView1.AllowUserToResizeRows = 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.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Column1,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.Column5,
|
||||
this.Column6});
|
||||
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.False;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(9, 311);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 15;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(648, 190);
|
||||
this.dataGridView1.TabIndex = 5;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "처리일자";
|
||||
this.Column1.Name = "Column1";
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "구분";
|
||||
this.Column2.Name = "Column2";
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "거래처명";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.Width = 250;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "단가";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.Width = 80;
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
this.Column5.HeaderText = "수량";
|
||||
this.Column5.Name = "Column5";
|
||||
this.Column5.Width = 40;
|
||||
//
|
||||
// Column6
|
||||
//
|
||||
this.Column6.HeaderText = "%";
|
||||
this.Column6.Name = "Column6";
|
||||
this.Column6.Width = 40;
|
||||
//
|
||||
// Book_Lookup
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(667, 510);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.btn_save);
|
||||
this.Controls.Add(this.btn_close);
|
||||
this.Controls.Add(this.btn_printLine);
|
||||
this.Controls.Add(this.btn_order);
|
||||
this.Controls.Add(this.btn_order_ccl);
|
||||
this.Controls.Add(this.btn_stock);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Book_Lookup";
|
||||
this.Text = "도서 정보";
|
||||
this.Load += new System.EventHandler(this.Book_Lookup_Load);
|
||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Book_Lookup_KeyDown);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TextBox tb_isbn;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.TextBox tb_etc;
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.TextBox tb_charge;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.TextBox tb_num;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox tb_date;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox tb_total;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox tb_pay;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tb_count;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tb_book_comp;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tb_author;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tb_book_name;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox tb_order_idx;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.TextBox tb_order1;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.TextBox tb_order_date;
|
||||
private System.Windows.Forms.Button btn_stock;
|
||||
private System.Windows.Forms.Button btn_order_ccl;
|
||||
private System.Windows.Forms.Button btn_order;
|
||||
private System.Windows.Forms.Button btn_close;
|
||||
private System.Windows.Forms.Button btn_save;
|
||||
private System.Windows.Forms.Button btn_printLine;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.TextBox tb_date_res;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox tb_List_name;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
||||
private System.Windows.Forms.TextBox tb_stock;
|
||||
private System.Windows.Forms.Label label13;
|
||||
}
|
||||
}
|
||||
220
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.cs
Normal file
220
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.cs
Normal file
@@ -0,0 +1,220 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public struct Backup_Data
|
||||
{
|
||||
public string[] book_data;
|
||||
public void backup_set_book(string[] backup)
|
||||
{
|
||||
book_data = backup;
|
||||
}
|
||||
}
|
||||
public partial class Book_Lookup : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
Backup_Data back;
|
||||
Order_input oin;
|
||||
Purchase pur;
|
||||
string compidx;
|
||||
string list_name;
|
||||
int idx;
|
||||
public Book_Lookup(Order_input _oin)
|
||||
{
|
||||
InitializeComponent();
|
||||
oin = _oin;
|
||||
idx = oin.grididx;
|
||||
compidx = oin.compidx;
|
||||
}
|
||||
public Book_Lookup(Purchase _pur)
|
||||
{
|
||||
InitializeComponent();
|
||||
pur = _pur;
|
||||
idx = pur.grididx;
|
||||
compidx = pur.compidx;
|
||||
}
|
||||
private void Book_Lookup_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
tb_isbn.Text = isbn();
|
||||
list_db();
|
||||
this.Text = "도서 정보 - 『" + tb_book_name.Text + "』";
|
||||
mk_Grid();
|
||||
|
||||
/* Obj_List_Book
|
||||
* idx 도서명 저자 출판사 isbn
|
||||
* 정가 수량 입고수 합계금액 비고
|
||||
* 주문처 주문일자 */
|
||||
string[] List_book = { compidx, tb_book_name.Text, tb_author.Text, tb_book_comp.Text, tb_isbn.Text,
|
||||
tb_pay.Text, tb_count.Text, tb_stock.Text, tb_total.Text, tb_etc.Text,
|
||||
tb_order1.Text, tb_order_date.Text, tb_List_name.Text };
|
||||
back.backup_set_book(List_book);
|
||||
}
|
||||
private void mk_Grid()
|
||||
{
|
||||
string Area = "`order`, `pay`, `count`, `persent`, " + // 0-3
|
||||
"`order_date`, `import_date`, `chk_date`, `export_date`"; // 4-7
|
||||
string[] Search_col = { "compidx", "list_name", "book_name", "author", "book_comp" };
|
||||
string[] Search_data = { compidx, tb_List_name.Text, tb_book_name.Text, tb_author.Text, tb_book_comp.Text };
|
||||
string db_tmp = db.More_DB_Search("Obj_List_Book", Search_col, Search_data, Area);
|
||||
string[] db_data = db_tmp.Split('|');
|
||||
|
||||
string[] add_grid = { "", "", db_data[0], db_data[1], db_data[2], db_data[3] };
|
||||
// 처리일자 구분 거래처명 단가 수량 %
|
||||
if (db_data[4] != "") {
|
||||
add_grid[0] = db_data[4];
|
||||
add_grid[1] = "주문";
|
||||
dataGridView1.Rows.Add(add_grid);
|
||||
}
|
||||
if (db_data[5] != "") {
|
||||
add_grid[0] = db_data[5];
|
||||
add_grid[1] = "입고";
|
||||
dataGridView1.Rows.Add(add_grid);
|
||||
}
|
||||
if (db_data[6] != "") {
|
||||
add_grid[0] = db_data[6];
|
||||
add_grid[1] = "검수";
|
||||
dataGridView1.Rows.Add(add_grid);
|
||||
}
|
||||
if (db_data[7] != "") {
|
||||
add_grid[0] = db_data[7];
|
||||
add_grid[1] = "출고";
|
||||
dataGridView1.Rows.Add(add_grid);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 폼에 들어갈 데이터를 사전에 준비하여야함.
|
||||
/// </summary>
|
||||
/// <param name="book_name"></param>
|
||||
/// <param name="author"></param>
|
||||
/// <param name="book_comp"></param>
|
||||
/// <param name="list_name"></param>
|
||||
public void Lookup_Load(string book_name, string author, string book_comp, string list_name)
|
||||
{
|
||||
this.list_name = list_name;
|
||||
db.DBcon();
|
||||
string search = "`book_name`, `author`, `book_comp`, `count`, `pay`, " +
|
||||
"`total`, `header`, `num`, `order`, `etc`, `input_count`, `order_date`";
|
||||
|
||||
string[] data = { compidx, book_name, author, book_comp, list_name };
|
||||
string[] table = { "compidx", "book_name", "author", "book_comp", "list_name" };
|
||||
string tmp_db = db.More_DB_Search("Obj_List_Book", table, data, search);
|
||||
mk_Lookup(tmp_db);
|
||||
}
|
||||
private void mk_Lookup(string values)
|
||||
{
|
||||
string[] data = values.Split('|');
|
||||
|
||||
tb_book_name.Text = data[0];
|
||||
tb_author.Text = data[1];
|
||||
tb_book_comp.Text = data[2];
|
||||
tb_count.Text = data[3];
|
||||
tb_pay.Text = data[4];
|
||||
tb_total.Text = data[5];
|
||||
tb_num.Text = data[6] + " " + data[7];
|
||||
tb_order1.Text = data[8];
|
||||
tb_etc.Text = data[9];
|
||||
tb_stock.Text = data[10];
|
||||
if (data[11].Length < 3) { tb_order_date.Text = ""; }
|
||||
else { tb_order_date.Text = data[11].Substring(0, 10); }
|
||||
}
|
||||
/// <summary>
|
||||
/// 목록db에서 불러온 값을 적용시키는 함수
|
||||
/// </summary>
|
||||
private void list_db()
|
||||
{
|
||||
string[] where_table = { "comp_num", "list_name" };
|
||||
string[] search_data = { compidx, list_name };
|
||||
string cmd = db.More_DB_Search("Obj_List", where_table, search_data,
|
||||
"`clt`, `dly`, `charge`, `date`, `date_res`");
|
||||
string[] data = cmd.Split('|');
|
||||
tb_List_name.Text = list_name;
|
||||
tb_charge.Text = data[2];
|
||||
tb_date.Text = data[3];
|
||||
tb_date_res.Text = data[4];
|
||||
}
|
||||
/// <summary>
|
||||
/// 목록도서DB에 저장된 isbn값을 가져오는 함수.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private string isbn()
|
||||
{
|
||||
string[] where_table = { "compidx", "list_name", "book_name", "author", "book_comp" };
|
||||
string[] search_data = { compidx,
|
||||
list_name, tb_book_name.Text, tb_author.Text, tb_book_comp.Text };
|
||||
string cmd = db.More_DB_Search("Obj_List_Book", where_table, search_data, "`isbn`");
|
||||
cmd = cmd.Replace("|", "");
|
||||
return cmd;
|
||||
}
|
||||
private void Book_Lookup_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Escape)
|
||||
{
|
||||
btn_close_Click(null, null);
|
||||
}
|
||||
if (e.KeyCode == Keys.Control)
|
||||
{
|
||||
if (e.KeyCode == Keys.S)
|
||||
{
|
||||
btn_save_Click(null, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_save_Click(object sender, EventArgs e)
|
||||
{
|
||||
/* Obj_List_Book
|
||||
* idx 도서명 저자 출판사 isbn
|
||||
* 정가 수량 입고수 합계금액 비고
|
||||
* 주문처 주문일자 */
|
||||
string[] Table = { "compidx", "book_name", "author", "book_comp", "isbn",
|
||||
"pay", "count", "input_count", "total", "etc",
|
||||
"order", "order_date", "list_name" };
|
||||
string[] List_book = { compidx, tb_book_name.Text, tb_author.Text, tb_book_comp.Text, tb_isbn.Text,
|
||||
tb_pay.Text, tb_count.Text, tb_stock.Text, tb_total.Text, tb_etc.Text,
|
||||
tb_order1.Text, tb_order_date.Text, tb_List_name.Text };
|
||||
|
||||
db.More_Update("Obj_List_Book", Table, List_book, Table, back.book_data);
|
||||
MessageBox.Show("저장되었습니다.");
|
||||
}
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
private void btn_stock_Click(object sender, EventArgs e)
|
||||
{
|
||||
int stock = Convert.ToInt32(tb_stock.Text);
|
||||
stock += 1;
|
||||
tb_stock.Text = stock.ToString();
|
||||
/* // 저장버튼 클릭시 일괄저장되는걸로 변경 (소스는 혹시 몰라 주석처리)
|
||||
string[] edit_tbl = { "input_count", "import", "import_date" };
|
||||
string[] edit_col = { stock.ToString(), "입고", DateTime.Today.ToString("G").Substring(0,10) };
|
||||
string[] search_tbl = { "compidx", "list_name", "book_name", "author", "book_comp", "isbn" };
|
||||
string[] search_col = { compidx,
|
||||
tb_List_name.Text, tb_book_name.Text, tb_author.Text, tb_book_comp.Text, tb_isbn.Text };
|
||||
db.More_Update("Obj_List_Book", edit_tbl, edit_col, search_tbl, search_col);
|
||||
MessageBox.Show(tb_book_name.Text + "가 입고처리되었습니다.");
|
||||
mk_Grid();
|
||||
*/
|
||||
}
|
||||
private void btn_order_ccl_Click(object sender, EventArgs e)
|
||||
{
|
||||
// 저장버튼 클릭시 일괄 저장.
|
||||
tb_order1.Text = "";
|
||||
tb_order_date.Text = "";
|
||||
tb_order_idx.Text = "";
|
||||
}
|
||||
private void btn_order_Click(object sender, EventArgs e)
|
||||
{
|
||||
tb_order_date.Text = DateTime.Now.ToString("G").Substring(0, 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
138
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.resx
Normal file
138
unimarc/WindowsFormsApp1/납품관리/Book_Lookup.resx
Normal file
@@ -0,0 +1,138 @@
|
||||
<?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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
344
unimarc/WindowsFormsApp1/납품관리/Commodity_Edit.Designer.cs
generated
Normal file
344
unimarc/WindowsFormsApp1/납품관리/Commodity_Edit.Designer.cs
generated
Normal file
@@ -0,0 +1,344 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Commodity_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.Old_Date = new System.Windows.Forms.TextBox();
|
||||
this.Old_Dlv = new System.Windows.Forms.TextBox();
|
||||
this.Old_Clit = new System.Windows.Forms.TextBox();
|
||||
this.Old_User = new System.Windows.Forms.TextBox();
|
||||
this.Old_Num = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.New_Num = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.New_Dlv = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.New_User = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.New_Clit = new System.Windows.Forms.TextBox();
|
||||
this.btn_OK = new System.Windows.Forms.Button();
|
||||
this.Btn_Cancel = new System.Windows.Forms.Button();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Old_Date
|
||||
//
|
||||
this.Old_Date.Enabled = false;
|
||||
this.Old_Date.Location = new System.Drawing.Point(69, 14);
|
||||
this.Old_Date.Name = "Old_Date";
|
||||
this.Old_Date.Size = new System.Drawing.Size(100, 21);
|
||||
this.Old_Date.TabIndex = 0;
|
||||
//
|
||||
// Old_Dlv
|
||||
//
|
||||
this.Old_Dlv.Enabled = false;
|
||||
this.Old_Dlv.Location = new System.Drawing.Point(69, 41);
|
||||
this.Old_Dlv.Name = "Old_Dlv";
|
||||
this.Old_Dlv.Size = new System.Drawing.Size(100, 21);
|
||||
this.Old_Dlv.TabIndex = 0;
|
||||
//
|
||||
// Old_Clit
|
||||
//
|
||||
this.Old_Clit.Enabled = false;
|
||||
this.Old_Clit.Location = new System.Drawing.Point(69, 68);
|
||||
this.Old_Clit.Name = "Old_Clit";
|
||||
this.Old_Clit.Size = new System.Drawing.Size(100, 21);
|
||||
this.Old_Clit.TabIndex = 0;
|
||||
//
|
||||
// Old_User
|
||||
//
|
||||
this.Old_User.Enabled = false;
|
||||
this.Old_User.Location = new System.Drawing.Point(69, 95);
|
||||
this.Old_User.Name = "Old_User";
|
||||
this.Old_User.Size = new System.Drawing.Size(100, 21);
|
||||
this.Old_User.TabIndex = 0;
|
||||
//
|
||||
// Old_Num
|
||||
//
|
||||
this.Old_Num.Enabled = false;
|
||||
this.Old_Num.Location = new System.Drawing.Point(69, 122);
|
||||
this.Old_Num.Name = "Old_Num";
|
||||
this.Old_Num.Size = new System.Drawing.Size(100, 21);
|
||||
this.Old_Num.TabIndex = 0;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.Old_Date);
|
||||
this.panel1.Controls.Add(this.Old_Num);
|
||||
this.panel1.Controls.Add(this.Old_Dlv);
|
||||
this.panel1.Controls.Add(this.Old_User);
|
||||
this.panel1.Controls.Add(this.Old_Clit);
|
||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(181, 154);
|
||||
this.panel1.TabIndex = 1;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(13, 126);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "목록번호";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(13, 99);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(41, 12);
|
||||
this.label4.TabIndex = 1;
|
||||
this.label4.Text = "담당자";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(13, 72);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 1;
|
||||
this.label3.Text = "거래처";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(13, 45);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "납품목록";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(13, 18);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "목록일자";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label6.Location = new System.Drawing.Point(206, 85);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(50, 16);
|
||||
this.label6.TabIndex = 1;
|
||||
this.label6.Text = "= = >";
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Controls.Add(this.label11);
|
||||
this.panel2.Controls.Add(this.dateTimePicker2);
|
||||
this.panel2.Controls.Add(this.label10);
|
||||
this.panel2.Controls.Add(this.New_Num);
|
||||
this.panel2.Controls.Add(this.label9);
|
||||
this.panel2.Controls.Add(this.New_Dlv);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Controls.Add(this.New_User);
|
||||
this.panel2.Controls.Add(this.label7);
|
||||
this.panel2.Controls.Add(this.New_Clit);
|
||||
this.panel2.Location = new System.Drawing.Point(267, 12);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(181, 154);
|
||||
this.panel2.TabIndex = 1;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(10, 126);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(53, 12);
|
||||
this.label11.TabIndex = 1;
|
||||
this.label11.Text = "목록번호";
|
||||
//
|
||||
// dateTimePicker2
|
||||
//
|
||||
this.dateTimePicker2.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(69, 14);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker2.TabIndex = 6;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(10, 99);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(41, 12);
|
||||
this.label10.TabIndex = 1;
|
||||
this.label10.Text = "담당자";
|
||||
//
|
||||
// New_Num
|
||||
//
|
||||
this.New_Num.Location = new System.Drawing.Point(69, 122);
|
||||
this.New_Num.Name = "New_Num";
|
||||
this.New_Num.Size = new System.Drawing.Size(100, 21);
|
||||
this.New_Num.TabIndex = 0;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(10, 72);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(41, 12);
|
||||
this.label9.TabIndex = 1;
|
||||
this.label9.Text = "거래처";
|
||||
//
|
||||
// New_Dlv
|
||||
//
|
||||
this.New_Dlv.Location = new System.Drawing.Point(69, 41);
|
||||
this.New_Dlv.Name = "New_Dlv";
|
||||
this.New_Dlv.Size = new System.Drawing.Size(100, 21);
|
||||
this.New_Dlv.TabIndex = 0;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(10, 45);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(53, 12);
|
||||
this.label8.TabIndex = 1;
|
||||
this.label8.Text = "납품목록";
|
||||
//
|
||||
// New_User
|
||||
//
|
||||
this.New_User.Location = new System.Drawing.Point(69, 95);
|
||||
this.New_User.Name = "New_User";
|
||||
this.New_User.Size = new System.Drawing.Size(100, 21);
|
||||
this.New_User.TabIndex = 0;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(10, 18);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 1;
|
||||
this.label7.Text = "목록일자";
|
||||
//
|
||||
// New_Clit
|
||||
//
|
||||
this.New_Clit.Location = new System.Drawing.Point(69, 68);
|
||||
this.New_Clit.Name = "New_Clit";
|
||||
this.New_Clit.Size = new System.Drawing.Size(100, 21);
|
||||
this.New_Clit.TabIndex = 0;
|
||||
this.New_Clit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.New_Clit_KeyDown);
|
||||
//
|
||||
// btn_OK
|
||||
//
|
||||
this.btn_OK.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_OK.Location = new System.Drawing.Point(110, 178);
|
||||
this.btn_OK.Name = "btn_OK";
|
||||
this.btn_OK.Size = new System.Drawing.Size(88, 40);
|
||||
this.btn_OK.TabIndex = 2;
|
||||
this.btn_OK.Text = "확 인";
|
||||
this.btn_OK.UseVisualStyleBackColor = true;
|
||||
this.btn_OK.Click += new System.EventHandler(this.btn_OK_Click);
|
||||
//
|
||||
// Btn_Cancel
|
||||
//
|
||||
this.Btn_Cancel.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.Btn_Cancel.Location = new System.Drawing.Point(262, 178);
|
||||
this.Btn_Cancel.Name = "Btn_Cancel";
|
||||
this.Btn_Cancel.Size = new System.Drawing.Size(88, 40);
|
||||
this.Btn_Cancel.TabIndex = 2;
|
||||
this.Btn_Cancel.Text = "취 소";
|
||||
this.Btn_Cancel.UseVisualStyleBackColor = true;
|
||||
this.Btn_Cancel.Click += new System.EventHandler(this.Btn_Cancel_Click);
|
||||
//
|
||||
// Commodity_Edit
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(460, 231);
|
||||
this.Controls.Add(this.Btn_Cancel);
|
||||
this.Controls.Add(this.btn_OK);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Name = "Commodity_Edit";
|
||||
this.Text = "Commodity_Edit";
|
||||
this.Load += new System.EventHandler(this.Commodity_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.TextBox Old_Date;
|
||||
private System.Windows.Forms.TextBox Old_Dlv;
|
||||
private System.Windows.Forms.TextBox Old_Clit;
|
||||
private System.Windows.Forms.TextBox Old_User;
|
||||
private System.Windows.Forms.TextBox Old_Num;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.TextBox New_Num;
|
||||
private System.Windows.Forms.TextBox New_Dlv;
|
||||
private System.Windows.Forms.TextBox New_User;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Button btn_OK;
|
||||
private System.Windows.Forms.Button Btn_Cancel;
|
||||
public System.Windows.Forms.TextBox New_Clit;
|
||||
}
|
||||
}
|
||||
98
unimarc/WindowsFormsApp1/납품관리/Commodity_Edit.cs
Normal file
98
unimarc/WindowsFormsApp1/납품관리/Commodity_Edit.cs
Normal file
@@ -0,0 +1,98 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Commodity_Edit : Form
|
||||
{
|
||||
Commodity_registration com;
|
||||
Helper_DB DB = new Helper_DB();
|
||||
public string compidx;
|
||||
public Commodity_Edit(Commodity_registration _com)
|
||||
{
|
||||
InitializeComponent();
|
||||
com = _com;
|
||||
}
|
||||
|
||||
private void Commodity_Edit_Load(object sender, EventArgs e)
|
||||
{
|
||||
DB.DBcon();
|
||||
Old_Date.Text= com.dataGridView2.Rows[com.EditNumber].Cells[0].Value.ToString();
|
||||
Old_Clit.Text= com.dataGridView2.Rows[com.EditNumber].Cells[1].Value.ToString();
|
||||
Old_Dlv.Text = com.dataGridView2.Rows[com.EditNumber].Cells[2].Value.ToString();
|
||||
Old_User.Text= com.dataGridView2.Rows[com.EditNumber].Cells[3].Value.ToString();
|
||||
Old_Num.Text = com.dataGridView2.Rows[com.EditNumber].Cells[4].Value.ToString();
|
||||
|
||||
dateTimePicker2.Value = DateTime.Parse(Old_Date.Text);
|
||||
New_Clit.Text = Old_Clit.Text;
|
||||
New_Dlv.Text = Old_Dlv.Text;
|
||||
New_User.Text = Old_User.Text;
|
||||
New_Num.Text = Old_Num.Text;
|
||||
|
||||
Old_Date.Enabled = false;
|
||||
Old_Clit.Enabled = false;
|
||||
Old_Dlv.Enabled = false;
|
||||
Old_User.Enabled = false;
|
||||
Old_Num.Enabled = false;
|
||||
|
||||
compidx = com.comp_idx;
|
||||
}
|
||||
private void btn_OK_Click(object sender, EventArgs e)
|
||||
{
|
||||
string date = dateTimePicker2.Value.ToString().Substring(0,10);
|
||||
string[] Old_data = {
|
||||
Old_Date.Text, // 목록일자
|
||||
Old_Clit.Text, // 거래처명
|
||||
Old_Dlv.Text, // 납품처명
|
||||
Old_User.Text, // 담당자
|
||||
Old_Num.Text}; // 목록번호
|
||||
|
||||
string[] DB_Tabel = { "date", "clt", "dly", "charge", "list_num" };
|
||||
string[] New_data = { date, New_Clit.Text, New_Dlv.Text, New_User.Text, New_Num.Text };
|
||||
|
||||
string list_chk = DB.self_Made_Cmd("SELECT idx FROM Obj_List WHERE " +
|
||||
"`comp_num`= '" + compidx + "' AND " +
|
||||
"`date`= '" + Old_data[0] + "' AND " +
|
||||
"`clt` = '" + Old_data[1] + "' AND " +
|
||||
"`dly`= '" + Old_data[2] + "'AND " +
|
||||
"`charge`= '" + Old_data[3] + "';");
|
||||
list_chk = list_chk.Replace("|", "");
|
||||
string make_cmd = "UPDATE Obj_List SET " +
|
||||
"`" + DB_Tabel[0] + "` = '" + New_data[0] + "'," +
|
||||
"`" + DB_Tabel[1] + "` = '" + New_data[1] + "'," +
|
||||
"`" + DB_Tabel[2] + "` = '" + New_data[2] + "'," +
|
||||
"`" + DB_Tabel[3] + "` = '" + New_data[3] + "'," +
|
||||
"`" + DB_Tabel[4] + "` = '" + New_data[4] + "'" +
|
||||
" WHERE " +
|
||||
"`comp_num` = '"+compidx+"'; ";
|
||||
for(int a = 0; a < Old_data.Length; a++)
|
||||
{
|
||||
if (Old_data[a] != New_data[a]) {
|
||||
DB.DB_Update("Obj_List", DB_Tabel[a], New_data[a], "idx", list_chk);
|
||||
com.dataGridView2.Rows[com.EditNumber].Cells[a].Value = New_data[a];
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
private void Btn_Cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
private void New_Clit_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Commodity_Search sea = new Commodity_Search(this);
|
||||
sea.Clinet_name = New_Clit.Text;
|
||||
sea.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/WindowsFormsApp1/납품관리/Commodity_Edit.resx
Normal file
120
unimarc/WindowsFormsApp1/납품관리/Commodity_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>
|
||||
670
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.Designer.cs
generated
Normal file
670
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.Designer.cs
generated
Normal file
@@ -0,0 +1,670 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Commodity_Morge
|
||||
{
|
||||
/// <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.panel1 = new System.Windows.Forms.Panel();
|
||||
this.rbtn1_2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn1_1 = new System.Windows.Forms.RadioButton();
|
||||
this.tb_date_res = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tb_date2 = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tb_date1 = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btn_OK = new System.Windows.Forms.Button();
|
||||
this.btn_Cancel = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.rbtn2_2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn2_1 = new System.Windows.Forms.RadioButton();
|
||||
this.tb_dlv_res = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tb_dlv2 = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tb_dlv1 = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.rbtn3_2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn3_1 = new System.Windows.Forms.RadioButton();
|
||||
this.tb_clt_res = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.tb_clt2 = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.tb_clt1 = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.panel6 = new System.Windows.Forms.Panel();
|
||||
this.rbtn4_2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn4_1 = new System.Windows.Forms.RadioButton();
|
||||
this.tb_user_res = new System.Windows.Forms.TextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.tb_user2 = new System.Windows.Forms.TextBox();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.tb_user1 = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.rbtn5_2 = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn5_1 = new System.Windows.Forms.RadioButton();
|
||||
this.tb_num_res = new System.Windows.Forms.TextBox();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.tb_num2 = new System.Windows.Forms.TextBox();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.tb_num1 = new System.Windows.Forms.TextBox();
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.chk_keep2 = new System.Windows.Forms.CheckBox();
|
||||
this.chk_keep1 = new System.Windows.Forms.CheckBox();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel6.SuspendLayout();
|
||||
this.panel7.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.rbtn1_2);
|
||||
this.panel1.Controls.Add(this.rbtn1_1);
|
||||
this.panel1.Controls.Add(this.tb_date_res);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.tb_date2);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.tb_date1);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(10, 14);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(600, 59);
|
||||
this.panel1.TabIndex = 0;
|
||||
//
|
||||
// rbtn1_2
|
||||
//
|
||||
this.rbtn1_2.AutoSize = true;
|
||||
this.rbtn1_2.Location = new System.Drawing.Point(327, 7);
|
||||
this.rbtn1_2.Name = "rbtn1_2";
|
||||
this.rbtn1_2.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn1_2.TabIndex = 3;
|
||||
this.rbtn1_2.TabStop = true;
|
||||
this.rbtn1_2.Text = "변경";
|
||||
this.rbtn1_2.UseVisualStyleBackColor = true;
|
||||
this.rbtn1_2.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// rbtn1_1
|
||||
//
|
||||
this.rbtn1_1.AutoSize = true;
|
||||
this.rbtn1_1.Location = new System.Drawing.Point(123, 7);
|
||||
this.rbtn1_1.Name = "rbtn1_1";
|
||||
this.rbtn1_1.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn1_1.TabIndex = 3;
|
||||
this.rbtn1_1.TabStop = true;
|
||||
this.rbtn1_1.Text = "변경";
|
||||
this.rbtn1_1.UseVisualStyleBackColor = true;
|
||||
this.rbtn1_1.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// tb_date_res
|
||||
//
|
||||
this.tb_date_res.Location = new System.Drawing.Point(434, 26);
|
||||
this.tb_date_res.Name = "tb_date_res";
|
||||
this.tb_date_res.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_date_res.TabIndex = 2;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(437, 11);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(81, 12);
|
||||
this.label3.TabIndex = 1;
|
||||
this.label3.Text = "목록일자 결과";
|
||||
//
|
||||
// tb_date2
|
||||
//
|
||||
this.tb_date2.Location = new System.Drawing.Point(227, 26);
|
||||
this.tb_date2.Name = "tb_date2";
|
||||
this.tb_date2.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_date2.TabIndex = 2;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(225, 11);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "목록일자";
|
||||
//
|
||||
// tb_date1
|
||||
//
|
||||
this.tb_date1.Location = new System.Drawing.Point(21, 26);
|
||||
this.tb_date1.Name = "tb_date1";
|
||||
this.tb_date1.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_date1.TabIndex = 2;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(19, 11);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "목록일자";
|
||||
//
|
||||
// btn_OK
|
||||
//
|
||||
this.btn_OK.Location = new System.Drawing.Point(155, 375);
|
||||
this.btn_OK.Name = "btn_OK";
|
||||
this.btn_OK.Size = new System.Drawing.Size(94, 34);
|
||||
this.btn_OK.TabIndex = 1;
|
||||
this.btn_OK.Text = "확 인";
|
||||
this.btn_OK.UseVisualStyleBackColor = true;
|
||||
this.btn_OK.Click += new System.EventHandler(this.btn_OK_Click);
|
||||
//
|
||||
// btn_Cancel
|
||||
//
|
||||
this.btn_Cancel.Location = new System.Drawing.Point(365, 375);
|
||||
this.btn_Cancel.Name = "btn_Cancel";
|
||||
this.btn_Cancel.Size = new System.Drawing.Size(94, 34);
|
||||
this.btn_Cancel.TabIndex = 1;
|
||||
this.btn_Cancel.Text = "취 소";
|
||||
this.btn_Cancel.UseVisualStyleBackColor = true;
|
||||
this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Location = new System.Drawing.Point(201, 7);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(2, 362);
|
||||
this.panel2.TabIndex = 2;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel3.Location = new System.Drawing.Point(411, 7);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(2, 362);
|
||||
this.panel3.TabIndex = 2;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.rbtn2_2);
|
||||
this.panel4.Controls.Add(this.rbtn2_1);
|
||||
this.panel4.Controls.Add(this.tb_dlv_res);
|
||||
this.panel4.Controls.Add(this.label4);
|
||||
this.panel4.Controls.Add(this.tb_dlv2);
|
||||
this.panel4.Controls.Add(this.label5);
|
||||
this.panel4.Controls.Add(this.tb_dlv1);
|
||||
this.panel4.Controls.Add(this.label6);
|
||||
this.panel4.Location = new System.Drawing.Point(10, 79);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(600, 59);
|
||||
this.panel4.TabIndex = 0;
|
||||
//
|
||||
// rbtn2_2
|
||||
//
|
||||
this.rbtn2_2.AutoSize = true;
|
||||
this.rbtn2_2.Location = new System.Drawing.Point(327, 9);
|
||||
this.rbtn2_2.Name = "rbtn2_2";
|
||||
this.rbtn2_2.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn2_2.TabIndex = 3;
|
||||
this.rbtn2_2.TabStop = true;
|
||||
this.rbtn2_2.Text = "변경";
|
||||
this.rbtn2_2.UseVisualStyleBackColor = true;
|
||||
this.rbtn2_2.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// rbtn2_1
|
||||
//
|
||||
this.rbtn2_1.AutoSize = true;
|
||||
this.rbtn2_1.Location = new System.Drawing.Point(123, 9);
|
||||
this.rbtn2_1.Name = "rbtn2_1";
|
||||
this.rbtn2_1.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn2_1.TabIndex = 3;
|
||||
this.rbtn2_1.TabStop = true;
|
||||
this.rbtn2_1.Text = "변경";
|
||||
this.rbtn2_1.UseVisualStyleBackColor = true;
|
||||
this.rbtn2_1.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// tb_dlv_res
|
||||
//
|
||||
this.tb_dlv_res.Location = new System.Drawing.Point(434, 26);
|
||||
this.tb_dlv_res.Name = "tb_dlv_res";
|
||||
this.tb_dlv_res.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_dlv_res.TabIndex = 2;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(437, 11);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(81, 12);
|
||||
this.label4.TabIndex = 1;
|
||||
this.label4.Text = "납품목록 결과";
|
||||
//
|
||||
// tb_dlv2
|
||||
//
|
||||
this.tb_dlv2.Location = new System.Drawing.Point(227, 26);
|
||||
this.tb_dlv2.Name = "tb_dlv2";
|
||||
this.tb_dlv2.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_dlv2.TabIndex = 2;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(225, 11);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "납품목록";
|
||||
//
|
||||
// tb_dlv1
|
||||
//
|
||||
this.tb_dlv1.Location = new System.Drawing.Point(21, 26);
|
||||
this.tb_dlv1.Name = "tb_dlv1";
|
||||
this.tb_dlv1.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_dlv1.TabIndex = 2;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(19, 11);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(53, 12);
|
||||
this.label6.TabIndex = 1;
|
||||
this.label6.Text = "납품목록";
|
||||
//
|
||||
// panel5
|
||||
//
|
||||
this.panel5.Controls.Add(this.rbtn3_2);
|
||||
this.panel5.Controls.Add(this.rbtn3_1);
|
||||
this.panel5.Controls.Add(this.tb_clt_res);
|
||||
this.panel5.Controls.Add(this.label7);
|
||||
this.panel5.Controls.Add(this.tb_clt2);
|
||||
this.panel5.Controls.Add(this.label8);
|
||||
this.panel5.Controls.Add(this.tb_clt1);
|
||||
this.panel5.Controls.Add(this.label9);
|
||||
this.panel5.Location = new System.Drawing.Point(10, 144);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(600, 59);
|
||||
this.panel5.TabIndex = 0;
|
||||
//
|
||||
// rbtn3_2
|
||||
//
|
||||
this.rbtn3_2.AutoSize = true;
|
||||
this.rbtn3_2.Location = new System.Drawing.Point(327, 7);
|
||||
this.rbtn3_2.Name = "rbtn3_2";
|
||||
this.rbtn3_2.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn3_2.TabIndex = 3;
|
||||
this.rbtn3_2.TabStop = true;
|
||||
this.rbtn3_2.Text = "변경";
|
||||
this.rbtn3_2.UseVisualStyleBackColor = true;
|
||||
this.rbtn3_2.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// rbtn3_1
|
||||
//
|
||||
this.rbtn3_1.AutoSize = true;
|
||||
this.rbtn3_1.Location = new System.Drawing.Point(123, 7);
|
||||
this.rbtn3_1.Name = "rbtn3_1";
|
||||
this.rbtn3_1.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn3_1.TabIndex = 3;
|
||||
this.rbtn3_1.TabStop = true;
|
||||
this.rbtn3_1.Text = "변경";
|
||||
this.rbtn3_1.UseVisualStyleBackColor = true;
|
||||
this.rbtn3_1.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// tb_clt_res
|
||||
//
|
||||
this.tb_clt_res.Location = new System.Drawing.Point(434, 26);
|
||||
this.tb_clt_res.Name = "tb_clt_res";
|
||||
this.tb_clt_res.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_clt_res.TabIndex = 2;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(437, 11);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(69, 12);
|
||||
this.label7.TabIndex = 1;
|
||||
this.label7.Text = "거래처 결과";
|
||||
//
|
||||
// tb_clt2
|
||||
//
|
||||
this.tb_clt2.Location = new System.Drawing.Point(227, 26);
|
||||
this.tb_clt2.Name = "tb_clt2";
|
||||
this.tb_clt2.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_clt2.TabIndex = 2;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(225, 11);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(41, 12);
|
||||
this.label8.TabIndex = 1;
|
||||
this.label8.Text = "거래처";
|
||||
//
|
||||
// tb_clt1
|
||||
//
|
||||
this.tb_clt1.Location = new System.Drawing.Point(21, 26);
|
||||
this.tb_clt1.Name = "tb_clt1";
|
||||
this.tb_clt1.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_clt1.TabIndex = 2;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(19, 11);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(41, 12);
|
||||
this.label9.TabIndex = 1;
|
||||
this.label9.Text = "거래처";
|
||||
//
|
||||
// panel6
|
||||
//
|
||||
this.panel6.Controls.Add(this.rbtn4_2);
|
||||
this.panel6.Controls.Add(this.rbtn4_1);
|
||||
this.panel6.Controls.Add(this.tb_user_res);
|
||||
this.panel6.Controls.Add(this.label10);
|
||||
this.panel6.Controls.Add(this.tb_user2);
|
||||
this.panel6.Controls.Add(this.label11);
|
||||
this.panel6.Controls.Add(this.tb_user1);
|
||||
this.panel6.Controls.Add(this.label12);
|
||||
this.panel6.Location = new System.Drawing.Point(10, 209);
|
||||
this.panel6.Name = "panel6";
|
||||
this.panel6.Size = new System.Drawing.Size(600, 59);
|
||||
this.panel6.TabIndex = 0;
|
||||
//
|
||||
// rbtn4_2
|
||||
//
|
||||
this.rbtn4_2.AutoSize = true;
|
||||
this.rbtn4_2.Location = new System.Drawing.Point(327, 7);
|
||||
this.rbtn4_2.Name = "rbtn4_2";
|
||||
this.rbtn4_2.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn4_2.TabIndex = 3;
|
||||
this.rbtn4_2.TabStop = true;
|
||||
this.rbtn4_2.Text = "변경";
|
||||
this.rbtn4_2.UseVisualStyleBackColor = true;
|
||||
this.rbtn4_2.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// rbtn4_1
|
||||
//
|
||||
this.rbtn4_1.AutoSize = true;
|
||||
this.rbtn4_1.Location = new System.Drawing.Point(123, 7);
|
||||
this.rbtn4_1.Name = "rbtn4_1";
|
||||
this.rbtn4_1.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn4_1.TabIndex = 3;
|
||||
this.rbtn4_1.TabStop = true;
|
||||
this.rbtn4_1.Text = "변경";
|
||||
this.rbtn4_1.UseVisualStyleBackColor = true;
|
||||
this.rbtn4_1.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// tb_user_res
|
||||
//
|
||||
this.tb_user_res.Location = new System.Drawing.Point(434, 26);
|
||||
this.tb_user_res.Name = "tb_user_res";
|
||||
this.tb_user_res.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_user_res.TabIndex = 2;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(437, 11);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(69, 12);
|
||||
this.label10.TabIndex = 1;
|
||||
this.label10.Text = "담당자 결과";
|
||||
//
|
||||
// tb_user2
|
||||
//
|
||||
this.tb_user2.Location = new System.Drawing.Point(227, 26);
|
||||
this.tb_user2.Name = "tb_user2";
|
||||
this.tb_user2.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_user2.TabIndex = 2;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(225, 11);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(41, 12);
|
||||
this.label11.TabIndex = 1;
|
||||
this.label11.Text = "담당자";
|
||||
//
|
||||
// tb_user1
|
||||
//
|
||||
this.tb_user1.Location = new System.Drawing.Point(21, 26);
|
||||
this.tb_user1.Name = "tb_user1";
|
||||
this.tb_user1.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_user1.TabIndex = 2;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(19, 11);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(41, 12);
|
||||
this.label12.TabIndex = 1;
|
||||
this.label12.Text = "담당자";
|
||||
//
|
||||
// panel7
|
||||
//
|
||||
this.panel7.Controls.Add(this.rbtn5_2);
|
||||
this.panel7.Controls.Add(this.rbtn5_1);
|
||||
this.panel7.Controls.Add(this.tb_num_res);
|
||||
this.panel7.Controls.Add(this.label13);
|
||||
this.panel7.Controls.Add(this.tb_num2);
|
||||
this.panel7.Controls.Add(this.label14);
|
||||
this.panel7.Controls.Add(this.tb_num1);
|
||||
this.panel7.Controls.Add(this.label15);
|
||||
this.panel7.Location = new System.Drawing.Point(10, 274);
|
||||
this.panel7.Name = "panel7";
|
||||
this.panel7.Size = new System.Drawing.Size(600, 59);
|
||||
this.panel7.TabIndex = 0;
|
||||
//
|
||||
// rbtn5_2
|
||||
//
|
||||
this.rbtn5_2.AutoSize = true;
|
||||
this.rbtn5_2.Location = new System.Drawing.Point(327, 9);
|
||||
this.rbtn5_2.Name = "rbtn5_2";
|
||||
this.rbtn5_2.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn5_2.TabIndex = 3;
|
||||
this.rbtn5_2.TabStop = true;
|
||||
this.rbtn5_2.Text = "변경";
|
||||
this.rbtn5_2.UseVisualStyleBackColor = true;
|
||||
this.rbtn5_2.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// rbtn5_1
|
||||
//
|
||||
this.rbtn5_1.AutoSize = true;
|
||||
this.rbtn5_1.Location = new System.Drawing.Point(123, 9);
|
||||
this.rbtn5_1.Name = "rbtn5_1";
|
||||
this.rbtn5_1.Size = new System.Drawing.Size(47, 16);
|
||||
this.rbtn5_1.TabIndex = 3;
|
||||
this.rbtn5_1.TabStop = true;
|
||||
this.rbtn5_1.Text = "변경";
|
||||
this.rbtn5_1.UseVisualStyleBackColor = true;
|
||||
this.rbtn5_1.Click += new System.EventHandler(this.rbtn1_2_Click);
|
||||
//
|
||||
// tb_num_res
|
||||
//
|
||||
this.tb_num_res.Location = new System.Drawing.Point(433, 26);
|
||||
this.tb_num_res.Name = "tb_num_res";
|
||||
this.tb_num_res.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_num_res.TabIndex = 2;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(437, 11);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(81, 12);
|
||||
this.label13.TabIndex = 1;
|
||||
this.label13.Text = "목록번호 결과";
|
||||
//
|
||||
// tb_num2
|
||||
//
|
||||
this.tb_num2.Location = new System.Drawing.Point(227, 26);
|
||||
this.tb_num2.Name = "tb_num2";
|
||||
this.tb_num2.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_num2.TabIndex = 2;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(225, 11);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(53, 12);
|
||||
this.label14.TabIndex = 1;
|
||||
this.label14.Text = "목록번호";
|
||||
//
|
||||
// tb_num1
|
||||
//
|
||||
this.tb_num1.Location = new System.Drawing.Point(21, 26);
|
||||
this.tb_num1.Name = "tb_num1";
|
||||
this.tb_num1.Size = new System.Drawing.Size(149, 21);
|
||||
this.tb_num1.TabIndex = 2;
|
||||
//
|
||||
// label15
|
||||
//
|
||||
this.label15.AutoSize = true;
|
||||
this.label15.Location = new System.Drawing.Point(19, 11);
|
||||
this.label15.Name = "label15";
|
||||
this.label15.Size = new System.Drawing.Size(53, 12);
|
||||
this.label15.TabIndex = 1;
|
||||
this.label15.Text = "목록번호";
|
||||
//
|
||||
// chk_keep2
|
||||
//
|
||||
this.chk_keep2.AutoSize = true;
|
||||
this.chk_keep2.Location = new System.Drawing.Point(243, 344);
|
||||
this.chk_keep2.Name = "chk_keep2";
|
||||
this.chk_keep2.Size = new System.Drawing.Size(116, 16);
|
||||
this.chk_keep2.TabIndex = 3;
|
||||
this.chk_keep2.Text = "기존 데이터 유지";
|
||||
this.chk_keep2.UseVisualStyleBackColor = true;
|
||||
this.chk_keep2.Click += new System.EventHandler(this.chk_Keep_data);
|
||||
//
|
||||
// chk_keep1
|
||||
//
|
||||
this.chk_keep1.AutoSize = true;
|
||||
this.chk_keep1.Location = new System.Drawing.Point(37, 344);
|
||||
this.chk_keep1.Name = "chk_keep1";
|
||||
this.chk_keep1.Size = new System.Drawing.Size(116, 16);
|
||||
this.chk_keep1.TabIndex = 3;
|
||||
this.chk_keep1.Text = "기존 데이터 유지";
|
||||
this.chk_keep1.UseVisualStyleBackColor = true;
|
||||
this.chk_keep1.Click += new System.EventHandler(this.chk_Keep_data);
|
||||
//
|
||||
// Commodity_Morge
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(621, 415);
|
||||
this.Controls.Add(this.chk_keep1);
|
||||
this.Controls.Add(this.chk_keep2);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.btn_Cancel);
|
||||
this.Controls.Add(this.btn_OK);
|
||||
this.Controls.Add(this.panel7);
|
||||
this.Controls.Add(this.panel6);
|
||||
this.Controls.Add(this.panel5);
|
||||
this.Controls.Add(this.panel4);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "Commodity_Morge";
|
||||
this.Text = "Commodity_Morge";
|
||||
this.Load += new System.EventHandler(this.Commodity_Morge_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
this.panel6.ResumeLayout(false);
|
||||
this.panel6.PerformLayout();
|
||||
this.panel7.ResumeLayout(false);
|
||||
this.panel7.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.TextBox tb_date1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btn_OK;
|
||||
private System.Windows.Forms.Button btn_Cancel;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.RadioButton rbtn1_2;
|
||||
private System.Windows.Forms.RadioButton rbtn1_1;
|
||||
private System.Windows.Forms.TextBox tb_date_res;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tb_date2;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.RadioButton rbtn2_2;
|
||||
private System.Windows.Forms.RadioButton rbtn2_1;
|
||||
private System.Windows.Forms.TextBox tb_dlv_res;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tb_dlv2;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tb_dlv1;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.RadioButton rbtn3_2;
|
||||
private System.Windows.Forms.RadioButton rbtn3_1;
|
||||
private System.Windows.Forms.TextBox tb_clt_res;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox tb_clt2;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox tb_clt1;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Panel panel6;
|
||||
private System.Windows.Forms.RadioButton rbtn4_2;
|
||||
private System.Windows.Forms.RadioButton rbtn4_1;
|
||||
private System.Windows.Forms.TextBox tb_user_res;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox tb_user2;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.TextBox tb_user1;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Panel panel7;
|
||||
private System.Windows.Forms.RadioButton rbtn5_2;
|
||||
private System.Windows.Forms.RadioButton rbtn5_1;
|
||||
private System.Windows.Forms.TextBox tb_num_res;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.TextBox tb_num2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.TextBox tb_num1;
|
||||
private System.Windows.Forms.Label label15;
|
||||
private System.Windows.Forms.CheckBox chk_keep2;
|
||||
private System.Windows.Forms.CheckBox chk_keep1;
|
||||
}
|
||||
}
|
||||
123
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.cs
Normal file
123
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.cs
Normal file
@@ -0,0 +1,123 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Commodity_Morge : Form
|
||||
{
|
||||
Commodity_registration com;
|
||||
Helper_DB DB = new Helper_DB();
|
||||
bool keep_data1 = true;
|
||||
bool keep_data2 = true;
|
||||
public Commodity_Morge(Commodity_registration _com)
|
||||
{
|
||||
InitializeComponent();
|
||||
com = _com;
|
||||
}
|
||||
|
||||
private void Commodity_Morge_Load(object sender, EventArgs e)
|
||||
{
|
||||
rbtn1_1.Checked = true;
|
||||
rbtn2_1.Checked = true;
|
||||
rbtn3_1.Checked = true;
|
||||
rbtn4_1.Checked = true;
|
||||
rbtn5_1.Checked = true;
|
||||
|
||||
tb_date1.Text = com.dataGridView2.Rows[com.MorgeNum[0]].Cells[0].Value.ToString();
|
||||
tb_clt1.Text = com.dataGridView2.Rows[com.MorgeNum[0]].Cells[1].Value.ToString();
|
||||
tb_dlv1.Text = com.dataGridView2.Rows[com.MorgeNum[0]].Cells[2].Value.ToString();
|
||||
tb_user1.Text = com.dataGridView2.Rows[com.MorgeNum[0]].Cells[3].Value.ToString();
|
||||
tb_num1.Text = com.dataGridView2.Rows[com.MorgeNum[0]].Cells[4].Value.ToString();
|
||||
|
||||
tb_date2.Text = com.dataGridView2.Rows[com.MorgeNum[1]].Cells[0].Value.ToString();
|
||||
tb_clt2.Text = com.dataGridView2.Rows[com.MorgeNum[1]].Cells[1].Value.ToString();
|
||||
tb_dlv2.Text = com.dataGridView2.Rows[com.MorgeNum[1]].Cells[2].Value.ToString();
|
||||
tb_user2.Text = com.dataGridView2.Rows[com.MorgeNum[1]].Cells[3].Value.ToString();
|
||||
tb_num2.Text = com.dataGridView2.Rows[com.MorgeNum[1]].Cells[4].Value.ToString();
|
||||
|
||||
tb_date1.Enabled = false;
|
||||
tb_date2.Enabled = false;
|
||||
tb_clt1.Enabled = false;
|
||||
tb_clt2.Enabled = false;
|
||||
tb_dlv1.Enabled = false;
|
||||
tb_dlv2.Enabled = false;
|
||||
tb_user1.Enabled = false;
|
||||
tb_user2.Enabled = false;
|
||||
tb_num1.Enabled = false;
|
||||
tb_num2.Enabled = false;
|
||||
|
||||
chk_keep1.Checked = true;
|
||||
chk_keep2.Checked = true;
|
||||
|
||||
rbtn1_2_Click(null, null);
|
||||
}
|
||||
private void rbtn1_2_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (rbtn1_1.Checked == true) { tb_date_res.Text = tb_date1.Text; }
|
||||
else { tb_date_res.Text = tb_date2.Text; }
|
||||
|
||||
if (rbtn2_1.Checked == true) { tb_dlv_res.Text = tb_dlv1.Text; }
|
||||
else { tb_dlv_res.Text = tb_dlv2.Text; }
|
||||
|
||||
if (rbtn3_1.Checked == true) { tb_clt_res.Text = tb_clt1.Text; }
|
||||
else { tb_clt_res.Text = tb_clt2.Text; }
|
||||
|
||||
if (rbtn4_1.Checked == true) { tb_user_res.Text = tb_user1.Text; }
|
||||
else { tb_user_res.Text = tb_user2.Text; }
|
||||
|
||||
if (rbtn5_1.Checked == true) { tb_num_res.Text = tb_num1.Text; }
|
||||
else { tb_num_res.Text = tb_num2.Text; }
|
||||
}
|
||||
private void btn_Cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
private void btn_OK_Click(object sender, EventArgs e)
|
||||
{
|
||||
DB.DBcon();
|
||||
bool create = false;
|
||||
string cmd = "INSERT INTO Obj_List (`comp_num`, `date`, `clt`, `dly`, `charge`, `list_num`) " +
|
||||
"Values (" +
|
||||
"'" + com.comp_idx + "'," +
|
||||
"'" + tb_date_res.Text + "'," +
|
||||
"'" + tb_clt_res.Text + "'," +
|
||||
"'" + tb_dlv_res.Text + "'," +
|
||||
"'" + tb_user_res.Text + "'," +
|
||||
"'" + tb_num_res.Text + "');";
|
||||
if (keep_data1 == false) { DB.DB_Delete("Obj_List", "comp_num", com.comp_idx, "dly", tb_dlv1.Text); }
|
||||
if (keep_data2 == false) { DB.DB_Delete("Obj_List", "comp_num", com.comp_idx, "dly", tb_dlv2.Text); }
|
||||
if (tb_dlv_res.Text == "")
|
||||
{
|
||||
create = false;
|
||||
MessageBox.Show("납품목록의 이름을 변경해주세요.");
|
||||
}
|
||||
else if(tb_dlv_res.Text == tb_dlv1.Text || tb_dlv_res.Text == tb_dlv2.Text)
|
||||
{
|
||||
create = false;
|
||||
MessageBox.Show("납품목록의 이름이 중복되지않게 변경해주세요.");
|
||||
}
|
||||
else { create = true; }
|
||||
if (create == true) {
|
||||
DB.self_Made_Cmd(cmd);
|
||||
}
|
||||
}
|
||||
private void chk_Keep_data(object sender, EventArgs e)
|
||||
{
|
||||
if(((CheckBox)sender).Name == "chk_keep1" && ((CheckBox)sender).Checked == false)
|
||||
{ keep_data1 = false; }
|
||||
else if(((CheckBox)sender).Name == "chk_keep1" && ((CheckBox)sender).Checked == true)
|
||||
{ keep_data1 = true; }
|
||||
if(((CheckBox)sender).Name == "chk_keep2" && ((CheckBox)sender).Checked == false)
|
||||
{ keep_data2 = false; }
|
||||
else if(((CheckBox)sender).Name == "chk_keep2" && ((CheckBox)sender).Checked == true)
|
||||
{ keep_data2 = true; }
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.resx
Normal file
120
unimarc/WindowsFormsApp1/납품관리/Commodity_Morge.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>
|
||||
125
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.Designer.cs
generated
Normal file
125
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.Designer.cs
generated
Normal file
@@ -0,0 +1,125 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Commodity_Search
|
||||
{
|
||||
/// <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.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
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.Column1,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.Column5});
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(563, 242);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "업체명";
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.ReadOnly = true;
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "대표";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.ReadOnly = true;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "번호";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.ReadOnly = true;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "담당자";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.ReadOnly = true;
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
this.Column5.HeaderText = "담당자 번호";
|
||||
this.Column5.Name = "Column5";
|
||||
this.Column5.ReadOnly = true;
|
||||
//
|
||||
// Commodity_Search
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(563, 242);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Name = "Commodity_Search";
|
||||
this.Text = "Commodity_Sub";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Commodity_Search_FormClosed);
|
||||
this.Load += new System.EventHandler(this.Commodity_Sub_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
}
|
||||
}
|
||||
92
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.cs
Normal file
92
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.cs
Normal file
@@ -0,0 +1,92 @@
|
||||
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.Home;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Commodity_Search : Form
|
||||
{
|
||||
public string Clinet_name { get; internal set; } // 거래처 텍스트박스 내용
|
||||
Commodity_registration com;
|
||||
Commodity_Edit edit;
|
||||
Purchase pur;
|
||||
public Commodity_Search(Purchase _pur)
|
||||
{
|
||||
InitializeComponent();
|
||||
pur = _pur;
|
||||
}
|
||||
public Commodity_Search(Commodity_Edit _edit)
|
||||
{
|
||||
InitializeComponent();
|
||||
edit = _edit;
|
||||
}
|
||||
public Commodity_Search(Commodity_registration _com)
|
||||
{
|
||||
InitializeComponent();
|
||||
com = _com;
|
||||
}
|
||||
private void Commodity_Sub_Load(object sender, EventArgs e)
|
||||
{
|
||||
string compidx = "";
|
||||
if (edit != null) { edit.New_Clit.Text = ""; compidx = edit.compidx; }
|
||||
if (com != null) { com.tb_clt1.Text = ""; compidx = com.comp_idx; }
|
||||
if (pur != null) { pur.tb_clt.Text = ""; compidx = pur.compidx; }
|
||||
Helper_DB db = new Helper_DB();
|
||||
db.DBcon();
|
||||
string dbcon = db.DB_Contains("Client", compidx, "c_sangho", Clinet_name);
|
||||
string[] res = dbcon.Split('|');
|
||||
int cout = 0;
|
||||
for (int a = 0; a < res.Length/8; a++) { dataGridView1.Rows.Add(); }
|
||||
for(int a = 0; a < res.Length; a++)
|
||||
{
|
||||
if (a % 24 == 1) { dataGridView1.Rows[cout].Cells[0].Value = res[a]; }
|
||||
else if (a % 24 == 2) { dataGridView1.Rows[cout].Cells[1].Value = res[a]; }
|
||||
else if (a % 24 == 8) { dataGridView1.Rows[cout].Cells[2].Value = res[a]; }
|
||||
else if (a % 24 == 12) { dataGridView1.Rows[cout].Cells[3].Value = res[a]; }
|
||||
else if (a % 24 == 13) { dataGridView1.Rows[cout].Cells[4].Value = res[a]; cout++; }
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
string value = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
|
||||
if (edit != null) { edit.New_Clit.Text = value; }
|
||||
if (com != null) { com.tb_clt1.Text = value; }
|
||||
if (pur != null) { pur.tb_clt.Text = value; }
|
||||
Close();
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
int gridIdx = dataGridView1.CurrentRow.Index;
|
||||
string value = "";
|
||||
if (dataGridView1.Rows[gridIdx].Cells[0].Value != null)
|
||||
{
|
||||
value = dataGridView1.Rows[gridIdx].Cells[0].Value.ToString();
|
||||
}
|
||||
else { value = ""; }
|
||||
if (edit != null) { edit.New_Clit.Text = value; }
|
||||
if (com != null) { com.tb_clt1.Text = value; }
|
||||
if (pur != null) { pur.tb_clt.Text = value; }
|
||||
Close();
|
||||
}
|
||||
if(e.KeyCode == Keys.Escape)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
||||
private void Commodity_Search_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
if (pur != null) {
|
||||
pur.Made_Grid(pur.tb_clt.Text, pur.tb_clt.Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
135
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.resx
Normal file
135
unimarc/WindowsFormsApp1/납품관리/Commodity_Search.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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
897
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.Designer.cs
generated
Normal file
897
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.Designer.cs
generated
Normal file
@@ -0,0 +1,897 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Commodity_registration
|
||||
{
|
||||
/// <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();
|
||||
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();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.tb_FilePath = new System.Windows.Forms.TextBox();
|
||||
this.btn_FileOpen = new System.Windows.Forms.Button();
|
||||
this.start_date = new System.Windows.Forms.DateTimePicker();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tb_dvy1 = new System.Windows.Forms.TextBox();
|
||||
this.tb_clt1 = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tb_UserName = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tb_ListNum = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.tb_dvy_method = new System.Windows.Forms.TextBox();
|
||||
this.tb_Work_method = new System.Windows.Forms.TextBox();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.end_date = new System.Windows.Forms.DateTimePicker();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.btn_Exit = new System.Windows.Forms.Button();
|
||||
this.btn_Save = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Column22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.dataGridView2 = new System.Windows.Forms.DataGridView();
|
||||
this.btn_morge = new System.Windows.Forms.Button();
|
||||
this.btn_Edit = new System.Windows.Forms.Button();
|
||||
this.btn_Del = new System.Windows.Forms.Button();
|
||||
this.btn_Complet = new System.Windows.Forms.Button();
|
||||
this.btn_ing = new System.Windows.Forms.Button();
|
||||
this.button7 = new System.Windows.Forms.Button();
|
||||
this.btn_lockup = new System.Windows.Forms.Button();
|
||||
this.tb_dvy2 = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.tb_clt2 = new System.Windows.Forms.TextBox();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.tb_user2 = new System.Windows.Forms.TextBox();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.rbtn_marc = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn_div = new System.Windows.Forms.RadioButton();
|
||||
this.rbtn_all = new System.Windows.Forms.RadioButton();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column20 = new System.Windows.Forms.DataGridViewButtonColumn();
|
||||
this.chk_marc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Del_Check = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(18, 17);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "읽기";
|
||||
//
|
||||
// tb_FilePath
|
||||
//
|
||||
this.tb_FilePath.Location = new System.Drawing.Point(49, 13);
|
||||
this.tb_FilePath.Name = "tb_FilePath";
|
||||
this.tb_FilePath.Size = new System.Drawing.Size(150, 21);
|
||||
this.tb_FilePath.TabIndex = 2;
|
||||
//
|
||||
// btn_FileOpen
|
||||
//
|
||||
this.btn_FileOpen.Location = new System.Drawing.Point(151, 45);
|
||||
this.btn_FileOpen.Name = "btn_FileOpen";
|
||||
this.btn_FileOpen.Size = new System.Drawing.Size(48, 23);
|
||||
this.btn_FileOpen.TabIndex = 3;
|
||||
this.btn_FileOpen.Text = "열 기";
|
||||
this.btn_FileOpen.UseVisualStyleBackColor = true;
|
||||
this.btn_FileOpen.Click += new System.EventHandler(this.btn_FileOpen_Click);
|
||||
//
|
||||
// start_date
|
||||
//
|
||||
this.start_date.CustomFormat = "yyyy-MM-dd";
|
||||
this.start_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.start_date.Location = new System.Drawing.Point(264, 13);
|
||||
this.start_date.Name = "start_date";
|
||||
this.start_date.Size = new System.Drawing.Size(98, 21);
|
||||
this.start_date.TabIndex = 5;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(211, 17);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "목록일자";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(369, 17);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||
this.label3.TabIndex = 7;
|
||||
this.label3.Text = "납품목록";
|
||||
//
|
||||
// tb_dvy1
|
||||
//
|
||||
this.tb_dvy1.Location = new System.Drawing.Point(421, 13);
|
||||
this.tb_dvy1.Name = "tb_dvy1";
|
||||
this.tb_dvy1.Size = new System.Drawing.Size(98, 21);
|
||||
this.tb_dvy1.TabIndex = 8;
|
||||
//
|
||||
// tb_clt1
|
||||
//
|
||||
this.tb_clt1.Location = new System.Drawing.Point(565, 13);
|
||||
this.tb_clt1.Name = "tb_clt1";
|
||||
this.tb_clt1.Size = new System.Drawing.Size(98, 21);
|
||||
this.tb_clt1.TabIndex = 10;
|
||||
this.tb_clt1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_clt1_KeyDown);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(523, 17);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(41, 12);
|
||||
this.label4.TabIndex = 9;
|
||||
this.label4.Text = "거래처";
|
||||
//
|
||||
// tb_UserName
|
||||
//
|
||||
this.tb_UserName.Location = new System.Drawing.Point(720, 13);
|
||||
this.tb_UserName.Name = "tb_UserName";
|
||||
this.tb_UserName.Size = new System.Drawing.Size(98, 21);
|
||||
this.tb_UserName.TabIndex = 12;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(677, 17);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(41, 12);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "담당자";
|
||||
//
|
||||
// tb_ListNum
|
||||
//
|
||||
this.tb_ListNum.Location = new System.Drawing.Point(861, 13);
|
||||
this.tb_ListNum.Name = "tb_ListNum";
|
||||
this.tb_ListNum.Size = new System.Drawing.Size(98, 21);
|
||||
this.tb_ListNum.TabIndex = 14;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(832, 11);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(29, 24);
|
||||
this.label6.TabIndex = 13;
|
||||
this.label6.Text = "목록\n번호";
|
||||
//
|
||||
// tb_dvy_method
|
||||
//
|
||||
this.tb_dvy_method.Location = new System.Drawing.Point(663, 46);
|
||||
this.tb_dvy_method.Name = "tb_dvy_method";
|
||||
this.tb_dvy_method.Size = new System.Drawing.Size(114, 21);
|
||||
this.tb_dvy_method.TabIndex = 21;
|
||||
//
|
||||
// tb_Work_method
|
||||
//
|
||||
this.tb_Work_method.Location = new System.Drawing.Point(412, 46);
|
||||
this.tb_Work_method.Name = "tb_Work_method";
|
||||
this.tb_Work_method.Size = new System.Drawing.Size(210, 21);
|
||||
this.tb_Work_method.TabIndex = 19;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(211, 50);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(53, 12);
|
||||
this.label9.TabIndex = 17;
|
||||
this.label9.Text = "완료일자";
|
||||
//
|
||||
// end_date
|
||||
//
|
||||
this.end_date.Checked = false;
|
||||
this.end_date.CustomFormat = "yyyy-MM-dd";
|
||||
this.end_date.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.end_date.Location = new System.Drawing.Point(264, 46);
|
||||
this.end_date.Name = "end_date";
|
||||
this.end_date.ShowCheckBox = true;
|
||||
this.end_date.Size = new System.Drawing.Size(99, 21);
|
||||
this.end_date.TabIndex = 16;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(377, 44);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(29, 24);
|
||||
this.label10.TabIndex = 22;
|
||||
this.label10.Text = "작업\n방법";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(628, 44);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(29, 24);
|
||||
this.label11.TabIndex = 23;
|
||||
this.label11.Text = "배송\n방법";
|
||||
//
|
||||
// btn_Exit
|
||||
//
|
||||
this.btn_Exit.Location = new System.Drawing.Point(1092, 45);
|
||||
this.btn_Exit.Name = "btn_Exit";
|
||||
this.btn_Exit.Size = new System.Drawing.Size(50, 23);
|
||||
this.btn_Exit.TabIndex = 27;
|
||||
this.btn_Exit.Text = "닫 기";
|
||||
this.btn_Exit.UseVisualStyleBackColor = true;
|
||||
this.btn_Exit.Click += new System.EventHandler(this.btn_Exit_Click);
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Location = new System.Drawing.Point(1036, 45);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(50, 23);
|
||||
this.btn_Save.TabIndex = 28;
|
||||
this.btn_Save.Text = "저 장";
|
||||
this.btn_Save.UseVisualStyleBackColor = true;
|
||||
this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
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.DisableResizing;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Column22,
|
||||
this.Column1,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.Column5,
|
||||
this.Column6,
|
||||
this.Column7,
|
||||
this.Column10,
|
||||
this.Column9,
|
||||
this.Column8,
|
||||
this.Column21,
|
||||
this.Column23});
|
||||
this.dataGridView1.Location = new System.Drawing.Point(13, 82);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 20;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1126, 217);
|
||||
this.dataGridView1.TabIndex = 29;
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// Column22
|
||||
//
|
||||
this.Column22.HeaderText = "머리글";
|
||||
this.Column22.Name = "Column22";
|
||||
this.Column22.Width = 50;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "번호";
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.Width = 35;
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "도서명";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.Width = 300;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "저자";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.Width = 130;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "출판사";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.Width = 130;
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
dataGridViewCellStyle2.Format = "C0";
|
||||
dataGridViewCellStyle2.NullValue = null;
|
||||
this.Column5.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.Column5.HeaderText = "수량";
|
||||
this.Column5.Name = "Column5";
|
||||
this.Column5.Width = 35;
|
||||
//
|
||||
// Column6
|
||||
//
|
||||
dataGridViewCellStyle3.Format = "N0";
|
||||
dataGridViewCellStyle3.NullValue = null;
|
||||
this.Column6.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.Column6.HeaderText = "단가";
|
||||
this.Column6.Name = "Column6";
|
||||
this.Column6.Width = 70;
|
||||
//
|
||||
// Column7
|
||||
//
|
||||
dataGridViewCellStyle4.Format = "N0";
|
||||
dataGridViewCellStyle4.NullValue = null;
|
||||
this.Column7.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.Column7.HeaderText = "합계";
|
||||
this.Column7.Name = "Column7";
|
||||
this.Column7.Width = 80;
|
||||
//
|
||||
// Column10
|
||||
//
|
||||
this.Column10.HeaderText = "비고";
|
||||
this.Column10.Name = "Column10";
|
||||
//
|
||||
// Column9
|
||||
//
|
||||
this.Column9.HeaderText = "ISBN13";
|
||||
this.Column9.Name = "Column9";
|
||||
this.Column9.Width = 80;
|
||||
//
|
||||
// Column8
|
||||
//
|
||||
this.Column8.HeaderText = "주문처";
|
||||
this.Column8.Name = "Column8";
|
||||
this.Column8.Width = 50;
|
||||
//
|
||||
// Column21
|
||||
//
|
||||
this.Column21.HeaderText = "상태";
|
||||
this.Column21.Name = "Column21";
|
||||
this.Column21.Visible = false;
|
||||
//
|
||||
// Column23
|
||||
//
|
||||
this.Column23.HeaderText = "검수시간";
|
||||
this.Column23.Name = "Column23";
|
||||
this.Column23.Visible = false;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(14, 17);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(29, 12);
|
||||
this.label7.TabIndex = 1;
|
||||
this.label7.Text = "구분";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.comboBox1);
|
||||
this.panel1.Controls.Add(this.dataGridView2);
|
||||
this.panel1.Controls.Add(this.label7);
|
||||
this.panel1.Controls.Add(this.btn_morge);
|
||||
this.panel1.Controls.Add(this.btn_Edit);
|
||||
this.panel1.Controls.Add(this.btn_Del);
|
||||
this.panel1.Controls.Add(this.btn_Complet);
|
||||
this.panel1.Controls.Add(this.btn_ing);
|
||||
this.panel1.Controls.Add(this.button7);
|
||||
this.panel1.Controls.Add(this.btn_lockup);
|
||||
this.panel1.Controls.Add(this.tb_dvy2);
|
||||
this.panel1.Controls.Add(this.label8);
|
||||
this.panel1.Controls.Add(this.label12);
|
||||
this.panel1.Controls.Add(this.tb_clt2);
|
||||
this.panel1.Controls.Add(this.label13);
|
||||
this.panel1.Controls.Add(this.tb_user2);
|
||||
this.panel1.Location = new System.Drawing.Point(10, 333);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1129, 268);
|
||||
this.panel1.TabIndex = 30;
|
||||
//
|
||||
// comboBox1
|
||||
//
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Location = new System.Drawing.Point(50, 13);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(83, 20);
|
||||
this.comboBox1.TabIndex = 2;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// dataGridView2
|
||||
//
|
||||
this.dataGridView2.AllowUserToAddRows = false;
|
||||
this.dataGridView2.AllowUserToDeleteRows = false;
|
||||
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Column11,
|
||||
this.Column12,
|
||||
this.Column13,
|
||||
this.Column14,
|
||||
this.Column15,
|
||||
this.Column16,
|
||||
this.Column17,
|
||||
this.Column18,
|
||||
this.Column20,
|
||||
this.chk_marc,
|
||||
this.Del_Check});
|
||||
this.dataGridView2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnKeystroke;
|
||||
this.dataGridView2.Location = new System.Drawing.Point(3, 39);
|
||||
this.dataGridView2.Name = "dataGridView2";
|
||||
this.dataGridView2.RowHeadersWidth = 20;
|
||||
this.dataGridView2.RowTemplate.Height = 23;
|
||||
this.dataGridView2.Size = new System.Drawing.Size(1073, 217);
|
||||
this.dataGridView2.TabIndex = 29;
|
||||
this.dataGridView2.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView2_CellClick);
|
||||
//
|
||||
// btn_morge
|
||||
//
|
||||
this.btn_morge.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_morge.Location = new System.Drawing.Point(1039, 12);
|
||||
this.btn_morge.Name = "btn_morge";
|
||||
this.btn_morge.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_morge.TabIndex = 28;
|
||||
this.btn_morge.Text = "병 합";
|
||||
this.btn_morge.UseVisualStyleBackColor = true;
|
||||
this.btn_morge.Click += new System.EventHandler(this.btn_morge_Click);
|
||||
//
|
||||
// btn_Edit
|
||||
//
|
||||
this.btn_Edit.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Edit.Location = new System.Drawing.Point(971, 12);
|
||||
this.btn_Edit.Name = "btn_Edit";
|
||||
this.btn_Edit.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_Edit.TabIndex = 28;
|
||||
this.btn_Edit.Text = "수 정";
|
||||
this.btn_Edit.UseVisualStyleBackColor = true;
|
||||
this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click);
|
||||
//
|
||||
// btn_Del
|
||||
//
|
||||
this.btn_Del.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Del.Location = new System.Drawing.Point(903, 12);
|
||||
this.btn_Del.Name = "btn_Del";
|
||||
this.btn_Del.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_Del.TabIndex = 28;
|
||||
this.btn_Del.Text = "삭 제";
|
||||
this.btn_Del.UseVisualStyleBackColor = true;
|
||||
this.btn_Del.Click += new System.EventHandler(this.btn_Del_Click);
|
||||
//
|
||||
// btn_Complet
|
||||
//
|
||||
this.btn_Complet.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Complet.Location = new System.Drawing.Point(835, 12);
|
||||
this.btn_Complet.Name = "btn_Complet";
|
||||
this.btn_Complet.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_Complet.TabIndex = 28;
|
||||
this.btn_Complet.Text = "완 료";
|
||||
this.btn_Complet.UseVisualStyleBackColor = true;
|
||||
this.btn_Complet.Click += new System.EventHandler(this.btn_Complet_Click);
|
||||
//
|
||||
// btn_ing
|
||||
//
|
||||
this.btn_ing.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_ing.Location = new System.Drawing.Point(767, 12);
|
||||
this.btn_ing.Name = "btn_ing";
|
||||
this.btn_ing.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_ing.TabIndex = 28;
|
||||
this.btn_ing.Text = "진 행";
|
||||
this.btn_ing.UseVisualStyleBackColor = true;
|
||||
this.btn_ing.Click += new System.EventHandler(this.btn_ing_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.button7.Location = new System.Drawing.Point(699, 12);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(62, 23);
|
||||
this.button7.TabIndex = 28;
|
||||
this.button7.Text = "작업내용";
|
||||
this.button7.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_lockup
|
||||
//
|
||||
this.btn_lockup.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_lockup.Location = new System.Drawing.Point(631, 12);
|
||||
this.btn_lockup.Name = "btn_lockup";
|
||||
this.btn_lockup.Size = new System.Drawing.Size(62, 23);
|
||||
this.btn_lockup.TabIndex = 28;
|
||||
this.btn_lockup.Text = "조 회";
|
||||
this.btn_lockup.UseVisualStyleBackColor = true;
|
||||
this.btn_lockup.Click += new System.EventHandler(this.btn_lockup_Click);
|
||||
//
|
||||
// tb_dvy2
|
||||
//
|
||||
this.tb_dvy2.Location = new System.Drawing.Point(189, 13);
|
||||
this.tb_dvy2.Name = "tb_dvy2";
|
||||
this.tb_dvy2.Size = new System.Drawing.Size(115, 21);
|
||||
this.tb_dvy2.TabIndex = 8;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(146, 17);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(41, 12);
|
||||
this.label8.TabIndex = 7;
|
||||
this.label8.Text = "납품처";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(314, 17);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(41, 12);
|
||||
this.label12.TabIndex = 9;
|
||||
this.label12.Text = "거래처";
|
||||
//
|
||||
// tb_clt2
|
||||
//
|
||||
this.tb_clt2.Location = new System.Drawing.Point(356, 13);
|
||||
this.tb_clt2.Name = "tb_clt2";
|
||||
this.tb_clt2.Size = new System.Drawing.Size(115, 21);
|
||||
this.tb_clt2.TabIndex = 10;
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(484, 17);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(41, 12);
|
||||
this.label13.TabIndex = 11;
|
||||
this.label13.Text = "담당자";
|
||||
//
|
||||
// tb_user2
|
||||
//
|
||||
this.tb_user2.Location = new System.Drawing.Point(527, 13);
|
||||
this.tb_user2.Name = "tb_user2";
|
||||
this.tb_user2.Size = new System.Drawing.Size(98, 21);
|
||||
this.tb_user2.TabIndex = 12;
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.FileName = "openFileDialog1";
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Location = new System.Drawing.Point(1148, 12);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(333, 589);
|
||||
this.richTextBox1.TabIndex = 32;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Enabled = false;
|
||||
this.button2.Location = new System.Drawing.Point(1001, 12);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(85, 23);
|
||||
this.button2.TabIndex = 15;
|
||||
this.button2.Text = "자동목록번호";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Enabled = false;
|
||||
this.button3.Location = new System.Drawing.Point(1092, 12);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(50, 23);
|
||||
this.button3.TabIndex = 26;
|
||||
this.button3.Text = "신 규";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||||
//
|
||||
// rbtn_marc
|
||||
//
|
||||
this.rbtn_marc.AutoSize = true;
|
||||
this.rbtn_marc.Location = new System.Drawing.Point(72, 4);
|
||||
this.rbtn_marc.Name = "rbtn_marc";
|
||||
this.rbtn_marc.Size = new System.Drawing.Size(59, 16);
|
||||
this.rbtn_marc.TabIndex = 33;
|
||||
this.rbtn_marc.TabStop = true;
|
||||
this.rbtn_marc.Text = "마크만";
|
||||
this.rbtn_marc.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbtn_div
|
||||
//
|
||||
this.rbtn_div.AutoSize = true;
|
||||
this.rbtn_div.Location = new System.Drawing.Point(3, 4);
|
||||
this.rbtn_div.Name = "rbtn_div";
|
||||
this.rbtn_div.Size = new System.Drawing.Size(59, 16);
|
||||
this.rbtn_div.TabIndex = 34;
|
||||
this.rbtn_div.TabStop = true;
|
||||
this.rbtn_div.Text = "납품만";
|
||||
this.rbtn_div.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// rbtn_all
|
||||
//
|
||||
this.rbtn_all.AutoSize = true;
|
||||
this.rbtn_all.Location = new System.Drawing.Point(141, 4);
|
||||
this.rbtn_all.Name = "rbtn_all";
|
||||
this.rbtn_all.Size = new System.Drawing.Size(63, 16);
|
||||
this.rbtn_all.TabIndex = 34;
|
||||
this.rbtn_all.TabStop = true;
|
||||
this.rbtn_all.Text = "양쪽 다";
|
||||
this.rbtn_all.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.rbtn_marc);
|
||||
this.panel2.Controls.Add(this.rbtn_all);
|
||||
this.panel2.Controls.Add(this.rbtn_div);
|
||||
this.panel2.Location = new System.Drawing.Point(821, 43);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(211, 26);
|
||||
this.panel2.TabIndex = 35;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(790, 44);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(29, 24);
|
||||
this.label14.TabIndex = 22;
|
||||
this.label14.Text = "작업\n대상";
|
||||
//
|
||||
// Column11
|
||||
//
|
||||
this.Column11.HeaderText = "목록일자";
|
||||
this.Column11.Name = "Column11";
|
||||
this.Column11.Width = 80;
|
||||
//
|
||||
// Column12
|
||||
//
|
||||
this.Column12.HeaderText = "거래처명";
|
||||
this.Column12.Name = "Column12";
|
||||
this.Column12.Width = 180;
|
||||
//
|
||||
// Column13
|
||||
//
|
||||
this.Column13.HeaderText = "납품목록";
|
||||
this.Column13.Name = "Column13";
|
||||
this.Column13.Width = 180;
|
||||
//
|
||||
// Column14
|
||||
//
|
||||
this.Column14.HeaderText = "담당자";
|
||||
this.Column14.Name = "Column14";
|
||||
//
|
||||
// Column15
|
||||
//
|
||||
this.Column15.HeaderText = "목록번호";
|
||||
this.Column15.Name = "Column15";
|
||||
this.Column15.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
//
|
||||
// Column16
|
||||
//
|
||||
this.Column16.HeaderText = "수량";
|
||||
this.Column16.Name = "Column16";
|
||||
this.Column16.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Column16.Width = 50;
|
||||
//
|
||||
// Column17
|
||||
//
|
||||
dataGridViewCellStyle6.Format = "N0";
|
||||
dataGridViewCellStyle6.NullValue = null;
|
||||
this.Column17.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.Column17.HeaderText = "합계";
|
||||
this.Column17.Name = "Column17";
|
||||
//
|
||||
// Column18
|
||||
//
|
||||
this.Column18.HeaderText = "상태";
|
||||
this.Column18.Name = "Column18";
|
||||
this.Column18.Width = 50;
|
||||
//
|
||||
// Column20
|
||||
//
|
||||
this.Column20.HeaderText = "ISBN조회";
|
||||
this.Column20.Name = "Column20";
|
||||
this.Column20.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Column20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
//
|
||||
// chk_marc
|
||||
//
|
||||
this.chk_marc.HeaderText = "MarcCheck";
|
||||
this.chk_marc.Name = "chk_marc";
|
||||
this.chk_marc.ReadOnly = true;
|
||||
this.chk_marc.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.chk_marc.Visible = false;
|
||||
//
|
||||
// Del_Check
|
||||
//
|
||||
this.Del_Check.HeaderText = "체크";
|
||||
this.Del_Check.Name = "Del_Check";
|
||||
this.Del_Check.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.Del_Check.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
|
||||
this.Del_Check.Width = 40;
|
||||
//
|
||||
// Commodity_registration
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1495, 613);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.richTextBox1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.btn_Save);
|
||||
this.Controls.Add(this.btn_Exit);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.label11);
|
||||
this.Controls.Add(this.label14);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.tb_dvy_method);
|
||||
this.Controls.Add(this.tb_Work_method);
|
||||
this.Controls.Add(this.label9);
|
||||
this.Controls.Add(this.end_date);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.tb_ListNum);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.tb_UserName);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.tb_clt1);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.tb_dvy1);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.start_date);
|
||||
this.Controls.Add(this.btn_FileOpen);
|
||||
this.Controls.Add(this.tb_FilePath);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Commodity_registration";
|
||||
this.Text = "목록등록";
|
||||
this.Load += new System.EventHandler(this.Commodity_registration_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit();
|
||||
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_FilePath;
|
||||
private System.Windows.Forms.Button btn_FileOpen;
|
||||
private System.Windows.Forms.DateTimePicker start_date;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tb_dvy1;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tb_UserName;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tb_ListNum;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox tb_dvy_method;
|
||||
private System.Windows.Forms.TextBox tb_Work_method;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.DateTimePicker end_date;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Button btn_Exit;
|
||||
private System.Windows.Forms.Button btn_Save;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.Button btn_Edit;
|
||||
private System.Windows.Forms.Button btn_Del;
|
||||
private System.Windows.Forms.Button btn_Complet;
|
||||
private System.Windows.Forms.Button btn_ing;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button btn_lockup;
|
||||
private System.Windows.Forms.TextBox tb_dvy2;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.TextBox tb_clt2;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.TextBox tb_user2;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
public System.Windows.Forms.TextBox tb_clt1;
|
||||
private System.Windows.Forms.Button btn_morge;
|
||||
public System.Windows.Forms.DataGridView dataGridView2;
|
||||
public System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column23;
|
||||
private System.Windows.Forms.RadioButton rbtn_marc;
|
||||
private System.Windows.Forms.RadioButton rbtn_div;
|
||||
private System.Windows.Forms.RadioButton rbtn_all;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column15;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column16;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column17;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
|
||||
private System.Windows.Forms.DataGridViewButtonColumn Column20;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chk_marc;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn Del_Check;
|
||||
}
|
||||
}
|
||||
504
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.cs
Normal file
504
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.cs
Normal file
@@ -0,0 +1,504 @@
|
||||
using MySqlX.XDevAPI.Relational;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Commodity_registration : Form
|
||||
{
|
||||
Skill_Grid skill_Grid = new Skill_Grid();
|
||||
Main main;
|
||||
Helper_DB db = new Helper_DB();
|
||||
public string comp_idx;
|
||||
public int EditNumber = 0;
|
||||
public int[] MorgeNum = { 0, 0 };
|
||||
public string User_Data_temp;
|
||||
bool cltchk = false;
|
||||
|
||||
public Commodity_registration(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
private void Commodity_registration_Load(object sender, EventArgs e)
|
||||
{
|
||||
for(int a = 0; a < 9; a++)
|
||||
{
|
||||
dataGridView2.Columns[a].ReadOnly = true;
|
||||
}
|
||||
dataGridView1.CurrentCell = null;
|
||||
db.DBcon();
|
||||
dataGridView1.Rows.Add(10000);
|
||||
string[] combo = { "진행", "완료" };
|
||||
comboBox1.Items.AddRange(combo);
|
||||
comboBox1.SelectedIndex = 0;
|
||||
if (comboBox1.Text == combo[0])
|
||||
{
|
||||
btn_Complet.Enabled = true;
|
||||
btn_ing.Enabled = false;
|
||||
}
|
||||
else if (comboBox1.Text == combo[1])
|
||||
{
|
||||
btn_Complet.Enabled = false;
|
||||
btn_ing.Enabled = true;
|
||||
}
|
||||
User_Data_temp = main.DB_User_Data;
|
||||
string[] User_Data = User_Data_temp.Split('|');
|
||||
comp_idx = main.com_idx;
|
||||
|
||||
tb_UserName.Text = User_Data[3];
|
||||
Add_Grid("진행");
|
||||
}
|
||||
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if ((e.Shift && e.KeyCode == Keys.Insert) || (e.Control && e.KeyCode == Keys.V)) {
|
||||
skill_Grid.Excel_to_DataGridView(sender, e);
|
||||
}
|
||||
else if(e.KeyCode == Keys.Delete) {
|
||||
skill_Grid.DataGrid_to_Delete(sender, e);
|
||||
}
|
||||
}
|
||||
|
||||
private void btn_FileOpen_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openFileDialog1 = new OpenFileDialog();
|
||||
|
||||
openFileDialog1.Filter = "텍스트 파일 (*.txt)|*.txt|모든 파일(*.*)|*.*";
|
||||
String file_path = null;
|
||||
string file_con = null;
|
||||
openFileDialog1.InitialDirectory = "C:\\Users\\Administrator\\Desktop"; // 시작위치 "바탕화면"
|
||||
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
// 선택된 파일의 풀 경로를 불러와 저장
|
||||
file_path = openFileDialog1.FileName;
|
||||
// 경로를 텍스트박스에 출력
|
||||
tb_FilePath.Text = file_path.Split('\\')[file_path.Split('\\').Length-1];
|
||||
}
|
||||
if (File.Exists(file_path))
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(file_path, Encoding.UTF8))
|
||||
{
|
||||
// 불러온 파일의 내용을 표에 적용
|
||||
string[] Cell_result = null;
|
||||
string[] collumn_result;
|
||||
file_con = sr.ReadToEnd();
|
||||
Cell_result = file_con.Split('\n');
|
||||
for(int a = 0; a < Cell_result.Length; a++)
|
||||
{
|
||||
collumn_result = Cell_result[a].Split('\t');
|
||||
richTextBox1.Text += Cell_result[a] + "\n";
|
||||
for(int b = 0; b < collumn_result.Length; b++)
|
||||
{
|
||||
dataGridView1.Rows[a].Cells[b].Value = collumn_result[b];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("읽을 파일이 없습니다.", "에러", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 라디오박스 체크. 납품:0 / 마크:1 / 양쪽 다:2 / 선택x:-1
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private int chk_Save_DB()
|
||||
{
|
||||
if(rbtn_div.Checked == true) { return 0; }
|
||||
if(rbtn_marc.Checked == true) { return 1; }
|
||||
if (rbtn_all.Checked == true) { return 2; }
|
||||
return -1;
|
||||
}
|
||||
/// <summary>
|
||||
/// 표 내용 저장전 검수가 들어감
|
||||
/// 검수 내용
|
||||
/// 수량 * 단가 = 합계
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(cltchk == false || tb_clt1.Text=="") { MessageBox.Show("거래처를 확인해주세요."); return; }
|
||||
if (chk_Save_DB() == -1) { MessageBox.Show("작업 대상을 선택해 주세요."); return; }
|
||||
if (db.DB_Select_Search("name", "User_Data", "name", tb_UserName.Text) == "")
|
||||
{ MessageBox.Show("담당자를 확인해주세요."); return; }
|
||||
if (db.DB_Search("Obj_List", "list_name", "[" + tb_clt1.Text + "]" + tb_dvy1.Text, "comp_num", comp_idx) != "")
|
||||
{ MessageBox.Show("DB의 납품목록과 중복됩니다."); return; }
|
||||
bool MsgOk = true;
|
||||
int Marc_ton = chk_Save_DB();
|
||||
int vol, price, total, resVol=0, resTotal=0; // 5, 6, 7
|
||||
string Strvol = "";
|
||||
string Strprice = "";
|
||||
string Strtotal = "";
|
||||
string Strmsg = "";
|
||||
string[] data={ "", "", "", "", "", "", "", "", "", "", "", "ISBN조회", ""};
|
||||
// 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10, 11 , 12
|
||||
string[] add_grid_data = { "", "", "", "", "", "", "", "", "ISBN조회", "" }; // 0-9
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if(dataGridView1.Rows[a].Cells[5].Value == null) { break; }
|
||||
Strvol = dataGridView1.Rows[a].Cells[5].Value.ToString();
|
||||
Strprice = dataGridView1.Rows[a].Cells[6].Value.ToString();
|
||||
Strtotal = dataGridView1.Rows[a].Cells[7].Value.ToString();
|
||||
|
||||
Strvol = Regex.Replace(Strvol, @"[^0-9]", "");
|
||||
Strprice = Regex.Replace(Strprice, @"[^0-9]", "");
|
||||
Strtotal = Regex.Replace(Strtotal, @"[^0-9]", "");
|
||||
|
||||
vol = Convert.ToInt32(Strvol);
|
||||
price = Convert.ToInt32(Strprice);
|
||||
total = Convert.ToInt32(Strtotal);
|
||||
resVol += vol;
|
||||
resTotal += total;
|
||||
if (vol * price != total) {
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Orange;
|
||||
Strmsg += dataGridView1.Rows[a].Cells[1].Value.ToString()+", ";
|
||||
MsgOk = false;
|
||||
}
|
||||
}
|
||||
if (MsgOk == false) {
|
||||
MessageBox.Show(Strmsg + "번째 행의 단가/수량/합계를 확인해 주세요.");
|
||||
}
|
||||
data[0] = start_date.Value.ToString().Substring(0,10);
|
||||
if (end_date.Checked == true) { data[1] = end_date.Value.ToString().Substring(0, 10); }
|
||||
data[2] = "[" + tb_clt1.Text + "]" + tb_dvy1.Text;
|
||||
data[3] = tb_clt1.Text;
|
||||
data[4] = tb_dvy1.Text;
|
||||
data[5] = tb_UserName.Text;
|
||||
data[6] = tb_ListNum.Text;
|
||||
data[7] = resVol.ToString();
|
||||
data[8] = resTotal.ToString();
|
||||
data[9] = "진행";
|
||||
data[12] = Marc_ton.ToString();
|
||||
add_grid_data[0] = data[0];
|
||||
add_grid_data[1] = data[3];
|
||||
add_grid_data[2] = data[4];
|
||||
add_grid_data[3] = data[5];
|
||||
add_grid_data[4] = data[6];
|
||||
add_grid_data[5] = data[7];
|
||||
add_grid_data[6] = data[8];
|
||||
add_grid_data[7] = data[9];
|
||||
add_grid_data[9] = data[12];
|
||||
string[] col_name = {"date", "date_res", "list_name", "clt", "dly",
|
||||
"charge", "list_num", "vol", "total", "state",
|
||||
"chk_marc", "comp_num", "unstock"};
|
||||
string[] setData = { data[0], data[1], data[2], data[3], data[4],
|
||||
data[5], data[6], data[7], data[8], data[9],
|
||||
data[12], main.com_idx, data[7] };
|
||||
|
||||
db.DB_INSERT("Obj_List", col_name, setData);
|
||||
|
||||
if (chk_Save_DB() > 0) { Marc_list_input(data); }
|
||||
|
||||
Grid1_total();
|
||||
dataGridView2.Rows.Add(add_grid_data);
|
||||
GridColorChange();
|
||||
}
|
||||
private void Marc_list_input(string[] data)
|
||||
{
|
||||
string table = "Obj_List_Marc";
|
||||
/* 목록일자, 완료일자, 마크목록명, 목록명, 목록담당자,
|
||||
전체, 미편목 */
|
||||
string[] col_name = { "date", "date_res", "connect_data", "list_name", "charge",
|
||||
"total", "unflatter", "compidx", "state" };
|
||||
string[] setData = { data[0], data[1], data[2], data[2], data[5],
|
||||
data[8], data[8], main.com_idx, data[9] };
|
||||
db.DB_INSERT(table, col_name, setData);
|
||||
}
|
||||
private void btn_Exit_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
private void tb_clt1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Commodity_Search sub = new Commodity_Search(this);
|
||||
sub.Clinet_name = tb_clt1.Text;
|
||||
cltchk = true;
|
||||
sub.Show();
|
||||
}
|
||||
}
|
||||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBox1.Text == "진행")
|
||||
{
|
||||
btn_Complet.Enabled = true;
|
||||
btn_ing.Enabled = false;
|
||||
}
|
||||
else if (comboBox1.Text == "완료")
|
||||
{
|
||||
btn_Complet.Enabled = false;
|
||||
btn_ing.Enabled = true;
|
||||
}
|
||||
}
|
||||
private void btn_Del_Click(object sender, EventArgs e)
|
||||
{
|
||||
int cout = 0;
|
||||
int delcout = 0;
|
||||
if(MessageBox.Show("정말 삭제하시겠습니까?\n삭제는 1개씩입니다.", "Danger!!!", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
for(int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
if(cout == 0) { delcout = a; cout++; }
|
||||
else { MessageBox.Show("체크가 2개이상 되어있습니다!"); cout++; break; }
|
||||
}
|
||||
}
|
||||
richTextBox1.Text = delcout.ToString();
|
||||
if(cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
|
||||
else if(cout == 1)
|
||||
{
|
||||
string deldata = dataGridView2.Rows[delcout].Cells[2].Value.ToString();
|
||||
db.DB_Delete("Obj_List", "comp_num", main.com_idx,
|
||||
"dly", deldata);
|
||||
dataGridView2.Rows.Remove(dataGridView2.Rows[delcout]);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_Edit_Click(object sender, EventArgs e)
|
||||
{
|
||||
int cout = 0;
|
||||
for (int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
if (cout == 0) { EditNumber = a; cout++; }
|
||||
else if (cout != 0) { MessageBox.Show("체크가 2개이상 되어있습니다!"); cout++; break; }
|
||||
}
|
||||
}
|
||||
if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
|
||||
if (cout == 1)
|
||||
{
|
||||
Commodity_Edit edit = new Commodity_Edit(this);
|
||||
edit.Show();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 데이터 그리드뷰2에 값을 추가해주는 함수.
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
private void Add_Grid(string code)
|
||||
{
|
||||
dataGridView2.Rows.Clear();
|
||||
string getdata = "`date`, `clt`, `dly`, `charge`, `list_num`, " +
|
||||
"`vol`, `total`, `state`, `chk_marc`";
|
||||
string[] othertalbe = { "comp_num", "state" };
|
||||
string[] othercol = { main.com_idx, code };
|
||||
string dblist = db.More_DB_Search("Obj_List", othertalbe, othercol, getdata);
|
||||
|
||||
string[] obj_list = dblist.Split('|');
|
||||
string[] add_data = { "", "", "", "", "",
|
||||
"", "", "", "ISBN 조회", "" };
|
||||
|
||||
for (int a = 0; a < obj_list.Length; a++)
|
||||
{
|
||||
if (a % 9 == 0) { add_data[0] = obj_list[a]; }
|
||||
if (a % 9 == 1) { add_data[1] = obj_list[a]; }
|
||||
if (a % 9 == 2) { add_data[2] = obj_list[a]; }
|
||||
if (a % 9 == 3) { add_data[3] = obj_list[a]; }
|
||||
if (a % 9 == 4) { add_data[4] = obj_list[a]; }
|
||||
if (a % 9 == 5) { add_data[5] = obj_list[a]; }
|
||||
if (a % 9 == 6) { add_data[6] = obj_list[a]; }
|
||||
if (a % 9 == 7) { add_data[7] = obj_list[a]; }
|
||||
if (a % 9 == 8) { add_data[9] = obj_list[a]; dataGridView2.Rows.Add(add_data); }
|
||||
}
|
||||
GridColorChange();
|
||||
}
|
||||
/// <summary>
|
||||
/// 데이터그리드뷰 색상변경
|
||||
/// </summary>
|
||||
public void GridColorChange()
|
||||
{
|
||||
for (int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
dataGridView2.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
for (int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
string marc_tmp = dataGridView2.Rows[a].Cells["chk_marc"].Value.ToString();
|
||||
int marc = Convert.ToInt32(marc_tmp);
|
||||
if (marc > 1) {
|
||||
dataGridView2.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
//INSERT INTO Obj_List_Book (`compidx`, `list_name`, `header`, `num`, `book_name`, `author`, `book_comp`, `count`, `pay`, `total`, `etc`, `isbn`, `order`)
|
||||
//VALUES("1", "[재채기]수정서점", "머리", "1", "1인기업을 한다는 것", "이치엔 가쓰히코", "센시오", '1', '16000', '16000', '', '', '');
|
||||
private void Grid1_total()
|
||||
{
|
||||
string[] DB_col_name = { "compidx", "list_name", "header", "num", "book_name",
|
||||
"author", "book_comp", "count", "pay", "total",
|
||||
"etc", "isbn", "order" };
|
||||
string[] setData = { comp_idx, "[" + tb_clt1.Text + "]" + tb_dvy1.Text, "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "" };
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells[2].Value == null ||
|
||||
dataGridView1.Rows[a].Cells[2].Value.ToString() == "") { break; }
|
||||
for(int ea = 0; ea < 12; ea++)
|
||||
{
|
||||
if (ea == 11) { break; }
|
||||
if (dataGridView1.Rows[a].Cells[ea].Value == null)
|
||||
{
|
||||
dataGridView1.Rows[a].Cells[ea].Value = "";
|
||||
}
|
||||
setData[ea + 2] = dataGridView1.Rows[a].Cells[ea].Value.ToString();
|
||||
}
|
||||
string mkcmd = "INSERT INTO `Obj_List_Book` (";
|
||||
for(int b = 0; b < DB_col_name.Length; b++)
|
||||
{
|
||||
if (b == DB_col_name.Length - 1)
|
||||
{
|
||||
mkcmd += "`" + DB_col_name[b] + "`) ";
|
||||
}
|
||||
else
|
||||
{
|
||||
mkcmd += "`" + DB_col_name[b] + "`, ";
|
||||
}
|
||||
}
|
||||
mkcmd += "VALUES (";
|
||||
for(int c = 0; c < setData.Length; c++)
|
||||
{
|
||||
if (c == setData.Length - 1)
|
||||
{
|
||||
mkcmd += "\"" + setData[c] + "\");";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (c == 7 || c == 8 || c == 9)
|
||||
{
|
||||
setData[c] = setData[c].Replace(",", "");
|
||||
setData[c] = setData[c].Replace("\r", String.Empty);
|
||||
}
|
||||
mkcmd += "\"" + setData[c] + "\", ";
|
||||
}
|
||||
}
|
||||
db.DB_INSERT("Obj_List_Book", DB_col_name, setData);
|
||||
//db.self_Made_Cmd(mkcmd);
|
||||
richTextBox1.Text = mkcmd;
|
||||
}
|
||||
}
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
private void dataGridView2_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex == 9) // ISBN 조회 (버튼 클릭시 ISBN검수 창으로 넘어가야함)
|
||||
{
|
||||
// TODO: 작업진행예정
|
||||
}
|
||||
}
|
||||
private void btn_morge_Click(object sender, EventArgs e)
|
||||
{
|
||||
int cout = 0;
|
||||
for (int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
if (cout == 0) { MorgeNum[0] = a; cout++; }
|
||||
else if (cout != 0) { MorgeNum[1] = a; cout++; break; }
|
||||
}
|
||||
}
|
||||
if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
|
||||
else if (cout == 1)
|
||||
{
|
||||
MessageBox.Show("체크가 1개밖에 되어있지않습니다.");
|
||||
}
|
||||
else if (cout == 2) {
|
||||
Commodity_Morge morge = new Commodity_Morge(this);
|
||||
morge.Show();
|
||||
richTextBox1.Text = EditNumber.ToString() + "\n";
|
||||
}
|
||||
else if (cout > 2)
|
||||
{
|
||||
MessageBox.Show("체크된 사항이 너무 많습니다!");
|
||||
}
|
||||
}
|
||||
private void btn_ing_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(MessageBox.Show("진행처리 하시겠습니까?", "진행", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
for(int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
dataGridView2.Rows[a].Cells[7].Value = "진행";
|
||||
db.DB_Update("Obj_List", "state", "진행", "dly", dataGridView2.Rows[a].Cells[2].Value.ToString());
|
||||
}
|
||||
}
|
||||
Add_Grid("완료");
|
||||
}
|
||||
}
|
||||
private void btn_Complet_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (MessageBox.Show("완료처리 하시겠습니까?", "완료", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||
{
|
||||
for (int a = 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView2.Rows[a].Cells[11].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
dataGridView2.Rows[a].Cells[7].Value = "완료";
|
||||
db.DB_Update("Obj_List", "state", "완료", "dly", dataGridView2.Rows[a].Cells[2].Value.ToString());
|
||||
}
|
||||
}
|
||||
Add_Grid("진행");
|
||||
}
|
||||
}
|
||||
private void btn_lockup_Click(object sender, EventArgs e)
|
||||
{
|
||||
string cmd = "SELECT " +
|
||||
"`date`,`clt`,`dly`,`charge`,`list_num`," +
|
||||
"`vol`,`total`,`state`,`chk_marc`" +
|
||||
" from Obj_List WHERE " +
|
||||
"`comp_num` = '" + comp_idx + "' ";
|
||||
if(comboBox1.Text == "진행") { cmd += "AND `state` LIKE '%진행%'"; }
|
||||
else if (comboBox1.Text == "완료") { cmd += "AND `state` LIKE '%완료%'"; }
|
||||
if (tb_dvy2.Text != "") { cmd += " AND `dly` LIKE '%" + tb_dvy2.Text + "%'"; }
|
||||
if (tb_clt2.Text != "") { cmd += " AND `clt` LIKE '%" + tb_clt2.Text + "%'"; }
|
||||
if (tb_user2.Text != "") { cmd += " AND `charge` LIKE '%" + tb_user2.Text + "%'"; }
|
||||
cmd += ";";
|
||||
string res_temp = db.self_Made_Cmd(cmd);
|
||||
string[] result = { "", "", "", "", "", "", "", "", "", "ISBN 조회", "" }; // 0-10
|
||||
string[] tmp = res_temp.Split('|');
|
||||
dataGridView2.Rows.Clear();
|
||||
for (int a = 0; a < tmp.Length; a++)
|
||||
{
|
||||
if(a==0 || a % 10 == 0) { result[0] = tmp[a]; }
|
||||
if(a % 10 == 1) { result[1] = tmp[a]; }
|
||||
if(a % 10 == 2) { result[2] = tmp[a]; }
|
||||
if(a % 10 == 3) { result[3] = tmp[a]; }
|
||||
if(a % 10 == 4) { result[4] = tmp[a]; }
|
||||
if(a % 10 == 5) { result[5] = tmp[a]; }
|
||||
if(a % 10 == 6) { result[6] = tmp[a]; }
|
||||
if(a % 10 == 7) { result[7] = tmp[a]; }
|
||||
if(a % 10 == 8) { result[8] = tmp[a]; }
|
||||
if(a % 10 == 9) { result[10] = tmp[a]; dataGridView2.Rows.Add(result); }
|
||||
}
|
||||
GridColorChange();
|
||||
}
|
||||
}
|
||||
}
|
||||
195
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.resx
Normal file
195
unimarc/WindowsFormsApp1/납품관리/Commodity_registration.resx
Normal file
@@ -0,0 +1,195 @@
|
||||
<?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="Column22.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column23.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="chk_marc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Del_Check.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
60
unimarc/WindowsFormsApp1/납품관리/Estimate.Designer.cs
generated
Normal file
60
unimarc/WindowsFormsApp1/납품관리/Estimate.Designer.cs
generated
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Estimate
|
||||
{
|
||||
/// <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.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(347, 219);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(95, 12);
|
||||
this.label1.TabIndex = 3;
|
||||
this.label1.Text = "납품관리_견적서";
|
||||
//
|
||||
// Estimate
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Estimate";
|
||||
this.Text = "Estimate";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
||||
22
unimarc/WindowsFormsApp1/납품관리/Estimate.cs
Normal file
22
unimarc/WindowsFormsApp1/납품관리/Estimate.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Estimate : Form
|
||||
{
|
||||
Main main;
|
||||
public Estimate(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/WindowsFormsApp1/납품관리/Estimate.resx
Normal file
120
unimarc/WindowsFormsApp1/납품관리/Estimate.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>
|
||||
396
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.Designer.cs
generated
Normal file
396
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.Designer.cs
generated
Normal file
@@ -0,0 +1,396 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Input_Lookup_Stock
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.tb_isbn = new System.Windows.Forms.TextBox();
|
||||
this.tb_book_name = new System.Windows.Forms.TextBox();
|
||||
this.tb_author = new System.Windows.Forms.TextBox();
|
||||
this.tb_book_comp = new System.Windows.Forms.TextBox();
|
||||
this.tb_pay = new System.Windows.Forms.TextBox();
|
||||
this.tb_order = new System.Windows.Forms.TextBox();
|
||||
this.tb_count = new System.Windows.Forms.TextBox();
|
||||
this.btn_Lookup = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.btn_Save = new System.Windows.Forms.Button();
|
||||
this.btn_Close = new System.Windows.Forms.Button();
|
||||
this.btn_Add = new System.Windows.Forms.Button();
|
||||
this.btn_Edit = new System.Windows.Forms.Button();
|
||||
this.btn_list_in_stock = new System.Windows.Forms.Button();
|
||||
this.ISBN = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Order_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(20, 40);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(33, 12);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "ISBN";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(20, 13);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "도서명";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(20, 67);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(29, 12);
|
||||
this.label3.TabIndex = 6;
|
||||
this.label3.Text = "저자";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(20, 94);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(53, 12);
|
||||
this.label4.TabIndex = 7;
|
||||
this.label4.Text = "매입처명";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(305, 40);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(41, 12);
|
||||
this.label5.TabIndex = 8;
|
||||
this.label5.Text = "출판사";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(311, 67);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(29, 12);
|
||||
this.label8.TabIndex = 11;
|
||||
this.label8.Text = "정가";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(311, 94);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(29, 12);
|
||||
this.label10.TabIndex = 13;
|
||||
this.label10.Text = "수량";
|
||||
//
|
||||
// tb_isbn
|
||||
//
|
||||
this.tb_isbn.Location = new System.Drawing.Point(84, 36);
|
||||
this.tb_isbn.Name = "tb_isbn";
|
||||
this.tb_isbn.Size = new System.Drawing.Size(201, 21);
|
||||
this.tb_isbn.TabIndex = 1;
|
||||
//
|
||||
// tb_book_name
|
||||
//
|
||||
this.tb_book_name.Location = new System.Drawing.Point(84, 9);
|
||||
this.tb_book_name.Name = "tb_book_name";
|
||||
this.tb_book_name.Size = new System.Drawing.Size(469, 21);
|
||||
this.tb_book_name.TabIndex = 0;
|
||||
//
|
||||
// tb_author
|
||||
//
|
||||
this.tb_author.Location = new System.Drawing.Point(84, 63);
|
||||
this.tb_author.Name = "tb_author";
|
||||
this.tb_author.Size = new System.Drawing.Size(201, 21);
|
||||
this.tb_author.TabIndex = 3;
|
||||
//
|
||||
// tb_book_comp
|
||||
//
|
||||
this.tb_book_comp.Location = new System.Drawing.Point(352, 36);
|
||||
this.tb_book_comp.Name = "tb_book_comp";
|
||||
this.tb_book_comp.Size = new System.Drawing.Size(201, 21);
|
||||
this.tb_book_comp.TabIndex = 2;
|
||||
//
|
||||
// tb_pay
|
||||
//
|
||||
this.tb_pay.Location = new System.Drawing.Point(352, 63);
|
||||
this.tb_pay.Name = "tb_pay";
|
||||
this.tb_pay.Size = new System.Drawing.Size(201, 21);
|
||||
this.tb_pay.TabIndex = 4;
|
||||
//
|
||||
// tb_order
|
||||
//
|
||||
this.tb_order.Location = new System.Drawing.Point(84, 90);
|
||||
this.tb_order.Name = "tb_order";
|
||||
this.tb_order.Size = new System.Drawing.Size(201, 21);
|
||||
this.tb_order.TabIndex = 5;
|
||||
//
|
||||
// tb_count
|
||||
//
|
||||
this.tb_count.Location = new System.Drawing.Point(352, 90);
|
||||
this.tb_count.Name = "tb_count";
|
||||
this.tb_count.Size = new System.Drawing.Size(64, 21);
|
||||
this.tb_count.TabIndex = 7;
|
||||
//
|
||||
// btn_Lookup
|
||||
//
|
||||
this.btn_Lookup.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(653, 9);
|
||||
this.btn_Lookup.Name = "btn_Lookup";
|
||||
this.btn_Lookup.Size = new System.Drawing.Size(89, 28);
|
||||
this.btn_Lookup.TabIndex = 8;
|
||||
this.btn_Lookup.Text = "조 회";
|
||||
this.btn_Lookup.UseVisualStyleBackColor = true;
|
||||
this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click);
|
||||
//
|
||||
// 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.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.ISBN,
|
||||
this.book_name,
|
||||
this.author,
|
||||
this.book_comp,
|
||||
this.pay,
|
||||
this.count,
|
||||
this.order,
|
||||
this.Order_date});
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(13, 117);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.ReadOnly = true;
|
||||
this.dataGridView1.RowHeadersWidth = 21;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle2;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(954, 303);
|
||||
this.dataGridView1.TabIndex = 13;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// btn_Save
|
||||
//
|
||||
this.btn_Save.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Save.Location = new System.Drawing.Point(838, 9);
|
||||
this.btn_Save.Name = "btn_Save";
|
||||
this.btn_Save.Size = new System.Drawing.Size(89, 28);
|
||||
this.btn_Save.TabIndex = 10;
|
||||
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.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Close.Location = new System.Drawing.Point(838, 41);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(89, 28);
|
||||
this.btn_Close.TabIndex = 12;
|
||||
this.btn_Close.Text = "닫 기";
|
||||
this.btn_Close.UseVisualStyleBackColor = true;
|
||||
this.btn_Close.Click += new System.EventHandler(this.btn_Close_Click);
|
||||
//
|
||||
// btn_Add
|
||||
//
|
||||
this.btn_Add.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Add.Location = new System.Drawing.Point(746, 9);
|
||||
this.btn_Add.Name = "btn_Add";
|
||||
this.btn_Add.Size = new System.Drawing.Size(89, 28);
|
||||
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.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_Edit.Location = new System.Drawing.Point(653, 41);
|
||||
this.btn_Edit.Name = "btn_Edit";
|
||||
this.btn_Edit.Size = new System.Drawing.Size(89, 28);
|
||||
this.btn_Edit.TabIndex = 11;
|
||||
this.btn_Edit.Text = "수 정";
|
||||
this.btn_Edit.UseVisualStyleBackColor = true;
|
||||
this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click);
|
||||
//
|
||||
// btn_list_in_stock
|
||||
//
|
||||
this.btn_list_in_stock.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btn_list_in_stock.Location = new System.Drawing.Point(746, 41);
|
||||
this.btn_list_in_stock.Name = "btn_list_in_stock";
|
||||
this.btn_list_in_stock.Size = new System.Drawing.Size(89, 28);
|
||||
this.btn_list_in_stock.TabIndex = 14;
|
||||
this.btn_list_in_stock.Text = "목록 내 조회";
|
||||
this.btn_list_in_stock.UseVisualStyleBackColor = true;
|
||||
this.btn_list_in_stock.Click += new System.EventHandler(this.btn_list_in_stock_Click);
|
||||
//
|
||||
// ISBN
|
||||
//
|
||||
this.ISBN.HeaderText = "ISBN";
|
||||
this.ISBN.Name = "ISBN";
|
||||
this.ISBN.ReadOnly = true;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.ReadOnly = true;
|
||||
this.book_name.Width = 250;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
this.author.ReadOnly = true;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
this.book_comp.ReadOnly = true;
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.HeaderText = "정가";
|
||||
this.pay.Name = "pay";
|
||||
this.pay.ReadOnly = true;
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.HeaderText = "수량";
|
||||
this.count.Name = "count";
|
||||
this.count.ReadOnly = true;
|
||||
this.count.Width = 60;
|
||||
//
|
||||
// order
|
||||
//
|
||||
this.order.HeaderText = "매입처명";
|
||||
this.order.Name = "order";
|
||||
this.order.ReadOnly = true;
|
||||
//
|
||||
// Order_date
|
||||
//
|
||||
this.Order_date.HeaderText = "주문일자";
|
||||
this.Order_date.Name = "Order_date";
|
||||
this.Order_date.ReadOnly = true;
|
||||
//
|
||||
// Input_Lookup_Stock
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1040, 433);
|
||||
this.Controls.Add(this.btn_list_in_stock);
|
||||
this.Controls.Add(this.btn_Edit);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.btn_Close);
|
||||
this.Controls.Add(this.btn_Add);
|
||||
this.Controls.Add(this.btn_Save);
|
||||
this.Controls.Add(this.btn_Lookup);
|
||||
this.Controls.Add(this.tb_count);
|
||||
this.Controls.Add(this.tb_order);
|
||||
this.Controls.Add(this.tb_pay);
|
||||
this.Controls.Add(this.tb_book_comp);
|
||||
this.Controls.Add(this.tb_author);
|
||||
this.Controls.Add(this.tb_book_name);
|
||||
this.Controls.Add(this.tb_isbn);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.label8);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Input_Lookup_Stock";
|
||||
this.Text = "재고입력 및 조회";
|
||||
this.Load += new System.EventHandler(this.Input_Lookup_Stock_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox tb_isbn;
|
||||
private System.Windows.Forms.TextBox tb_book_name;
|
||||
private System.Windows.Forms.TextBox tb_author;
|
||||
private System.Windows.Forms.TextBox tb_book_comp;
|
||||
private System.Windows.Forms.TextBox tb_pay;
|
||||
private System.Windows.Forms.TextBox tb_order;
|
||||
private System.Windows.Forms.TextBox tb_count;
|
||||
private System.Windows.Forms.Button btn_Lookup;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button btn_Save;
|
||||
private System.Windows.Forms.Button btn_Close;
|
||||
private System.Windows.Forms.Button btn_Add;
|
||||
private System.Windows.Forms.Button btn_Edit;
|
||||
private System.Windows.Forms.Button btn_list_in_stock;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn ISBN;
|
||||
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 pay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn order;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Order_date;
|
||||
}
|
||||
}
|
||||
191
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.cs
Normal file
191
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.cs
Normal file
@@ -0,0 +1,191 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Input_Lookup_Stock : Form
|
||||
{
|
||||
Main main;
|
||||
Helper_DB db = new Helper_DB();
|
||||
public string compidx;
|
||||
string table_name = "Inven";
|
||||
int rowidx=0;
|
||||
public Input_Lookup_Stock(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
}
|
||||
private void Input_Lookup_Stock_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
}
|
||||
private void btn_Lookup_Click(object sender, EventArgs e)
|
||||
{
|
||||
string Area = "`isbn`, `book_name`, `author`, `book_comp`, `pay`, " +
|
||||
"`count`, `order`, `order_date`";
|
||||
string tmp = db.DB_Select_Search(Area, table_name, "compidx", compidx);
|
||||
mk_grid(tmp);
|
||||
for(int a= 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (chk_stock(dataGridView1.Rows[a].Cells["ISBN"].Value.ToString()) == true)
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.YellowGreen;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void mk_grid(string db_data)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string[] data = db_data.Split('|');
|
||||
string[] input_grid = { "", "", "", "", "",
|
||||
"", "", "" };
|
||||
for(int a = 0; a < data.Length; a++) {
|
||||
if (a % 8 == 0) { input_grid[0] = data[a]; }
|
||||
if (a % 8 == 1) { input_grid[1] = data[a]; }
|
||||
if (a % 8 == 2) { input_grid[2] = data[a]; }
|
||||
if (a % 8 == 3) { input_grid[3] = data[a]; }
|
||||
if (a % 8 == 4) { input_grid[4] = data[a]; }
|
||||
if (a % 8 == 5) { input_grid[5] = data[a]; }
|
||||
if (a % 8 == 6) { input_grid[6] = data[a]; }
|
||||
if (a % 8 == 7) {
|
||||
if (data[a].Length < 3) { input_grid[7] = data[a]; }
|
||||
else { input_grid[7] = data[a].Substring(0, 10); }
|
||||
dataGridView1.Rows.Add(input_grid); }
|
||||
}
|
||||
}
|
||||
private void btn_Add_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] data = { "", "", "", "",
|
||||
"", "", "", "" };
|
||||
input_TextBox(data);
|
||||
}
|
||||
private void btn_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (tb_book_name.Text == "") { MessageBox.Show("도서명을 작성해주세요."); return; }
|
||||
if (tb_isbn.Text == "") { MessageBox.Show("ISBN을 작성해주세요."); return; }
|
||||
if (tb_book_comp.Text == "") { MessageBox.Show("출판사를 작성해주세요."); return; }
|
||||
if (tb_author.Text == "") { MessageBox.Show("저자를 작성해주세요."); return; }
|
||||
if (tb_pay.Text == "") { MessageBox.Show("정가를 작성해주세요."); return; }
|
||||
if (tb_order.Text == "") { MessageBox.Show("매입처를 작성해주세요."); return; }
|
||||
if (tb_count.Text == "") { MessageBox.Show("수량을 작성해주세요."); return; }
|
||||
string[] input = { tb_book_name.Text, tb_isbn.Text, tb_book_comp.Text, tb_author.Text, tb_pay.Text,
|
||||
tb_order.Text, tb_count.Text, DateTime.Now.ToString("g"), compidx };
|
||||
string[] where = { "book_name", "isbn", "book_comp", "author", "pay",
|
||||
"order", "count", "import_date", "compidx" };
|
||||
db.DB_INSERT(table_name, where, input);
|
||||
}
|
||||
private void btn_list_in_stock_Click(object sender, EventArgs e)
|
||||
{
|
||||
/* 1. 재고DB를 불러온다.(isbn, 도서명, 저자, 출판사, 정가, 할인율, 수량, 매입처명)
|
||||
* 2. 목록내DB를 불러온다.(isbn)
|
||||
* 3. 재고DB와 목록DB의 isbn을 for문으로 검사한다. (일치 true, 불일치 false)
|
||||
* 4. true일 경우에만 재고DB에서 불러온 내용을 표에 집어넣는다. */
|
||||
|
||||
dataGridView1.Rows.Clear();
|
||||
string Area = "`isbn`, `book_name`, `author`, `book_comp`, `pay`, " +
|
||||
"`count`, `order`, `order_date`";
|
||||
string[] colm = { "compidx" };
|
||||
string[] data = { compidx };
|
||||
string stock_tmp = db.More_DB_Search(table_name, colm, data, Area);
|
||||
string[] stock = stock_tmp.Split('|');
|
||||
stock_check(stock);
|
||||
}
|
||||
private void stock_check(string[] stock)
|
||||
{
|
||||
string[] gird = { "", "", "", "", "", "", "", "" };
|
||||
for(int a = 0; a < stock.Length - 1; a++)
|
||||
{
|
||||
if (a % 8 == 0) { gird[0] = stock[a]; }
|
||||
if (a % 8 == 1) { gird[1] = stock[a]; }
|
||||
if (a % 8 == 2) { gird[2] = stock[a]; }
|
||||
if (a % 8 == 3) { gird[3] = stock[a]; }
|
||||
if (a % 8 == 4) { gird[4] = stock[a]; }
|
||||
if (a % 8 == 5) { gird[5] = stock[a]; }
|
||||
if (a % 8 == 6) { gird[6] = stock[a]; }
|
||||
if (a % 8 == 7) {
|
||||
if (stock[a].Length < 3) { gird[7] = stock[a]; }
|
||||
else { gird[7] = stock[a].Substring(0, 10); }
|
||||
if (chk_stock(gird[0]) == true) {
|
||||
dataGridView1.Rows.Add(gird);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool chk_stock(string isbn)
|
||||
{
|
||||
string[] table = { "compidx", "isbn" };
|
||||
string[] colmn = { compidx, isbn };
|
||||
string chk_list = db.More_DB_Search("Obj_List_Book", table, colmn, "isbn");
|
||||
if (chk_list.Length < 3) { return false; }
|
||||
else if (isbn == "") { return false; }
|
||||
else { return true; }
|
||||
}
|
||||
private void btn_Edit_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] ser_data = { compidx,
|
||||
dataGridView1.Rows[rowidx].Cells["book_name"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["isbn"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["book_comp"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["author"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["pay"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["order"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["count"].Value.ToString() };
|
||||
|
||||
string[] ser_where = { "compidx", "book_name", "isbn", "book_comp", "author",
|
||||
"pay", "order", "count" };
|
||||
string[] edit_data = { tb_book_name.Text, tb_isbn.Text, tb_book_comp.Text, tb_author.Text, tb_pay.Text,
|
||||
tb_order.Text, tb_count.Text };
|
||||
string[] edit_where = { "book_name", "isbn", "book_comp", "author", "pay",
|
||||
"order", "count" };
|
||||
db.More_Update(table_name, edit_where, edit_data, ser_where, ser_data);
|
||||
|
||||
dataGridView1.Rows[rowidx].Cells["book_name"].Value = tb_book_name.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["isbn"].Value = tb_isbn.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["book_comp"].Value = tb_book_comp.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["author"].Value = tb_author.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["pay"].Value = tb_pay.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["order"].Value = tb_order.Text;
|
||||
dataGridView1.Rows[rowidx].Cells["count"].Value = tb_count.Text;
|
||||
}
|
||||
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
rowidx = e.RowIndex;
|
||||
string[] data = { dataGridView1.Rows[rowidx].Cells["book_name"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["isbn"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["book_comp"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["author"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["pay"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["order"].Value.ToString(),
|
||||
dataGridView1.Rows[rowidx].Cells["count"].Value.ToString() };
|
||||
input_TextBox(data);
|
||||
}
|
||||
private void input_TextBox(string[] Text)
|
||||
{
|
||||
tb_book_name.Text = Text[0];
|
||||
tb_isbn.Text = Text[1];
|
||||
tb_book_comp.Text = Text[2];
|
||||
tb_author.Text = Text[3];
|
||||
tb_pay.Text = Text[4];
|
||||
tb_order.Text = Text[5];
|
||||
tb_count.Text = Text[6];
|
||||
}
|
||||
private void btn_Close_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Up) { rowidx--; }
|
||||
if (e.KeyCode == Keys.Down) { rowidx++; }
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
144
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.resx
Normal file
144
unimarc/WindowsFormsApp1/납품관리/Input_Lookup_Stock.resx
Normal file
@@ -0,0 +1,144 @@
|
||||
<?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="ISBN.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="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="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Order_date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
464
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.Designer.cs
generated
Normal file
464
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.Designer.cs
generated
Normal file
@@ -0,0 +1,464 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Input_Purchase_Return
|
||||
{
|
||||
/// <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.label2 = new System.Windows.Forms.Label();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.textBox5 = new System.Windows.Forms.TextBox();
|
||||
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.textBox7 = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.textBox8 = new System.Windows.Forms.TextBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.textBox9 = new System.Windows.Forms.TextBox();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.textBox10 = new System.Windows.Forms.TextBox();
|
||||
this.button3 = new System.Windows.Forms.Button();
|
||||
this.button4 = new System.Windows.Forms.Button();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(22, 20);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "입고일자";
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(22, 48);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "비 고";
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(81, 16);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker1.TabIndex = 11;
|
||||
//
|
||||
// checkBox1
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(183, 18);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(48, 16);
|
||||
this.checkBox1.TabIndex = 12;
|
||||
this.checkBox1.Text = "반품";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(398, 20);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 12);
|
||||
this.label3.TabIndex = 13;
|
||||
this.label3.Text = "매입거래처";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(466, 16);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(100, 21);
|
||||
this.textBox1.TabIndex = 14;
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(81, 44);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(485, 21);
|
||||
this.textBox2.TabIndex = 15;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(572, 43);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 16;
|
||||
this.button1.Text = "추 가";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(655, 43);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 17;
|
||||
this.button2.Text = "저 장";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// textBox3
|
||||
//
|
||||
this.textBox3.Location = new System.Drawing.Point(81, 84);
|
||||
this.textBox3.Name = "textBox3";
|
||||
this.textBox3.Size = new System.Drawing.Size(150, 21);
|
||||
this.textBox3.TabIndex = 19;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(32, 88);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(33, 12);
|
||||
this.label4.TabIndex = 18;
|
||||
this.label4.Text = "ISBN";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(262, 88);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(49, 12);
|
||||
this.label5.TabIndex = 20;
|
||||
this.label5.Text = "도 서 명";
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Location = new System.Drawing.Point(313, 84);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.Size = new System.Drawing.Size(417, 21);
|
||||
this.textBox4.TabIndex = 21;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(22, 116);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(53, 12);
|
||||
this.label6.TabIndex = 22;
|
||||
this.label6.Text = "저 자";
|
||||
//
|
||||
// textBox5
|
||||
//
|
||||
this.textBox5.Location = new System.Drawing.Point(81, 112);
|
||||
this.textBox5.Name = "textBox5";
|
||||
this.textBox5.Size = new System.Drawing.Size(310, 21);
|
||||
this.textBox5.TabIndex = 23;
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
this.textBox6.Location = new System.Drawing.Point(448, 113);
|
||||
this.textBox6.Name = "textBox6";
|
||||
this.textBox6.Size = new System.Drawing.Size(282, 21);
|
||||
this.textBox6.TabIndex = 25;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(406, 117);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(41, 12);
|
||||
this.label7.TabIndex = 24;
|
||||
this.label7.Text = "출판사";
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
this.textBox7.Location = new System.Drawing.Point(81, 139);
|
||||
this.textBox7.Name = "textBox7";
|
||||
this.textBox7.Size = new System.Drawing.Size(150, 21);
|
||||
this.textBox7.TabIndex = 27;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(22, 143);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(53, 12);
|
||||
this.label8.TabIndex = 26;
|
||||
this.label8.Text = "정 가";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(266, 143);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(41, 12);
|
||||
this.label9.TabIndex = 28;
|
||||
this.label9.Text = "입고율";
|
||||
//
|
||||
// textBox8
|
||||
//
|
||||
this.textBox8.Location = new System.Drawing.Point(313, 139);
|
||||
this.textBox8.Name = "textBox8";
|
||||
this.textBox8.Size = new System.Drawing.Size(36, 21);
|
||||
this.textBox8.TabIndex = 29;
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.Location = new System.Drawing.Point(363, 135);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(60, 28);
|
||||
this.checkBox2.TabIndex = 30;
|
||||
this.checkBox2.Text = "입고율\n고정";
|
||||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(422, 143);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(29, 12);
|
||||
this.label10.TabIndex = 31;
|
||||
this.label10.Text = "부수";
|
||||
//
|
||||
// textBox9
|
||||
//
|
||||
this.textBox9.Location = new System.Drawing.Point(455, 139);
|
||||
this.textBox9.Name = "textBox9";
|
||||
this.textBox9.Size = new System.Drawing.Size(36, 21);
|
||||
this.textBox9.TabIndex = 32;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(510, 143);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(53, 12);
|
||||
this.label11.TabIndex = 33;
|
||||
this.label11.Text = "합계금액";
|
||||
//
|
||||
// textBox10
|
||||
//
|
||||
this.textBox10.Location = new System.Drawing.Point(569, 139);
|
||||
this.textBox10.Name = "textBox10";
|
||||
this.textBox10.Size = new System.Drawing.Size(161, 21);
|
||||
this.textBox10.TabIndex = 34;
|
||||
//
|
||||
// button3
|
||||
//
|
||||
this.button3.Location = new System.Drawing.Point(827, 138);
|
||||
this.button3.Name = "button3";
|
||||
this.button3.Size = new System.Drawing.Size(75, 23);
|
||||
this.button3.TabIndex = 36;
|
||||
this.button3.Text = "Clear";
|
||||
this.button3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(744, 138);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(75, 23);
|
||||
this.button4.TabIndex = 35;
|
||||
this.button4.Text = "입 력";
|
||||
this.button4.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.AutoSize = true;
|
||||
this.checkBox3.Location = new System.Drawing.Point(927, 135);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(72, 28);
|
||||
this.checkBox3.TabIndex = 37;
|
||||
this.checkBox3.Text = "칸수일괄\n입력";
|
||||
this.checkBox3.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(1005, 138);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(75, 23);
|
||||
this.button5.TabIndex = 38;
|
||||
this.button5.Text = "합계계산";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Column1,
|
||||
this.Column2,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.Column5,
|
||||
this.Column6,
|
||||
this.Column7});
|
||||
this.dataGridView1.Location = new System.Drawing.Point(24, 185);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(795, 150);
|
||||
this.dataGridView1.TabIndex = 39;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "도 서 명";
|
||||
this.Column1.Name = "Column1";
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "저자";
|
||||
this.Column2.Name = "Column2";
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "출판사";
|
||||
this.Column3.Name = "Column3";
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "정가";
|
||||
this.Column4.Name = "Column4";
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
this.Column5.HeaderText = "입고율";
|
||||
this.Column5.Name = "Column5";
|
||||
//
|
||||
// Column6
|
||||
//
|
||||
this.Column6.HeaderText = "부수";
|
||||
this.Column6.Name = "Column6";
|
||||
//
|
||||
// Column7
|
||||
//
|
||||
this.Column7.HeaderText = "금액";
|
||||
this.Column7.Name = "Column7";
|
||||
//
|
||||
// Input_Purchase_Return
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1274, 610);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.button5);
|
||||
this.Controls.Add(this.checkBox3);
|
||||
this.Controls.Add(this.button3);
|
||||
this.Controls.Add(this.button4);
|
||||
this.Controls.Add(this.textBox10);
|
||||
this.Controls.Add(this.label11);
|
||||
this.Controls.Add(this.textBox9);
|
||||
this.Controls.Add(this.label10);
|
||||
this.Controls.Add(this.checkBox2);
|
||||
this.Controls.Add(this.textBox8);
|
||||
this.Controls.Add(this.label9);
|
||||
this.Controls.Add(this.textBox7);
|
||||
this.Controls.Add(this.label8);
|
||||
this.Controls.Add(this.textBox6);
|
||||
this.Controls.Add(this.label7);
|
||||
this.Controls.Add(this.textBox5);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.textBox4);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.textBox3);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.textBox2);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.dateTimePicker1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Input_Purchase_Return";
|
||||
this.Text = "매입/반품입력";
|
||||
this.Load += new System.EventHandler(this.Input_Purchase_Return_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox textBox5;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox textBox7;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.TextBox textBox8;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.TextBox textBox9;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.TextBox textBox10;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
||||
}
|
||||
}
|
||||
32
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.cs
Normal file
32
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Input_Purchase_Return : Form
|
||||
{
|
||||
Main main;
|
||||
public Input_Purchase_Return(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Input_Purchase_Return_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
141
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.resx
Normal file
141
unimarc/WindowsFormsApp1/납품관리/Input_Purchase_Return.resx
Normal file
@@ -0,0 +1,141 @@
|
||||
<?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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
452
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.Designer.cs
generated
Normal file
452
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.Designer.cs
generated
Normal file
@@ -0,0 +1,452 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class List_Chk_Work
|
||||
{
|
||||
/// <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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.tb_clt = new System.Windows.Forms.TextBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.btn_Excel = new System.Windows.Forms.Button();
|
||||
this.btn_Close = new System.Windows.Forms.Button();
|
||||
this.btn_Grid_Excel = new System.Windows.Forms.Button();
|
||||
this.btn_print = new System.Windows.Forms.Button();
|
||||
this.btn_Lookup = new System.Windows.Forms.Button();
|
||||
this.cb_chk_stat = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.textBox4 = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tb_date = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.tb_dlv = new System.Windows.Forms.TextBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.tb_ISBN = new System.Windows.Forms.TextBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.header = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.isbn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.vol = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.stat = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.btn_chk = new System.Windows.Forms.Button();
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tb_clt
|
||||
//
|
||||
this.tb_clt.Enabled = false;
|
||||
this.tb_clt.Location = new System.Drawing.Point(59, 8);
|
||||
this.tb_clt.Name = "tb_clt";
|
||||
this.tb_clt.Size = new System.Drawing.Size(104, 21);
|
||||
this.tb_clt.TabIndex = 0;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(6, 12);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "거래처명";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Controls.Add(this.btn_Excel);
|
||||
this.panel1.Controls.Add(this.btn_Close);
|
||||
this.panel1.Controls.Add(this.btn_Grid_Excel);
|
||||
this.panel1.Controls.Add(this.btn_print);
|
||||
this.panel1.Controls.Add(this.btn_Lookup);
|
||||
this.panel1.Controls.Add(this.cb_chk_stat);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.textBox4);
|
||||
this.panel1.Controls.Add(this.label5);
|
||||
this.panel1.Controls.Add(this.tb_date);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.tb_dlv);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.tb_clt);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Location = new System.Drawing.Point(4, 4);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(1200, 38);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
// btn_Excel
|
||||
//
|
||||
this.btn_Excel.Location = new System.Drawing.Point(804, 7);
|
||||
this.btn_Excel.Name = "btn_Excel";
|
||||
this.btn_Excel.Size = new System.Drawing.Size(73, 23);
|
||||
this.btn_Excel.TabIndex = 3;
|
||||
this.btn_Excel.Text = "엑 셀";
|
||||
this.btn_Excel.UseVisualStyleBackColor = true;
|
||||
this.btn_Excel.Click += new System.EventHandler(this.btn_Excel_Click);
|
||||
//
|
||||
// btn_Close
|
||||
//
|
||||
this.btn_Close.Location = new System.Drawing.Point(1100, 7);
|
||||
this.btn_Close.Name = "btn_Close";
|
||||
this.btn_Close.Size = new System.Drawing.Size(73, 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);
|
||||
//
|
||||
// btn_Grid_Excel
|
||||
//
|
||||
this.btn_Grid_Excel.Location = new System.Drawing.Point(1021, 7);
|
||||
this.btn_Grid_Excel.Name = "btn_Grid_Excel";
|
||||
this.btn_Grid_Excel.Size = new System.Drawing.Size(73, 23);
|
||||
this.btn_Grid_Excel.TabIndex = 3;
|
||||
this.btn_Grid_Excel.Text = "전표용엑셀";
|
||||
this.btn_Grid_Excel.UseVisualStyleBackColor = true;
|
||||
this.btn_Grid_Excel.Click += new System.EventHandler(this.btn_Grid_Excel_Click);
|
||||
//
|
||||
// btn_print
|
||||
//
|
||||
this.btn_print.Location = new System.Drawing.Point(725, 7);
|
||||
this.btn_print.Name = "btn_print";
|
||||
this.btn_print.Size = new System.Drawing.Size(73, 23);
|
||||
this.btn_print.TabIndex = 3;
|
||||
this.btn_print.Text = "인 쇄";
|
||||
this.btn_print.UseVisualStyleBackColor = true;
|
||||
this.btn_print.Click += new System.EventHandler(this.btn_print_Click);
|
||||
//
|
||||
// btn_Lookup
|
||||
//
|
||||
this.btn_Lookup.Location = new System.Drawing.Point(646, 7);
|
||||
this.btn_Lookup.Name = "btn_Lookup";
|
||||
this.btn_Lookup.Size = new System.Drawing.Size(73, 23);
|
||||
this.btn_Lookup.TabIndex = 3;
|
||||
this.btn_Lookup.Text = "조 회";
|
||||
this.btn_Lookup.UseVisualStyleBackColor = true;
|
||||
this.btn_Lookup.Click += new System.EventHandler(this.btn_Lookup_Click);
|
||||
//
|
||||
// cb_chk_stat
|
||||
//
|
||||
this.cb_chk_stat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_chk_stat.FormattingEnabled = true;
|
||||
this.cb_chk_stat.Location = new System.Drawing.Point(545, 8);
|
||||
this.cb_chk_stat.Name = "cb_chk_stat";
|
||||
this.cb_chk_stat.Size = new System.Drawing.Size(89, 20);
|
||||
this.cb_chk_stat.TabIndex = 2;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(494, 12);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(53, 12);
|
||||
this.label4.TabIndex = 1;
|
||||
this.label4.Text = "검수구분";
|
||||
//
|
||||
// textBox4
|
||||
//
|
||||
this.textBox4.Location = new System.Drawing.Point(935, 8);
|
||||
this.textBox4.Name = "textBox4";
|
||||
this.textBox4.Size = new System.Drawing.Size(79, 21);
|
||||
this.textBox4.TabIndex = 0;
|
||||
this.textBox4.Text = " - -";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(883, 12);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "검수일자";
|
||||
//
|
||||
// tb_date
|
||||
//
|
||||
this.tb_date.Enabled = false;
|
||||
this.tb_date.Location = new System.Drawing.Point(385, 8);
|
||||
this.tb_date.Name = "tb_date";
|
||||
this.tb_date.Size = new System.Drawing.Size(100, 21);
|
||||
this.tb_date.TabIndex = 0;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(332, 12);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||
this.label3.TabIndex = 1;
|
||||
this.label3.Text = "목록일자";
|
||||
//
|
||||
// tb_dlv
|
||||
//
|
||||
this.tb_dlv.Enabled = false;
|
||||
this.tb_dlv.Location = new System.Drawing.Point(222, 8);
|
||||
this.tb_dlv.Name = "tb_dlv";
|
||||
this.tb_dlv.Size = new System.Drawing.Size(104, 21);
|
||||
this.tb_dlv.TabIndex = 0;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(169, 12);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 1;
|
||||
this.label2.Text = "납품처명";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(10, 52);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(56, 12);
|
||||
this.label6.TabIndex = 1;
|
||||
this.label6.Text = "ISBN(F1)";
|
||||
//
|
||||
// tb_ISBN
|
||||
//
|
||||
this.tb_ISBN.Location = new System.Drawing.Point(66, 48);
|
||||
this.tb_ISBN.Name = "tb_ISBN";
|
||||
this.tb_ISBN.Size = new System.Drawing.Size(160, 21);
|
||||
this.tb_ISBN.TabIndex = 0;
|
||||
this.tb_ISBN.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox5_KeyDown);
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
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.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.header,
|
||||
this.num,
|
||||
this.isbn,
|
||||
this.book_name,
|
||||
this.Column4,
|
||||
this.Column5,
|
||||
this.vol,
|
||||
this.Column7,
|
||||
this.Column8,
|
||||
this.stat,
|
||||
this.Column10,
|
||||
this.date});
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
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;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(4, 75);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 21;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1272, 628);
|
||||
this.dataGridView1.TabIndex = 3;
|
||||
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
|
||||
this.dataGridView1.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dataGridView1_RowPostPaint);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// header
|
||||
//
|
||||
this.header.HeaderText = "머리글";
|
||||
this.header.Name = "header";
|
||||
this.header.Width = 70;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.HeaderText = "번호";
|
||||
this.num.Name = "num";
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// isbn
|
||||
//
|
||||
this.isbn.HeaderText = "ISBN";
|
||||
this.isbn.Name = "isbn";
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.Width = 250;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "저자";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.Width = 120;
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
this.Column5.HeaderText = "출판사";
|
||||
this.Column5.Name = "Column5";
|
||||
this.Column5.Width = 120;
|
||||
//
|
||||
// vol
|
||||
//
|
||||
this.vol.HeaderText = "수량";
|
||||
this.vol.Name = "vol";
|
||||
this.vol.Width = 50;
|
||||
//
|
||||
// Column7
|
||||
//
|
||||
this.Column7.HeaderText = "단가";
|
||||
this.Column7.Name = "Column7";
|
||||
this.Column7.Width = 70;
|
||||
//
|
||||
// Column8
|
||||
//
|
||||
this.Column8.HeaderText = "합계";
|
||||
this.Column8.Name = "Column8";
|
||||
this.Column8.Width = 80;
|
||||
//
|
||||
// stat
|
||||
//
|
||||
this.stat.HeaderText = "상태";
|
||||
this.stat.Name = "stat";
|
||||
this.stat.Width = 70;
|
||||
//
|
||||
// Column10
|
||||
//
|
||||
this.Column10.HeaderText = "비고";
|
||||
this.Column10.Name = "Column10";
|
||||
this.Column10.Width = 150;
|
||||
//
|
||||
// date
|
||||
//
|
||||
this.date.HeaderText = "검수시간";
|
||||
this.date.Name = "date";
|
||||
//
|
||||
// btn_chk
|
||||
//
|
||||
this.btn_chk.Location = new System.Drawing.Point(650, 47);
|
||||
this.btn_chk.Name = "btn_chk";
|
||||
this.btn_chk.Size = new System.Drawing.Size(73, 23);
|
||||
this.btn_chk.TabIndex = 3;
|
||||
this.btn_chk.Text = "검 수";
|
||||
this.btn_chk.UseVisualStyleBackColor = true;
|
||||
this.btn_chk.Click += new System.EventHandler(this.btn_chk_Click);
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Location = new System.Drawing.Point(1282, 28);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(198, 285);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 4;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// richTextBox1
|
||||
//
|
||||
this.richTextBox1.Location = new System.Drawing.Point(1283, 328);
|
||||
this.richTextBox1.Name = "richTextBox1";
|
||||
this.richTextBox1.Size = new System.Drawing.Size(197, 374);
|
||||
this.richTextBox1.TabIndex = 5;
|
||||
this.richTextBox1.Text = "";
|
||||
//
|
||||
// List_Chk_Work
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1413, 710);
|
||||
this.Controls.Add(this.richTextBox1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.tb_ISBN);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.btn_chk);
|
||||
this.Name = "List_Chk_Work";
|
||||
this.Text = "ISBN검수";
|
||||
this.Load += new System.EventHandler(this.List_Chk_Work_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox tb_clt;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Button btn_Excel;
|
||||
private System.Windows.Forms.Button btn_Close;
|
||||
private System.Windows.Forms.Button btn_Grid_Excel;
|
||||
private System.Windows.Forms.Button btn_print;
|
||||
private System.Windows.Forms.Button btn_Lookup;
|
||||
private System.Windows.Forms.ComboBox cb_chk_stat;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tb_date;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.TextBox tb_dlv;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.TextBox tb_ISBN;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Button btn_chk;
|
||||
private System.Windows.Forms.PictureBox pictureBox1;
|
||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn header;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn isbn;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn book_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn vol;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn stat;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn date;
|
||||
}
|
||||
}
|
||||
228
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.cs
Normal file
228
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.cs
Normal file
@@ -0,0 +1,228 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class List_Chk_Work : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
List_aggregation list_a;
|
||||
public string[] data = { "", "" };
|
||||
int grididx = 0;
|
||||
public List_Chk_Work(List_aggregation list_)
|
||||
{
|
||||
InitializeComponent();
|
||||
list_a = list_;
|
||||
}
|
||||
public List_Chk_Work()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void List_Chk_Work_Load(object sender, EventArgs e)
|
||||
{
|
||||
string[] combodata = { "전체", "미검수", "검수" };
|
||||
cb_chk_stat.Items.AddRange(combodata);
|
||||
cb_chk_stat.SelectedIndex = 0;
|
||||
|
||||
string[] readtable = { "list_name", "comp_num" };
|
||||
string[] searchtable = { "list_name", "compidx" };
|
||||
string[] searchdata = { data[0], data[1] };
|
||||
string readdata = "`clt`,`dly`,`date`";
|
||||
string getdata = "`header`, `num`, `isbn`, `book_name`, `author`, " +
|
||||
"`book_comp`, `count`, `pay`, `total`, `stat`, " +
|
||||
"`etc`, `chk_date`";
|
||||
db.DBcon();
|
||||
string tmpdata = db.More_DB_Search("Obj_List",readtable,searchdata,readdata);
|
||||
string[] load = tmpdata.Split('|');
|
||||
tb_clt.Text = load[0];
|
||||
tb_dlv.Text = load[1];
|
||||
tb_date.Text = load[2];
|
||||
richTextBox1.Text = tmpdata;
|
||||
string dbdata = db.DB_Select_Search(getdata, "Obj_List_Book",
|
||||
searchtable[0], searchdata[0], searchtable[1], searchdata[1]);
|
||||
Made_Grid(dbdata);
|
||||
|
||||
btn_Excel.Enabled = false;
|
||||
btn_print.Enabled = false;
|
||||
btn_Grid_Excel.Enabled = false;
|
||||
|
||||
}
|
||||
public int gridcout = 0;
|
||||
public int stack = 1;
|
||||
private void btn_chk_Click(object sender, EventArgs e) // 이미지 따오는거 자료조사 및 수정필요
|
||||
{
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells["stat"].Value.ToString() == "미검수")
|
||||
{
|
||||
gridcout = a;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(tb_ISBN.Text == dataGridView1.Rows[gridcout].Cells["isbn"].Value.ToString())
|
||||
{
|
||||
string tmpcount = dataGridView1.Rows[gridcout].Cells["vol"].Value.ToString();
|
||||
int count = Convert.ToInt32(tmpcount);
|
||||
if(count != stack)
|
||||
{
|
||||
MessageBox.Show(stack.ToString() + "/" + tmpcount + " 검수");
|
||||
stack++;
|
||||
}
|
||||
else
|
||||
{
|
||||
dataGridView1.Rows[gridcout].Cells["date"].Value = DateTime.Now.ToString("G");
|
||||
dataGridView1.Rows[gridcout].Cells["stat"].Value = "검수";
|
||||
|
||||
string[] edit_col = { "chk_date", "stat" };
|
||||
string[] edit_data = {dataGridView1.Rows[gridcout].Cells["date"].Value.ToString(),
|
||||
dataGridView1.Rows[gridcout].Cells["stat"].Value.ToString()};
|
||||
string[] search_col = { "list_name", "compidx", "header", "num", "book_name" };
|
||||
string[] search_data = { data[0], data[1],
|
||||
dataGridView1.Rows[gridcout].Cells["header"].Value.ToString(),
|
||||
dataGridView1.Rows[gridcout].Cells["num"].Value.ToString(),
|
||||
dataGridView1.Rows[gridcout].Cells["book_name"].Value.ToString() };
|
||||
stack = 1;
|
||||
tb_ISBN.Text = "";
|
||||
db.More_Update("Obj_List_Book", edit_col, edit_data, search_col, search_data);
|
||||
GridColorChange();
|
||||
MessageBox.Show("검수완료");
|
||||
}
|
||||
}
|
||||
/*
|
||||
string text = textBox5.Text.Replace("\n", "");
|
||||
pictureBox1.Image = WebImageView("http://image.aladin.co.kr/product/24077/64/letslook/K232639138_f.jpg");
|
||||
textBox5.Text = "";
|
||||
*/
|
||||
}
|
||||
/// <summary>
|
||||
/// 데이터그리드뷰 색상변경
|
||||
/// </summary>
|
||||
public void GridColorChange()
|
||||
{
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells["stat"].Value.ToString() == "검수")
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_Lookup_Click(object sender, EventArgs e) // 조회버튼
|
||||
{
|
||||
string comboValue = cb_chk_stat.Text;
|
||||
string[] searchtable = { "list_name", "compidx", "stat" };
|
||||
string[] searchdata = { data[0], data[1], comboValue };
|
||||
string getdata = "`header`, `num`, `isbn`, `book_name`, `author`, " +
|
||||
"`book_comp`, `count`, `pay`, `total`, `stat`, " +
|
||||
"`etc`, `chk_date`";
|
||||
string dbdata = "";
|
||||
if(comboValue == "전체") {
|
||||
dbdata = db.DB_Select_Search(getdata, "Obj_List_Book",
|
||||
searchtable[0], searchdata[0], searchtable[1], searchdata[1]);
|
||||
}
|
||||
else {
|
||||
dbdata = db.More_DB_Search("Obj_List_Book",
|
||||
searchtable, searchdata, getdata);
|
||||
}
|
||||
Made_Grid(dbdata);
|
||||
}
|
||||
private void btn_print_Click(object sender, EventArgs e) // 인쇄버튼
|
||||
{
|
||||
|
||||
}
|
||||
private void btn_Excel_Click(object sender, EventArgs e) // 엑셀버튼
|
||||
{
|
||||
// TODO: 현재 북앤피에서 작동되지않음.
|
||||
}
|
||||
private void btn_Grid_Excel_Click(object sender, EventArgs e) // 전표용엑셀버튼
|
||||
{
|
||||
// TODO: 현재 북앤피에서 작동되지않음.
|
||||
}
|
||||
/// <summary>
|
||||
/// 받은 URL을 이미지값으로 변환해주는 함수.
|
||||
/// </summary>
|
||||
/// <param name="URL"></param>
|
||||
/// <returns></returns>
|
||||
private Bitmap WebImageView(string URL)
|
||||
{
|
||||
try
|
||||
{
|
||||
WebClient Downloader = new WebClient();
|
||||
Stream ImageStream = Downloader.OpenRead(URL);
|
||||
Bitmap DownloadImage = Bitmap.FromStream(ImageStream) as Bitmap;
|
||||
return DownloadImage;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
private void Made_Grid(String Value)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string[] db_data = Value.Split('|');
|
||||
string[] grid = { "", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", ""};
|
||||
/*
|
||||
* 번호, 도서명, ISBN, 도서명, 저자
|
||||
* 출판사, 수량, 단가, 합계, 상태
|
||||
* 비고, 검수시간
|
||||
*/
|
||||
int ea = 0;
|
||||
for(int a = 0; a < db_data.Length; a++)
|
||||
{
|
||||
if (ea == 11) { grid[ea] = db_data[a]; dataGridView1.Rows.Add(grid); ea = 0; }
|
||||
if (a%12==ea) { grid[ea] = db_data[a]; ea++; }
|
||||
}
|
||||
GridColorChange();
|
||||
}
|
||||
private void dataGridView1_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
|
||||
{
|
||||
Skill_Grid skill = new Skill_Grid();
|
||||
skill.Print_Grid_Num(sender, e);
|
||||
}
|
||||
|
||||
private void btn_Close_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void textBox5_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
btn_chk_Click(null, null);
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
grididx = e.RowIndex;
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(e.KeyCode == Keys.Up)
|
||||
{
|
||||
grididx--;
|
||||
}
|
||||
if (e.KeyCode == Keys.Down)
|
||||
{
|
||||
grididx++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
153
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.resx
Normal file
153
unimarc/WindowsFormsApp1/납품관리/List_Chk_Work.resx
Normal file
@@ -0,0 +1,153 @@
|
||||
<?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="header.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="num.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="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="stat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
592
unimarc/WindowsFormsApp1/납품관리/List_Lookup.Designer.cs
generated
Normal file
592
unimarc/WindowsFormsApp1/납품관리/List_Lookup.Designer.cs
generated
Normal file
@@ -0,0 +1,592 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class List_Lookup
|
||||
{
|
||||
/// <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();
|
||||
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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_Lookup));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.cb_list = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cb_search = new System.Windows.Forms.ComboBox();
|
||||
this.tb_search = new System.Windows.Forms.TextBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tb_order = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btn_print = new System.Windows.Forms.Button();
|
||||
this.btn_close = new System.Windows.Forms.Button();
|
||||
this.btn_lookup = new System.Windows.Forms.Button();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.cb_list_name = new System.Windows.Forms.ComboBox();
|
||||
this.textBox7 = new System.Windows.Forms.TextBox();
|
||||
this.textBox6 = new System.Windows.Forms.TextBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.cb_export = new System.Windows.Forms.ComboBox();
|
||||
this.cb_import = new System.Windows.Forms.ComboBox();
|
||||
this.cb_charge = new System.Windows.Forms.ComboBox();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.total = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.stat = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.gubun = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.lbl_total = new System.Windows.Forms.Label();
|
||||
this.lbl_pay = new System.Windows.Forms.Label();
|
||||
this.lbl_count = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.printDialog1 = new System.Windows.Forms.PrintDialog();
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(4, 10);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(29, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "목록";
|
||||
//
|
||||
// cb_list
|
||||
//
|
||||
this.cb_list.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_list.FormattingEnabled = true;
|
||||
this.cb_list.Location = new System.Drawing.Point(35, 6);
|
||||
this.cb_list.Name = "cb_list";
|
||||
this.cb_list.Size = new System.Drawing.Size(58, 20);
|
||||
this.cb_list.TabIndex = 1;
|
||||
this.cb_list.SelectedIndexChanged += new System.EventHandler(this.cb_list_SelectedIndexChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(103, 10);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(29, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "검색";
|
||||
//
|
||||
// cb_search
|
||||
//
|
||||
this.cb_search.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_search.FormattingEnabled = true;
|
||||
this.cb_search.Location = new System.Drawing.Point(131, 6);
|
||||
this.cb_search.Name = "cb_search";
|
||||
this.cb_search.Size = new System.Drawing.Size(69, 20);
|
||||
this.cb_search.TabIndex = 1;
|
||||
//
|
||||
// tb_search
|
||||
//
|
||||
this.tb_search.Location = new System.Drawing.Point(202, 6);
|
||||
this.tb_search.Name = "tb_search";
|
||||
this.tb_search.Size = new System.Drawing.Size(134, 21);
|
||||
this.tb_search.TabIndex = 2;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.cb_list);
|
||||
this.panel1.Controls.Add(this.tb_search);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.cb_search);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(342, 35);
|
||||
this.panel1.TabIndex = 3;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.tb_order);
|
||||
this.panel2.Controls.Add(this.label3);
|
||||
this.panel2.Location = new System.Drawing.Point(357, 12);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(184, 35);
|
||||
this.panel2.TabIndex = 4;
|
||||
//
|
||||
// tb_order
|
||||
//
|
||||
this.tb_order.Location = new System.Drawing.Point(44, 6);
|
||||
this.tb_order.Name = "tb_order";
|
||||
this.tb_order.Size = new System.Drawing.Size(134, 21);
|
||||
this.tb_order.TabIndex = 2;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(3, 10);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 0;
|
||||
this.label3.Text = "거래처";
|
||||
//
|
||||
// btn_print
|
||||
//
|
||||
this.btn_print.Location = new System.Drawing.Point(979, 51);
|
||||
this.btn_print.Name = "btn_print";
|
||||
this.btn_print.Size = new System.Drawing.Size(75, 25);
|
||||
this.btn_print.TabIndex = 5;
|
||||
this.btn_print.Text = "목록인쇄";
|
||||
this.btn_print.UseVisualStyleBackColor = true;
|
||||
this.btn_print.Click += new System.EventHandler(this.btn_print_Click);
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(1141, 51);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(75, 25);
|
||||
this.btn_close.TabIndex = 5;
|
||||
this.btn_close.Text = "닫 기";
|
||||
this.btn_close.UseVisualStyleBackColor = true;
|
||||
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
|
||||
//
|
||||
// btn_lookup
|
||||
//
|
||||
this.btn_lookup.Location = new System.Drawing.Point(1060, 51);
|
||||
this.btn_lookup.Name = "btn_lookup";
|
||||
this.btn_lookup.Size = new System.Drawing.Size(75, 25);
|
||||
this.btn_lookup.TabIndex = 5;
|
||||
this.btn_lookup.Text = "조 회";
|
||||
this.btn_lookup.UseVisualStyleBackColor = true;
|
||||
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel3.Controls.Add(this.cb_list_name);
|
||||
this.panel3.Controls.Add(this.textBox7);
|
||||
this.panel3.Controls.Add(this.textBox6);
|
||||
this.panel3.Controls.Add(this.label6);
|
||||
this.panel3.Controls.Add(this.label10);
|
||||
this.panel3.Controls.Add(this.label8);
|
||||
this.panel3.Controls.Add(this.label7);
|
||||
this.panel3.Controls.Add(this.cb_export);
|
||||
this.panel3.Controls.Add(this.cb_import);
|
||||
this.panel3.Controls.Add(this.cb_charge);
|
||||
this.panel3.Location = new System.Drawing.Point(544, 12);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(672, 35);
|
||||
this.panel3.TabIndex = 7;
|
||||
//
|
||||
// cb_list_name
|
||||
//
|
||||
this.cb_list_name.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_list_name.FormattingEnabled = true;
|
||||
this.cb_list_name.Location = new System.Drawing.Point(140, 6);
|
||||
this.cb_list_name.Name = "cb_list_name";
|
||||
this.cb_list_name.Size = new System.Drawing.Size(185, 20);
|
||||
this.cb_list_name.TabIndex = 1;
|
||||
//
|
||||
// textBox7
|
||||
//
|
||||
this.textBox7.Location = new System.Drawing.Point(595, 6);
|
||||
this.textBox7.Name = "textBox7";
|
||||
this.textBox7.Size = new System.Drawing.Size(70, 21);
|
||||
this.textBox7.TabIndex = 2;
|
||||
this.textBox7.Text = " - -";
|
||||
//
|
||||
// textBox6
|
||||
//
|
||||
this.textBox6.Location = new System.Drawing.Point(509, 6);
|
||||
this.textBox6.Name = "textBox6";
|
||||
this.textBox6.Size = new System.Drawing.Size(70, 21);
|
||||
this.textBox6.TabIndex = 2;
|
||||
this.textBox6.Text = " - -";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(111, 10);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(29, 12);
|
||||
this.label6.TabIndex = 0;
|
||||
this.label6.Text = "명단";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(580, 10);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(14, 12);
|
||||
this.label10.TabIndex = 0;
|
||||
this.label10.Text = "~";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(329, 10);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(29, 12);
|
||||
this.label8.TabIndex = 0;
|
||||
this.label8.Text = "상태";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(7, 10);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(29, 12);
|
||||
this.label7.TabIndex = 0;
|
||||
this.label7.Text = "담당";
|
||||
//
|
||||
// cb_export
|
||||
//
|
||||
this.cb_export.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_export.FormattingEnabled = true;
|
||||
this.cb_export.Location = new System.Drawing.Point(430, 6);
|
||||
this.cb_export.Name = "cb_export";
|
||||
this.cb_export.Size = new System.Drawing.Size(69, 20);
|
||||
this.cb_export.TabIndex = 1;
|
||||
//
|
||||
// cb_import
|
||||
//
|
||||
this.cb_import.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_import.FormattingEnabled = true;
|
||||
this.cb_import.Location = new System.Drawing.Point(358, 6);
|
||||
this.cb_import.Name = "cb_import";
|
||||
this.cb_import.Size = new System.Drawing.Size(69, 20);
|
||||
this.cb_import.TabIndex = 1;
|
||||
//
|
||||
// cb_charge
|
||||
//
|
||||
this.cb_charge.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_charge.FormattingEnabled = true;
|
||||
this.cb_charge.Location = new System.Drawing.Point(36, 6);
|
||||
this.cb_charge.Name = "cb_charge";
|
||||
this.cb_charge.Size = new System.Drawing.Size(69, 20);
|
||||
this.cb_charge.TabIndex = 1;
|
||||
//
|
||||
// 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.Bold, 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.Column1,
|
||||
this.num,
|
||||
this.book_name,
|
||||
this.author,
|
||||
this.book_comp,
|
||||
this.count,
|
||||
this.pay,
|
||||
this.total,
|
||||
this.stat,
|
||||
this.etc,
|
||||
this.gubun,
|
||||
this.order,
|
||||
this.Column2,
|
||||
this.Column3});
|
||||
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;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(10, 80);
|
||||
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;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.RowHeadersVisible = false;
|
||||
this.dataGridView1.RowHeadersWidth = 21;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1206, 371);
|
||||
this.dataGridView1.TabIndex = 8;
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "주";
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.Width = 35;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.HeaderText = "번호";
|
||||
this.num.Name = "num";
|
||||
this.num.Width = 60;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.Width = 238;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.HeaderText = "수량";
|
||||
this.count.Name = "count";
|
||||
this.count.Width = 60;
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.HeaderText = "단가";
|
||||
this.pay.Name = "pay";
|
||||
this.pay.Width = 80;
|
||||
//
|
||||
// total
|
||||
//
|
||||
this.total.HeaderText = "합계";
|
||||
this.total.Name = "total";
|
||||
this.total.Width = 80;
|
||||
//
|
||||
// stat
|
||||
//
|
||||
this.stat.HeaderText = "상태";
|
||||
this.stat.Name = "stat";
|
||||
//
|
||||
// etc
|
||||
//
|
||||
this.etc.HeaderText = "비고";
|
||||
this.etc.Name = "etc";
|
||||
this.etc.Width = 130;
|
||||
//
|
||||
// gubun
|
||||
//
|
||||
this.gubun.HeaderText = "구분";
|
||||
this.gubun.Name = "gubun";
|
||||
//
|
||||
// order
|
||||
//
|
||||
this.order.HeaderText = "주문처";
|
||||
this.order.Name = "order";
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "입고";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.Visible = false;
|
||||
this.Column2.Width = 50;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "출고";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.Visible = false;
|
||||
this.Column3.Width = 30;
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel4.Controls.Add(this.lbl_total);
|
||||
this.panel4.Controls.Add(this.lbl_pay);
|
||||
this.panel4.Controls.Add(this.lbl_count);
|
||||
this.panel4.Controls.Add(this.label11);
|
||||
this.panel4.Location = new System.Drawing.Point(10, 457);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(1206, 26);
|
||||
this.panel4.TabIndex = 9;
|
||||
//
|
||||
// lbl_total
|
||||
//
|
||||
this.lbl_total.AutoSize = true;
|
||||
this.lbl_total.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_total.Location = new System.Drawing.Point(723, 5);
|
||||
this.lbl_total.Name = "lbl_total";
|
||||
this.lbl_total.Size = new System.Drawing.Size(50, 13);
|
||||
this.lbl_total.TabIndex = 0;
|
||||
this.lbl_total.Text = "합계 : ";
|
||||
//
|
||||
// lbl_pay
|
||||
//
|
||||
this.lbl_pay.AutoSize = true;
|
||||
this.lbl_pay.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_pay.Location = new System.Drawing.Point(509, 5);
|
||||
this.lbl_pay.Name = "lbl_pay";
|
||||
this.lbl_pay.Size = new System.Drawing.Size(50, 13);
|
||||
this.lbl_pay.TabIndex = 0;
|
||||
this.lbl_pay.Text = "단가 : ";
|
||||
//
|
||||
// lbl_count
|
||||
//
|
||||
this.lbl_count.AutoSize = true;
|
||||
this.lbl_count.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_count.Location = new System.Drawing.Point(288, 5);
|
||||
this.lbl_count.Name = "lbl_count";
|
||||
this.lbl_count.Size = new System.Drawing.Size(50, 13);
|
||||
this.lbl_count.TabIndex = 0;
|
||||
this.lbl_count.Text = "수량 : ";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label11.Location = new System.Drawing.Point(78, 5);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(87, 13);
|
||||
this.label11.TabIndex = 0;
|
||||
this.label11.Text = "목록 총 합계";
|
||||
//
|
||||
// printDialog1
|
||||
//
|
||||
this.printDialog1.UseEXDialog = true;
|
||||
//
|
||||
// printDocument1
|
||||
//
|
||||
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
|
||||
//
|
||||
// printPreviewDialog1
|
||||
//
|
||||
this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||
this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||
this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
|
||||
this.printPreviewDialog1.Enabled = true;
|
||||
this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
|
||||
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
||||
this.printPreviewDialog1.Visible = false;
|
||||
//
|
||||
// List_Lookup
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1229, 494);
|
||||
this.Controls.Add(this.panel4);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.panel3);
|
||||
this.Controls.Add(this.btn_lookup);
|
||||
this.Controls.Add(this.btn_close);
|
||||
this.Controls.Add(this.btn_print);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Name = "List_Lookup";
|
||||
this.Text = "목록조회";
|
||||
this.Load += new System.EventHandler(this.List_Lookup_Load);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cb_list;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.ComboBox cb_search;
|
||||
private System.Windows.Forms.TextBox tb_search;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.TextBox tb_order;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button btn_print;
|
||||
private System.Windows.Forms.Button btn_close;
|
||||
private System.Windows.Forms.Button btn_lookup;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.ComboBox cb_list_name;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.TextBox textBox7;
|
||||
private System.Windows.Forms.TextBox textBox6;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.ComboBox cb_export;
|
||||
private System.Windows.Forms.ComboBox cb_import;
|
||||
private System.Windows.Forms.ComboBox cb_charge;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Label lbl_total;
|
||||
private System.Windows.Forms.Label lbl_pay;
|
||||
private System.Windows.Forms.Label lbl_count;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.PrintDialog printDialog1;
|
||||
private System.Drawing.Printing.PrintDocument printDocument1;
|
||||
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
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 count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn total;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn stat;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn gubun;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn order;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
}
|
||||
}
|
||||
331
unimarc/WindowsFormsApp1/납품관리/List_Lookup.cs
Normal file
331
unimarc/WindowsFormsApp1/납품관리/List_Lookup.cs
Normal file
@@ -0,0 +1,331 @@
|
||||
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 System.Drawing.Printing;
|
||||
using System.IO;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class List_Lookup : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
List_aggregation list_a;
|
||||
Main main;
|
||||
string form_call;
|
||||
public string call_base;
|
||||
public string compidx;
|
||||
public List_Lookup()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public List_Lookup(List_aggregation list_ag)
|
||||
{
|
||||
InitializeComponent();
|
||||
list_a = list_ag;
|
||||
form_call = "list_a";
|
||||
compidx = list_a.compidx;
|
||||
}
|
||||
public List_Lookup(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
form_call = "main";
|
||||
compidx = main.com_idx;
|
||||
}
|
||||
private void List_Lookup_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
string[] combo_list = { "진행", "완료" };
|
||||
cb_list.Items.AddRange(combo_list);
|
||||
cb_list.SelectedIndex = 0;
|
||||
|
||||
string[] combo_search = { "도서명", "출판사" };
|
||||
cb_search.Items.AddRange(combo_search);
|
||||
cb_search.SelectedIndex = 0;
|
||||
|
||||
string[] combo_import = { "전체", "미입고", "입고" };
|
||||
cb_import.Items.AddRange(combo_import);
|
||||
cb_import.SelectedIndex = 0;
|
||||
|
||||
string[] combo_export = { "전체", "미출고", "출고" };
|
||||
cb_export.Items.AddRange(combo_export);
|
||||
cb_export.SelectedIndex = 0;
|
||||
|
||||
mk_combo_list_name();
|
||||
mk_charge();
|
||||
}
|
||||
int cnt = 0, pageNo = 1;
|
||||
private void btn_print_Click(object sender, EventArgs e) // 인쇄 기능
|
||||
{
|
||||
PrinterSettings ps = new PrinterSettings();
|
||||
ps.FromPage = 12;
|
||||
ps.PrintRange = PrintRange.CurrentPage;
|
||||
ps.ToPage = 13;
|
||||
|
||||
// 여백 설정
|
||||
printDocument1.DefaultPageSettings.Margins.Left = 10;
|
||||
printDocument1.DefaultPageSettings.Margins.Right = 10;
|
||||
printDocument1.DefaultPageSettings.Margins.Top = 10;
|
||||
printDocument1.DefaultPageSettings.Margins.Bottom = 10;
|
||||
|
||||
// 용지 방향
|
||||
printDocument1.DefaultPageSettings.Landscape = true; // 가로(true), 세로(false)
|
||||
|
||||
// 용지 크기
|
||||
printDocument1.DefaultPageSettings.PaperSize =
|
||||
new PaperSize("A4", 210 * 4, 297 * 4);
|
||||
|
||||
// 프린터 설정 창의 페이지 지정
|
||||
printDialog1.AllowSomePages = true;
|
||||
|
||||
printPreviewDialog1.Document = printDocument1;
|
||||
if (printPreviewDialog1.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
cnt = 0;
|
||||
pageNo = 1;
|
||||
}
|
||||
}
|
||||
private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
|
||||
{
|
||||
int dialogWidth = 528; // 페이지 전체 넓이
|
||||
|
||||
StringFormat sf = new StringFormat();
|
||||
// 컬럼 안에 있는 값들 가운데로 정렬
|
||||
sf.Alignment = StringAlignment.Center;
|
||||
sf.LineAlignment = StringAlignment.Center;
|
||||
|
||||
int width, width1; // 시작점 위치, datagrid 1개의 컬럼
|
||||
int startWidth = 10; // 시작 x좌표
|
||||
int startHeight = 140; // 시작 y좌표
|
||||
int avgHeight = dataGridView1.Rows[0].Height; // girdview 컬럼 하나의 높이
|
||||
int temp = 0; // row 개수 세어줄 것. cnt의 역할
|
||||
avgHeight = avgHeight/3*4;
|
||||
e.Graphics.DrawString("목록 조회", new Font("Arial", 20, FontStyle.Bold), Brushes.Black, dialogWidth / 2, 40);
|
||||
e.Graphics.DrawString("인쇄일: " + DateTime.Now.ToString("yyyy/MM/dd"), new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 80);
|
||||
e.Graphics.DrawString("페이지번호: " + pageNo, new Font("Arial", 13), Brushes.Black, dialogWidth - 20, 100);
|
||||
for(int a = 0; a < dataGridView1.ColumnCount; a++) // columnCount는 일정
|
||||
{
|
||||
if (a == 0) {
|
||||
width = 0;
|
||||
width1 = dataGridView1.Columns[a].Width + 15;
|
||||
}
|
||||
else if (a >= 1 && a <= dataGridView1.ColumnCount - 2) {
|
||||
width = dataGridView1.Columns[a - 1].Width + 15;
|
||||
width1 = dataGridView1.Columns[a].Width + 15;
|
||||
}
|
||||
else {
|
||||
width = dataGridView1.Columns[a - 1].Width + 15;
|
||||
width1 = dataGridView1.Columns[a].Width + 40;
|
||||
}
|
||||
RectangleF drawRect = new RectangleF((float)(startWidth + width)/4*3, (float)startHeight,
|
||||
(float)width1/4*3, avgHeight);
|
||||
e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width)/4*3, (float)startHeight,
|
||||
(float)width1/4*3, avgHeight);
|
||||
e.Graphics.DrawString(dataGridView1.Columns[a].HeaderText,
|
||||
new Font("Arial", 12, FontStyle.Bold), Brushes.Black, drawRect, sf);
|
||||
startWidth += width;
|
||||
}
|
||||
startHeight += avgHeight;
|
||||
|
||||
for(int a = cnt; a < dataGridView1.RowCount - 1; a++) {
|
||||
startWidth = 10;
|
||||
for(int b = 0; b < dataGridView1.ColumnCount; b++) {
|
||||
if (b == 0) {
|
||||
width = 0;
|
||||
width1 = dataGridView1.Columns[b].Width + 15;
|
||||
}
|
||||
else if (b >= 1 && b <= dataGridView1.ColumnCount - 2) {
|
||||
width = dataGridView1.Columns[b - 1].Width + 15;
|
||||
width1 = dataGridView1.Columns[b].Width + 15;
|
||||
}
|
||||
else {
|
||||
width = dataGridView1.Columns[b - 1].Width + 15;
|
||||
width1 = dataGridView1.Columns[b].Width + 40;
|
||||
}
|
||||
if (b == 2) { sf.LineAlignment = StringAlignment.Near; }
|
||||
else { sf.LineAlignment = StringAlignment.Center; }
|
||||
RectangleF drawRect = new RectangleF((float)(startWidth + width)/4*3, (float)startHeight,
|
||||
(float)width1/4*3, avgHeight);
|
||||
e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width)/4*3, (float)startHeight,
|
||||
(float)width1/4*3, avgHeight);
|
||||
e.Graphics.DrawString(dataGridView1.Rows[a].Cells[b].FormattedValue.ToString(),
|
||||
new Font("Arial", 7), Brushes.Black, drawRect, sf);
|
||||
startWidth += width;
|
||||
}
|
||||
startHeight += avgHeight;
|
||||
temp++;
|
||||
cnt++;
|
||||
|
||||
if (temp % 23 == 0) {
|
||||
e.HasMorePages = true;
|
||||
pageNo++;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_lookup_Click(object sender, EventArgs e)
|
||||
{
|
||||
// 조회 기능
|
||||
mk_grid();
|
||||
res_total();
|
||||
}
|
||||
private void res_total()
|
||||
{
|
||||
int itcount = 0;
|
||||
int itpay = 0;
|
||||
int ittotal = 0;
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
itcount += Convert.ToInt32(dataGridView1.Rows[a].Cells["count"].Value.ToString());
|
||||
itpay += Convert.ToInt32(dataGridView1.Rows[a].Cells["pay"].Value.ToString());
|
||||
ittotal += Convert.ToInt32(dataGridView1.Rows[a].Cells["total"].Value.ToString());
|
||||
}
|
||||
lbl_count.Text = "수량: " + String.Format("{0:#,0}", itcount);
|
||||
lbl_pay.Text = "단가: " + String.Format("{0:#,0}", itpay);
|
||||
lbl_total.Text = "합계: " + String.Format("{0:#,0}", ittotal);
|
||||
}
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
private void cb_list_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
mk_combo_list_name();
|
||||
}
|
||||
/// <summary>
|
||||
/// 담당자 콤보박스(cb_charge)에 작성
|
||||
/// </summary>
|
||||
private void mk_charge()
|
||||
{
|
||||
cb_charge.Items.Clear();
|
||||
string tmp_data = db.DB_Select_Search("comp_name",
|
||||
"Comp", "idx", compidx);
|
||||
string[] tmp_db = tmp_data.Split('|');
|
||||
tmp_data = db.DB_Select_Search("name", "User_Data", "affil", tmp_db[0]);
|
||||
string[] data = tmp_data.Split('|');
|
||||
cb_charge.Items.Add("전체");
|
||||
for (int a = 0; a < data.Length - 1; a++) {
|
||||
cb_charge.Items.Add(data[a]);
|
||||
}
|
||||
cb_charge.SelectedIndex = 0;
|
||||
}
|
||||
/// <summary>
|
||||
/// 검색 필터 콤보박스(cb_list_name)에 작성
|
||||
/// </summary>
|
||||
private void mk_combo_list_name()
|
||||
{
|
||||
cb_list_name.Items.Clear();
|
||||
// 진행과 완료를 구분지어 명단목록 작성
|
||||
string state = cb_list.Text;
|
||||
string charge = cb_charge.Text;
|
||||
string search_table = "list_name";
|
||||
string tmp_data;
|
||||
if (cb_charge.SelectedIndex != 0) {
|
||||
string[] table = { "comp_num", "state" };
|
||||
string[] search = { compidx, state };
|
||||
tmp_data = db.More_DB_Search("Obj_List", table, search, search_table);
|
||||
}
|
||||
else {
|
||||
string[] table = { "comp_num", "state", "charge" };
|
||||
string[] search = { compidx, state, charge };
|
||||
tmp_data = db.More_DB_Search("Obj_List", table, search, search_table);
|
||||
}
|
||||
string[] data = tmp_data.Split('|');
|
||||
cb_list_name.Items.Add("전체");
|
||||
for (int a = 0; a < data.Length - 1; a++) {
|
||||
cb_list_name.Items.Add(data[a]);
|
||||
}
|
||||
for(int a = 0; a < cb_list_name.Items.Count; a++) {
|
||||
if(call_base == cb_list_name.Items[a].ToString()) {
|
||||
cb_list_name.SelectedIndex = a;
|
||||
btn_lookup_Click(null, null);
|
||||
break;
|
||||
}
|
||||
else { cb_list_name.SelectedIndex = 0; }
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 그리드 내에 데이터 삽입
|
||||
/// TODO: 09.10 수정필요!
|
||||
/// </summary>
|
||||
private void mk_grid()
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string list = cb_list_name.Text;
|
||||
string area = "`header`, `num`, `book_name`, `author`, `book_comp`, " +
|
||||
"`count`, `pay`, `total`, `stat`, `etc`, " +
|
||||
"`list_name`, `order`, `import`, `export`";
|
||||
string tmp_data = db.DB_Select_Search(area, "Obj_List_Book", "compidx", compidx);
|
||||
string[] data = tmp_data.Split('|');
|
||||
string[] mkgrid = { "", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "" };
|
||||
int num = 14;
|
||||
for(int a = 0; a < data.Length; a++) {
|
||||
if (a % num == 0) { mkgrid[1] = data[a] + " "; }
|
||||
if (a % num == 1) { mkgrid[1] += data[a]; }
|
||||
if (a % num == 2) { mkgrid[2] = data[a]; }
|
||||
if (a % num == 3) { mkgrid[3] = data[a]; }
|
||||
if (a % num == 4) { mkgrid[4] = data[a]; }
|
||||
if (a % num == 5) { mkgrid[5] = data[a]; }
|
||||
if (a % num == 6) { mkgrid[6] = data[a]; }
|
||||
if (a % num == 7) { mkgrid[7] = data[a]; }
|
||||
if (a % num == 8) { mkgrid[8] = data[a]; }
|
||||
if (a % num == 9) { mkgrid[9] = data[a]; }
|
||||
if (a % num == 10) { mkgrid[10] = data[a]; }
|
||||
if (a % num == 11) { mkgrid[11] = data[a]; }
|
||||
if (a % num == 12) { mkgrid[12] = data[a]; }
|
||||
if (a % num == 13) { mkgrid[13] = data[a];
|
||||
if (filter(mkgrid) == true) {
|
||||
dataGridView1.Rows.Add(mkgrid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool filter(string[] array)
|
||||
{
|
||||
/* 주 | 번호 | 도서명 | 저자 | 출판사
|
||||
* 수량 | 단가 | 합계 | 상태 | 비고
|
||||
* 구분 | 주문처 | 입고상태 | 출고상태 */
|
||||
if (tb_search.Text != "") {
|
||||
if (cb_search.SelectedIndex == 0) {
|
||||
if (array[2].Contains(tb_search.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (cb_search.SelectedIndex == 1) {
|
||||
if (array[4].Contains(tb_search.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tb_order.Text != "") {
|
||||
if (array[11].Contains(tb_order.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_list_name.SelectedIndex != 0) {
|
||||
if (array[10].Contains(cb_list_name.Text) == false){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_import.SelectedIndex != 0) {
|
||||
if (array[12].Contains(cb_import.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_export.SelectedIndex != 0) {
|
||||
if (array[13].Contains(cb_export.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
348
unimarc/WindowsFormsApp1/납품관리/List_Lookup.resx
Normal file
348
unimarc/WindowsFormsApp1/납품관리/List_Lookup.resx
Normal file
@@ -0,0 +1,348 @@
|
||||
<?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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="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="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="total.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="stat.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="etc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="gubun.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="printDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>-2, -3</value>
|
||||
</metadata>
|
||||
<metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>119, -3</value>
|
||||
</metadata>
|
||||
<metadata name="printPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>262, -3</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="printPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA
|
||||
CABoBQAAHg0AACAgAAABACAAqBAAAIYSAAAQEAAAAQAgAGgEAAAuIwAAKAAAACAAAABAAAAAAQAEAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA
|
||||
/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIoiI
|
||||
iIiIiIiIiIiIiIiIiIiCIigiIiIozMzMzMzMyCIogiIoIiIiKM7m5ubm5sgiKIIiKCIiIijObm5ubm7I
|
||||
IiiCIigiIiIozubm5ubmyCIogiIoIiIiKM5ubm5ubsgiKIIiKCIiIijO5ubm5ubIIiiIiIiIiIiIzm5u
|
||||
bm5uyCIogRERERERGM7u7u7u7sgiKIHZWVlZWRjMzMzMzMzIIiiB1ZWVlZUYiIiIiIiIiIiIgdlZWVlZ
|
||||
GDMzMzMzMzMzOIHVlZWVlRg/uLi4uLi4uDiB2VlZWVkYP7uLi4uLi4s4gdWVlZWVGD+4uLi4uLi4OIHZ
|
||||
WVlZWRg/u4uLi4uLiziB1ZWVlZUYP7i4uLi4uLg4gdlZWVlZGD+7i4uLi4uLOIHVlZWVlRg/uLi4uLi4
|
||||
uDiB3d3d3d0YP7uLi4uLi4s4gRERERERGD+4uLi4uLi4OIiIiIiIiIg/u4uLi4uLiziCIiIiIiIoP7i4
|
||||
uLi4uLg4giIiIiIiKD+7i4uLi4uLOIIiIiIiIig/uLi4uLi4uDiCIiIiIiIoP7u7u7u7u7s4giIiIiIi
|
||||
KD//////////OIIiIiIiIigzMzMzMzMzMziIiIiIiIiIiIiIiIiIiIiIIiIiIiIiIiIiIiIiIiIiIv//
|
||||
////////AAAAAHv4AA57+AAOe/gADnv4AA57+AAOe/gADgAAAA4AAAAOAAAADgAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/4AAB/+AAAf/gAAH/4AAB/+AAAf/gAAAAA
|
||||
AAD/////KAAAABAAAAAgAAAAAQAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACA
|
||||
gACAAAAAgACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIoiI
|
||||
iIiIiIiIgigijMzMyCiCKCKM5mbIKIiIiIzu7sgogRERjMzMyCiB2ZGIiIiIiIHZkYMzMzM4gdmRg/u7
|
||||
uziB3dGD+7u7OIEREYP7u7s4iIiIg/u7uziCIiKD+7u7OIIiIoP///84giIigzMzMziIiIiIiIiIiP//
|
||||
KCIAACjObALm5mwCIigAAoiIAAKIzgAAbm4AACIoAAAREQAAGM4AAO7uAAAiKHwAWVl8ABjMfADMzAAA
|
||||
IigoAAAAIAAAAEAAAAABAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAA
|
||||
AACAAIAAgIAAAICAgADA3MAA8MqmAKo/KgD/PyoAAF8qAFVfKgCqXyoA/18qAAB/KgBVfyoAqn8qAP9/
|
||||
KgAAnyoAVZ8qAKqfKgD/nyoAAL8qAFW/KgCqvyoA/78qAADfKgBV3yoAqt8qAP/fKgAA/yoAVf8qAKr/
|
||||
KgD//yoAAABVAFUAVQCqAFUA/wBVAAAfVQBVH1UAqh9VAP8fVQAAP1UAVT9VAKo/VQD/P1UAAF9VAFVf
|
||||
VQCqX1UA/19VAAB/VQBVf1UAqn9VAP9/VQAAn1UAVZ9VAKqfVQD/n1UAAL9VAFW/VQCqv1UA/79VAADf
|
||||
VQBV31UAqt9VAP/fVQAA/1UAVf9VAKr/VQD//1UAAAB/AFUAfwCqAH8A/wB/AAAffwBVH38Aqh9/AP8f
|
||||
fwAAP38AVT9/AKo/fwD/P38AAF9/AFVffwCqX38A/19/AAB/fwBVf38Aqn9/AP9/fwAAn38AVZ9/AKqf
|
||||
fwD/n38AAL9/AFW/fwCqv38A/79/AADffwBV338Aqt9/AP/ffwAA/38AVf9/AKr/fwD//38AAACqAFUA
|
||||
qgCqAKoA/wCqAAAfqgBVH6oAqh+qAP8fqgAAP6oAVT+qAKo/qgD/P6oAAF+qAFVfqgCqX6oA/1+qAAB/
|
||||
qgBVf6oAqn+qAP9/qgAAn6oAVZ+qAKqfqgD/n6oAAL+qAFW/qgCqv6oA/7+qAADfqgBV36oAqt+qAP/f
|
||||
qgAA/6oAVf+qAKr/qgD//6oAAADUAFUA1ACqANQA/wDUAAAf1ABVH9QAqh/UAP8f1AAAP9QAVT/UAKo/
|
||||
1AD/P9QAAF/UAFVf1ACqX9QA/1/UAAB/1ABVf9QAqn/UAP9/1AAAn9QAVZ/UAKqf1AD/n9QAAL/UAFW/
|
||||
1ACqv9QA/7/UAADf1ABV39QAqt/UAP/f1AAA/9QAVf/UAKr/1AD//9QAVQD/AKoA/wAAH/8AVR//AKof
|
||||
/wD/H/8AAD//AFU//wCqP/8A/z//AABf/wBVX/8Aql//AP9f/wAAf/8AVX//AKp//wD/f/8AAJ//AFWf
|
||||
/wCqn/8A/5//AAC//wBVv/8Aqr//AP+//wAA3/8AVd//AKrf/wD/3/8AVf//AKr//wD/zMwA/8z/AP//
|
||||
MwD//2YA//+ZAP//zAAAfwAAVX8AAKp/AAD/fwAAAJ8AAFWfAACqnwAA/58AAAC/AABVvwAAqr8AAP+/
|
||||
AAAA3wAAVd8AAKrfAAD/3wAAVf8AAKr/AAAAACoAVQAqAKoAKgD/ACoAAB8qAFUfKgCqHyoA/x8qAAA/
|
||||
KgBVPyoA8Pv/AKSgoACAgIAAAAD/AAD/AAAA//8A/wAAAAAAAAD//wAA////AP39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39qoYIqoYIhqoIqgiqCaoIqgiqhqqGhoYIhoYIqv39/f0I/f39
|
||||
/ar9/f39/YY2Ng4yDg4ODgoOCgoKCgqG/f39/Yb9/f39CP39/f39qjY7Ozs3Nzc3NjMSMjIOCqr9/f39
|
||||
qv39/f2G/f39/f0IN19fOzs3Nzc3NjcODg4KCP39/f0I/f39/ar9/f39/ao6X19fXzs7Ozc3NzY3NgqG
|
||||
/f39/Yb9/f39CP39/f39hl9jY19jX187Ozs7Nzc3Dqr9/f39qv39/f2G/f39/f0IOodjh19jX19fXztf
|
||||
OzcOCP39/f0ICAmqCAiqCKoICapfCYdjh2ODY19fXzs7Ow6q/f39/QhITEwoSCUoKSQoqmMJCYcJCWNj
|
||||
Y2NfY19fNgj9/f39qkyZmZmYmJRwlCmqX19fXl9fX186WzY3Njc2gv39/f0JcJ2dmZmZlJmUJAmqCaoJ
|
||||
hggIqggICKoIqggI/f39/YZwnp2dnZmZmJVMqnx8fHx8fFR8VHhUVFRUVKr9/f39CHChoZ2dnZ2ZmUwJ
|
||||
fKSkxqSkxqSkpKSkpKBUCP39/f2qcKLDoqGdnZ2ZTKp8ysakxqSkxqSkxqSkpFSq/f39/QiUpqbDoqHE
|
||||
nZ1Mq3ykqMakyqSkxqSkpKSkVAj9/f39hpTIyKbHoqGhoXAIfMrLpMqkxqSkxqTGpKRUqv39/f0IlMym
|
||||
yKbIpcShcAh8y6jKpMqkxsqkpKSkxlQI/f39/aqUzMzMyKbIpqJwqnzLy8qpxsqkpMakxqSkeAj9/f39
|
||||
CJSUlJSUlJSUlJQJgMupy8qpysqkyqSkxqRUqv39/f2GCKoIqgiqCKoIhgigrcvPqcuoy8qkxsqkxnyG
|
||||
/f39/ar9/f39/f39/f39qnzPz6nLy8uoyqnKpKTKVAj9/f39CP39/f39/f39/f0IfNDPz8+py8upyqjG
|
||||
yqR8hv39/f2G/f39/f39/f39/Qik0K7P0M+ty8vLy6jKpXyq/f39/ar9/f39/f39/f39CHzQ09Ctz8/P
|
||||
qcupy6jKeAj9/f39CP39/f39/f39/f2qoNPQ0NPQ0M/Qz8vLy6l8CP39/f2G/f39/f39/f39/QmkfKR8
|
||||
oHx8fHx8fHx8fHyG/f39/aoIqgiqCKoIqgiqCKoIqgiqCKoIqgiqCKoIqgj9/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3/////////////
|
||||
///AAAAD3vgAA974AAPe+AAD3vgAA974AAPe+AADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
|
||||
AAPAAAADwAAAA8AAAAPAAAADwAAAA9/4AAPf+AAD3/gAA9/4AAPf+AAD3/gAA8AAAAP//////////ygA
|
||||
AAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA
|
||||
gACAgAAAgICAAMDcwADwyqYAqj8qAP8/KgAAXyoAVV8qAKpfKgD/XyoAAH8qAFV/KgCqfyoA/38qAACf
|
||||
KgBVnyoAqp8qAP+fKgAAvyoAVb8qAKq/KgD/vyoAAN8qAFXfKgCq3yoA/98qAAD/KgBV/yoAqv8qAP//
|
||||
KgAAAFUAVQBVAKoAVQD/AFUAAB9VAFUfVQCqH1UA/x9VAAA/VQBVP1UAqj9VAP8/VQAAX1UAVV9VAKpf
|
||||
VQD/X1UAAH9VAFV/VQCqf1UA/39VAACfVQBVn1UAqp9VAP+fVQAAv1UAVb9VAKq/VQD/v1UAAN9VAFXf
|
||||
VQCq31UA/99VAAD/VQBV/1UAqv9VAP//VQAAAH8AVQB/AKoAfwD/AH8AAB9/AFUffwCqH38A/x9/AAA/
|
||||
fwBVP38Aqj9/AP8/fwAAX38AVV9/AKpffwD/X38AAH9/AFV/fwCqf38A/39/AACffwBVn38Aqp9/AP+f
|
||||
fwAAv38AVb9/AKq/fwD/v38AAN9/AFXffwCq338A/99/AAD/fwBV/38Aqv9/AP//fwAAAKoAVQCqAKoA
|
||||
qgD/AKoAAB+qAFUfqgCqH6oA/x+qAAA/qgBVP6oAqj+qAP8/qgAAX6oAVV+qAKpfqgD/X6oAAH+qAFV/
|
||||
qgCqf6oA/3+qAACfqgBVn6oAqp+qAP+fqgAAv6oAVb+qAKq/qgD/v6oAAN+qAFXfqgCq36oA/9+qAAD/
|
||||
qgBV/6oAqv+qAP//qgAAANQAVQDUAKoA1AD/ANQAAB/UAFUf1ACqH9QA/x/UAAA/1ABVP9QAqj/UAP8/
|
||||
1AAAX9QAVV/UAKpf1AD/X9QAAH/UAFV/1ACqf9QA/3/UAACf1ABVn9QAqp/UAP+f1AAAv9QAVb/UAKq/
|
||||
1AD/v9QAAN/UAFXf1ACq39QA/9/UAAD/1ABV/9QAqv/UAP//1ABVAP8AqgD/AAAf/wBVH/8Aqh//AP8f
|
||||
/wAAP/8AVT//AKo//wD/P/8AAF//AFVf/wCqX/8A/1//AAB//wBVf/8Aqn//AP9//wAAn/8AVZ//AKqf
|
||||
/wD/n/8AAL//AFW//wCqv/8A/7//AADf/wBV3/8Aqt//AP/f/wBV//8Aqv//AP/MzAD/zP8A//8zAP//
|
||||
ZgD//5kA///MAAB/AABVfwAAqn8AAP9/AAAAnwAAVZ8AAKqfAAD/nwAAAL8AAFW/AACqvwAA/78AAADf
|
||||
AABV3wAAqt8AAP/fAABV/wAAqv8AAAAAKgBVACoAqgAqAP8AKgAAHyoAVR8qAKofKgD/HyoAAD8qAFU/
|
||||
KgDw+/8ApKCgAICAgAAAAP8AAP8AAAD//wD/AAAAAAAAAP//AAD///8A/f39/f39/f39/f39/f39/f0I
|
||||
hgiqCKoICKoICKaGCP39qv39hv2GNg4ODjII/ar9/Yb9/ar9qjdjXzsOCP2G/f0IhquGCAleCWNfNob9
|
||||
qv39qkxMTEgIX19fX18I/Qj9/QhwnZlMqoYIqggIqgiG/f2qcKadcAl8fFQDVFQDqv39CHDMpnCqfMvL
|
||||
ysrKVAj9/QiUlHBwCYDPy8/LylSG/f2GqoYIqgig0M/Py8t8qv39CP39/f2GpNDQ0M/PfAn9/ar9/f39
|
||||
qqT20NDQ0Hyq/f2G/f39/QmkpKSloKR8CP39CKoIhgiqCIYIqgiGCKr9/f39/f39/f39/f39/f39/f//
|
||||
hv2AAf0ItAX9/bQFX2OABWNfgAU7O4ABNzeAAf39gAGq/YAB/YaAAf39vAE6h7wBX2O8AV9fgAE7N///
|
||||
/f0oAAAAIAAAAEAAAAABACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/7Z3Sf+zckT/rm0//6toO/+nYjb/pF4y/6BZLv+dVCr/mlEn/5dNI/+VSiH/kkce/5FE
|
||||
HP+RRBz/kUUb/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/v4JS//+aZv//lWD/+5Bc//WLV//uh1P/54FO/997S//Wdkb/zXBD/8Vr
|
||||
QP+9Zj3/tGI5/65dN/+RRRz/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAMK/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf/GjFv//6Rz//+fbf//m2f//5Zh//yRXf/3jVj/8IhV/+mD
|
||||
UP/hfUz/2HhI/9ByRP/HbED/v2c9/5VJIf/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAwr/B/86WZP//r4L//6p7//+mdf//oW7//5xo//+X
|
||||
Yv/9kl7/+I5a//KJVf/rhFH/4n5N/9t4SP/Sc0X/mlEm/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAADCv8H/1J9s//+4kf//tIv//6+E//+r
|
||||
ff//p3f//6Jw//+eav//mWT//pRf//qQWv/0i1b/7IVS/+V/Tv+gWC7/wr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf/apnP//7+d//+7
|
||||
mP//uJL//7WM//+whv//rH///6d4//+jcf//n2v//5ll//+VYP/6kVv/9YxY/6diN//Cv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/96t
|
||||
eP//wqL//8Gi//+/nv//vJn//7mT//+2jv//sYj//66A//+pev//pHP//6Bt//+bZ///l2L/r20//8K/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAwr/B/xYXev8XF3b/GBVx/xkUbf8ZFGr/GhNm/xoSY/8bEV//HBFd/xwQ
|
||||
W//Cv8H/4K96///Cov//wqL//8Ki///Cov//wJ///72b//+6lf//t4///7KJ//+ugv//qnv//6V0//+h
|
||||
bv+3d0n/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/FRqE/0dN1v8/RNL/Nz3Q/y40zv8nLcz/ISfK/xwh
|
||||
yf8WHMf/GxJh/8K/wf/gr3r/4K96/+Cvev/gr3r/3614/9yqdf/apnL/16Nw/9Sea//Rmmj/zZZk/8qR
|
||||
X//GjFz/w4dW/7+CUv/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8SHZD/WF3a/05U1/9FS9X/PUPS/zU7
|
||||
0P8uM83/JyzL/yAmyf8aFGn/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/xAfnP9obt7/YGTc/1Zb
|
||||
2f9NU9f/RUrU/ztB0v80OdD/LDHO/xgWcv/Cv8H/Dn+n/w18pP8MeqH/DHie/wt1m/8Kc5j/CXGV/wlv
|
||||
k/8JbJD/CGqN/wdpi/8HZ4j/BmWH/wZkhf8GYoP/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/DiKp/3l+
|
||||
4/9vdeH/Zmze/11i2/9UWtn/S1HW/0NI1P86P9H/Fhh9/8K/wf8Ogar/Barp/wGo6P8Apef/AKPm/wCi
|
||||
5P8An+L/AJ7h/wCd3/8AnN7/AJnc/wCY2/8AmNn/AJbX/wZjhP/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/
|
||||
wf8MJbX/iI7n/4CF5v93fOP/bnPg/2Vr3f9bYdv/UljY/0lP1v8UGoj/wr/B/w+Erf8Lrur/Bqvq/wOo
|
||||
6f8Apuf/AKTm/wCi5f8AoOT/AJ/i/wCd4f8AnN//AJrd/wCZ2/8AmNr/BmWH/8K/wf8AAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/wkowP+WnOz/jpTq/4aL6P9+hOX/dXri/2xx4P9jaN3/WV/b/xEek//Cv8H/EIaw/xay
|
||||
7P8Or+z/Cavr/wWq6v8Bp+j/AKbn/wCj5f8AoeT/AJ/j/wCe4f8AnOD/AJve/wCa3f8HZ4n/wr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/CCrK/6Ko7/+coe7/lZrr/42T6f+Fiub/fIHl/3N54v9rcN//ECGg/8K/
|
||||
wf8QiLP/I7nu/xq07f8Ssez/C63r/war6v8Cqen/AKbo/wCk5v8AouX/AKHk/wCf4f8AneH/AJzf/who
|
||||
i//Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8GLNP/q7Hy/6as8P+hpu//mp/u/5OY6/+LkOj/g4nm/3qA
|
||||
5P8NI6z/wr/B/xCKtv8xvvD/J7rv/x627f8Vsuz/Dq/s/wmr6/8Equn/Aafo/wCl5/8Ao+X/AKHk/wCf
|
||||
4v8AnuH/CGqO/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wUu2/+vtPP/r7Tz/6qv8v+mq/D/oKXv/5me
|
||||
7f+Sl+v/io/p/wsmt//Cv8H/Eo24/0HF8f82wfD/LLzv/yK47v8atO3/EbHs/wut6/8Gq+r/A6np/wCm
|
||||
6P8Apeb/AKLl/wCh5P8IbJD/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/BC/h/wQv3/8FL9z/BS3Z/wYt
|
||||
1v8GLNL/ByvP/wgqy/8IKcb/CSnC/8K/wf8Sjrv/Uszy/0fH8f87w/H/Mb7v/ye67/8et+7/FbPt/w6v
|
||||
6/8IrOv/BKnp/wGo6P8Apef/AKPl/wluk//Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/xKRvf9j0/P/WM/z/0zK8f9BxfH/N8Hw/yy8
|
||||
7/8iuO7/GbTt/xGx7P8Lruv/Bqrq/wOo6f8Apuf/CnGV/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCv8H/E5LA/3Ta8/9q1fP/XtHz/1LM
|
||||
8v9Hx/H/O8Pw/zG+7/8nu+//Hrbt/xay7f8Or+v/CKzq/wSq6f8Kc5j/wr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf8UlMH/hOD1/3rc
|
||||
9f9v2PP/ZNTy/1jO8v9NyvH/Qsbx/zbB8P8svO//I7ju/xm07f8SsOz/C67r/wt2m//Cv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwr/B/xSW
|
||||
w/+T5vb/iuL1/3/e9P912vT/adbz/13R8/9SzPL/R8jx/zzD8P8xvvD/J7rv/x627v8Vsuz/C3ie/8K/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/FJbG/57r9/+X6Pb/juT1/4Th9f963fX/b9j0/2PT8/9Yz/L/TMrx/0HF8f83wO//LLzv/yK4
|
||||
7v8MeqH/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf8VmMf/qO/3/6Lt9/+b6vb/kub2/4rj9f9/3vX/dNrz/2rV8/9d0fP/Uszy/0fI
|
||||
8f88w/D/Mr7v/w19pP/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAwr/B/xWZyP8UmMf/FZfF/xSVw/8TlML/E5K//xOQvf8Sjrv/EYy4/xGK
|
||||
tv8QiLL/D4Ww/w+Erf8Pgar/Dn+n/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//
|
||||
/////////////8AAAAPe+AAD3vgAA974AAPe+AAD3vgAA974AAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
|
||||
AAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAAD3/gAA9/4AAPf+AAD3/gAA9/4AAPf+AADwAAAA///
|
||||
////////KAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMDA/8DA
|
||||
wP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP8AAAAAAAAAAMDA
|
||||
wP8AAAAAAAAAAMDAwP8AAAAAwMDA/8F2R/+9bj//umc6/7diNf+3YjX/wMDA/wAAAADAwMD/AAAAAAAA
|
||||
AADAwMD/AAAAAAAAAADAwMD/AAAAAMDAwP/RkmD//7aP//+ldP/8kl3/vW0//8DAwP8AAAAAwMDA/wAA
|
||||
AAAAAAAAwMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/3ap2///Cov//to7//6V0/8uJWP/AwMD/AAAAAMDA
|
||||
wP8AAAAAAAAAAMDAwP8THI7/FBqF/xYYfP8XFnP/wMDA/+Cvev/gr3r/4K96/92qdv/ao3D/wMDA/wAA
|
||||
AADAwMD/AAAAAAAAAADAwMD/ECCd/2Fn3P8zOc//FRmC/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DA
|
||||
wP/AwMD/wMDA/wAAAAAAAAAAwMDA/w0krP+Pler/YWbd/xIcj//AwMD/DHmf/wpzmP8Ib5L/B2uO/wdq
|
||||
jf8Gao3/B2qN/8DAwP8AAAAAAAAAAMDAwP8KJrv/r7Tz/5CU6v8PIJ//wMDA/w+Dq/87y/z/Kcb8/xrD
|
||||
/P8QwPv/EMD7/wdqjf/AwMD/AAAAAAAAAADAwMD/CCrI/woowP8LJrf/DSSu/8DAwP8Sjbj/Zdb9/0/Q
|
||||
/P88y/v/Kcf7/xrC+/8IbZD/wMDA/wAAAAAAAAAAwMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/FpfG/43h
|
||||
/f962/3/Zdb8/0/Q/P87zPz/CXSZ/8DAwP8AAAAAAAAAAMDAwP8AAAAAAAAAAAAAAAAAAAAAwMDA/xif
|
||||
z/+u6f7/n+X9/47h/f953P3/ZNb9/w19pP/AwMD/AAAAAAAAAADAwMD/AAAAAAAAAAAAAAAAAAAAAMDA
|
||||
wP8apNX/uez+/7ns/v+u6f7/oOX9/43h/f8Rh7H/wMDA/wAAAAAAAAAAwMDA/wAAAAAAAAAAAAAAAAAA
|
||||
AADAwMD/GqTV/xqk1f8apNX/GaHR/xecy/8WmMb/FJK+/8DAwP8AAAAAAAAAAMDAwP/AwMD/wMDA/8DA
|
||||
wP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/AAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAgAEAALQF
|
||||
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>25</value>
|
||||
</metadata>
|
||||
</root>
|
||||
944
unimarc/WindowsFormsApp1/납품관리/List_aggregation.Designer.cs
generated
Normal file
944
unimarc/WindowsFormsApp1/납품관리/List_aggregation.Designer.cs
generated
Normal file
@@ -0,0 +1,944 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class List_aggregation
|
||||
{
|
||||
/// <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 dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(List_aggregation));
|
||||
this.btn_lookup = new System.Windows.Forms.Button();
|
||||
this.btn_save = new System.Windows.Forms.Button();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.combo_state = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.tb_clt = new System.Windows.Forms.TextBox();
|
||||
this.tb_dlv = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chk_label = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.Chk_Column = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.combo_user = new System.Windows.Forms.ComboBox();
|
||||
this.btn_process = new System.Windows.Forms.Button();
|
||||
this.btn_ISBN = new System.Windows.Forms.Button();
|
||||
this.btn_date = new System.Windows.Forms.Button();
|
||||
this.btn_checkup = new System.Windows.Forms.Button();
|
||||
this.btn_print = new System.Windows.Forms.Button();
|
||||
this.combo_year = new System.Windows.Forms.ComboBox();
|
||||
this.btn_close = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.lbl_send_n = new System.Windows.Forms.Label();
|
||||
this.lbl_l_n = new System.Windows.Forms.Label();
|
||||
this.lbl_unstock_count = new System.Windows.Forms.Label();
|
||||
this.lbl_stock_count = new System.Windows.Forms.Label();
|
||||
this.label27 = new System.Windows.Forms.Label();
|
||||
this.label23 = new System.Windows.Forms.Label();
|
||||
this.lbl_send_y = new System.Windows.Forms.Label();
|
||||
this.lbl_l_y = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.tb_stock_per = new System.Windows.Forms.TextBox();
|
||||
this.tb_total = new System.Windows.Forms.TextBox();
|
||||
this.tb_list_num = new System.Windows.Forms.TextBox();
|
||||
this.tb_date_res = new System.Windows.Forms.TextBox();
|
||||
this.tb_charge = new System.Windows.Forms.TextBox();
|
||||
this.tb_count = new System.Windows.Forms.TextBox();
|
||||
this.tb_stock = new System.Windows.Forms.TextBox();
|
||||
this.tb_date = new System.Windows.Forms.TextBox();
|
||||
this.tb_work_way = new System.Windows.Forms.TextBox();
|
||||
this.tb_send_way = new System.Windows.Forms.TextBox();
|
||||
this.tb_work_name = new System.Windows.Forms.TextBox();
|
||||
this.tb_list_name = new System.Windows.Forms.TextBox();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.lbl_stock_n = new System.Windows.Forms.Label();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.lbl_stock_y = new System.Windows.Forms.Label();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.btn_apply = new System.Windows.Forms.Button();
|
||||
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
|
||||
this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
|
||||
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btn_lookup
|
||||
//
|
||||
this.btn_lookup.Location = new System.Drawing.Point(718, 11);
|
||||
this.btn_lookup.Name = "btn_lookup";
|
||||
this.btn_lookup.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_lookup.TabIndex = 10;
|
||||
this.btn_lookup.Text = "조 회";
|
||||
this.btn_lookup.UseVisualStyleBackColor = true;
|
||||
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
|
||||
//
|
||||
// btn_save
|
||||
//
|
||||
this.btn_save.Location = new System.Drawing.Point(789, 11);
|
||||
this.btn_save.Name = "btn_save";
|
||||
this.btn_save.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_save.TabIndex = 11;
|
||||
this.btn_save.Text = "저 장";
|
||||
this.btn_save.UseVisualStyleBackColor = true;
|
||||
this.btn_save.Click += new System.EventHandler(this.btn_save_Click);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(12, 16);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(33, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "상 태";
|
||||
//
|
||||
// combo_state
|
||||
//
|
||||
this.combo_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_state.FormattingEnabled = true;
|
||||
this.combo_state.Location = new System.Drawing.Point(47, 12);
|
||||
this.combo_state.Name = "combo_state";
|
||||
this.combo_state.Size = new System.Drawing.Size(67, 20);
|
||||
this.combo_state.TabIndex = 2;
|
||||
this.combo_state.SelectedIndexChanged += new System.EventHandler(this.combo_state_SelectedIndexChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(349, 16);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 6;
|
||||
this.label2.Text = "거래처명";
|
||||
//
|
||||
// tb_clt
|
||||
//
|
||||
this.tb_clt.Location = new System.Drawing.Point(400, 12);
|
||||
this.tb_clt.Name = "tb_clt";
|
||||
this.tb_clt.Size = new System.Drawing.Size(126, 21);
|
||||
this.tb_clt.TabIndex = 7;
|
||||
//
|
||||
// tb_dlv
|
||||
//
|
||||
this.tb_dlv.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_dlv.Location = new System.Drawing.Point(586, 12);
|
||||
this.tb_dlv.Name = "tb_dlv";
|
||||
this.tb_dlv.Size = new System.Drawing.Size(126, 21);
|
||||
this.tb_dlv.TabIndex = 9;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(534, 16);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(53, 12);
|
||||
this.label3.TabIndex = 8;
|
||||
this.label3.Text = "납품처명";
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control;
|
||||
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;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.Column1,
|
||||
this.Column2,
|
||||
this.Column5,
|
||||
this.Column3,
|
||||
this.Column4,
|
||||
this.Column6,
|
||||
this.Column7,
|
||||
this.Column8,
|
||||
this.Column9,
|
||||
this.Column10,
|
||||
this.Column11,
|
||||
this.Column12,
|
||||
this.Column13,
|
||||
this.Column18,
|
||||
this.Column20,
|
||||
this.chk_label,
|
||||
this.Chk_Column});
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnKeystroke;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(12, 40);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 20;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(911, 447);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// Column1
|
||||
//
|
||||
this.Column1.HeaderText = "목록명";
|
||||
this.Column1.Name = "Column1";
|
||||
this.Column1.Width = 150;
|
||||
//
|
||||
// Column2
|
||||
//
|
||||
this.Column2.HeaderText = "목록일자";
|
||||
this.Column2.Name = "Column2";
|
||||
this.Column2.Width = 70;
|
||||
//
|
||||
// Column5
|
||||
//
|
||||
this.Column5.HeaderText = "완료일자";
|
||||
this.Column5.Name = "Column5";
|
||||
this.Column5.Width = 70;
|
||||
//
|
||||
// Column3
|
||||
//
|
||||
this.Column3.HeaderText = "담당자";
|
||||
this.Column3.Name = "Column3";
|
||||
this.Column3.Width = 50;
|
||||
//
|
||||
// Column4
|
||||
//
|
||||
this.Column4.HeaderText = "작업명";
|
||||
this.Column4.Name = "Column4";
|
||||
this.Column4.Visible = false;
|
||||
this.Column4.Width = 150;
|
||||
//
|
||||
// Column6
|
||||
//
|
||||
this.Column6.HeaderText = "작업방법";
|
||||
this.Column6.Name = "Column6";
|
||||
this.Column6.Visible = false;
|
||||
//
|
||||
// Column7
|
||||
//
|
||||
this.Column7.HeaderText = "배송방법";
|
||||
this.Column7.Name = "Column7";
|
||||
this.Column7.Visible = false;
|
||||
//
|
||||
// Column8
|
||||
//
|
||||
this.Column8.HeaderText = "합계금액";
|
||||
this.Column8.Name = "Column8";
|
||||
this.Column8.Width = 90;
|
||||
//
|
||||
// Column9
|
||||
//
|
||||
this.Column9.HeaderText = "입고금액";
|
||||
this.Column9.Name = "Column9";
|
||||
this.Column9.Width = 90;
|
||||
//
|
||||
// Column10
|
||||
//
|
||||
this.Column10.HeaderText = "수량";
|
||||
this.Column10.Name = "Column10";
|
||||
this.Column10.Width = 40;
|
||||
//
|
||||
// Column11
|
||||
//
|
||||
this.Column11.HeaderText = "입고";
|
||||
this.Column11.Name = "Column11";
|
||||
this.Column11.Width = 50;
|
||||
//
|
||||
// Column12
|
||||
//
|
||||
this.Column12.HeaderText = "미입고";
|
||||
this.Column12.Name = "Column12";
|
||||
this.Column12.Width = 50;
|
||||
//
|
||||
// Column13
|
||||
//
|
||||
this.Column13.HeaderText = "입고율";
|
||||
this.Column13.Name = "Column13";
|
||||
this.Column13.Width = 50;
|
||||
//
|
||||
// Column18
|
||||
//
|
||||
this.Column18.HeaderText = "택배";
|
||||
this.Column18.Name = "Column18";
|
||||
this.Column18.Width = 50;
|
||||
//
|
||||
// Column20
|
||||
//
|
||||
this.Column20.HeaderText = "목록번호";
|
||||
this.Column20.Name = "Column20";
|
||||
this.Column20.Width = 70;
|
||||
//
|
||||
// chk_label
|
||||
//
|
||||
this.chk_label.HeaderText = "라벨";
|
||||
this.chk_label.Name = "chk_label";
|
||||
this.chk_label.Visible = false;
|
||||
//
|
||||
// Chk_Column
|
||||
//
|
||||
this.Chk_Column.HeaderText = "체크";
|
||||
this.Chk_Column.Name = "Chk_Column";
|
||||
this.Chk_Column.Visible = false;
|
||||
this.Chk_Column.Width = 40;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(212, 16);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(41, 12);
|
||||
this.label5.TabIndex = 4;
|
||||
this.label5.Text = "담당자";
|
||||
//
|
||||
// combo_user
|
||||
//
|
||||
this.combo_user.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_user.FormattingEnabled = true;
|
||||
this.combo_user.Location = new System.Drawing.Point(252, 12);
|
||||
this.combo_user.Name = "combo_user";
|
||||
this.combo_user.Size = new System.Drawing.Size(89, 20);
|
||||
this.combo_user.TabIndex = 5;
|
||||
//
|
||||
// btn_process
|
||||
//
|
||||
this.btn_process.Location = new System.Drawing.Point(308, 6);
|
||||
this.btn_process.Name = "btn_process";
|
||||
this.btn_process.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_process.TabIndex = 4;
|
||||
this.btn_process.Text = "완료처리";
|
||||
this.btn_process.UseVisualStyleBackColor = true;
|
||||
this.btn_process.Click += new System.EventHandler(this.btn_process_Click);
|
||||
//
|
||||
// btn_ISBN
|
||||
//
|
||||
this.btn_ISBN.Location = new System.Drawing.Point(166, 6);
|
||||
this.btn_ISBN.Name = "btn_ISBN";
|
||||
this.btn_ISBN.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_ISBN.TabIndex = 2;
|
||||
this.btn_ISBN.Text = "ISBN조회";
|
||||
this.btn_ISBN.UseVisualStyleBackColor = true;
|
||||
this.btn_ISBN.Click += new System.EventHandler(this.btn_ISBN_Click);
|
||||
//
|
||||
// btn_date
|
||||
//
|
||||
this.btn_date.Enabled = false;
|
||||
this.btn_date.Location = new System.Drawing.Point(237, 6);
|
||||
this.btn_date.Name = "btn_date";
|
||||
this.btn_date.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_date.TabIndex = 3;
|
||||
this.btn_date.Text = "일 정";
|
||||
this.btn_date.UseVisualStyleBackColor = true;
|
||||
this.btn_date.Click += new System.EventHandler(this.btn_date_Click);
|
||||
//
|
||||
// btn_checkup
|
||||
//
|
||||
this.btn_checkup.Location = new System.Drawing.Point(95, 6);
|
||||
this.btn_checkup.Name = "btn_checkup";
|
||||
this.btn_checkup.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_checkup.TabIndex = 1;
|
||||
this.btn_checkup.Text = "검수작업";
|
||||
this.btn_checkup.UseVisualStyleBackColor = true;
|
||||
this.btn_checkup.Click += new System.EventHandler(this.btn_checkup_Click);
|
||||
//
|
||||
// btn_print
|
||||
//
|
||||
this.btn_print.Location = new System.Drawing.Point(860, 11);
|
||||
this.btn_print.Name = "btn_print";
|
||||
this.btn_print.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_print.TabIndex = 12;
|
||||
this.btn_print.Text = "인 쇄";
|
||||
this.btn_print.UseVisualStyleBackColor = true;
|
||||
this.btn_print.Click += new System.EventHandler(this.btn_print_Click);
|
||||
//
|
||||
// combo_year
|
||||
//
|
||||
this.combo_year.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_year.FormattingEnabled = true;
|
||||
this.combo_year.Location = new System.Drawing.Point(120, 12);
|
||||
this.combo_year.Name = "combo_year";
|
||||
this.combo_year.Size = new System.Drawing.Size(84, 20);
|
||||
this.combo_year.TabIndex = 3;
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(931, 11);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_close.TabIndex = 13;
|
||||
this.btn_close.Text = "닫 기";
|
||||
this.btn_close.UseVisualStyleBackColor = true;
|
||||
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.label20);
|
||||
this.panel1.Controls.Add(this.label21);
|
||||
this.panel1.Controls.Add(this.lbl_send_n);
|
||||
this.panel1.Controls.Add(this.lbl_l_n);
|
||||
this.panel1.Controls.Add(this.lbl_unstock_count);
|
||||
this.panel1.Controls.Add(this.lbl_stock_count);
|
||||
this.panel1.Controls.Add(this.label27);
|
||||
this.panel1.Controls.Add(this.label23);
|
||||
this.panel1.Controls.Add(this.lbl_send_y);
|
||||
this.panel1.Controls.Add(this.lbl_l_y);
|
||||
this.panel1.Controls.Add(this.label19);
|
||||
this.panel1.Controls.Add(this.tb_stock_per);
|
||||
this.panel1.Controls.Add(this.tb_total);
|
||||
this.panel1.Controls.Add(this.tb_list_num);
|
||||
this.panel1.Controls.Add(this.tb_date_res);
|
||||
this.panel1.Controls.Add(this.tb_charge);
|
||||
this.panel1.Controls.Add(this.tb_count);
|
||||
this.panel1.Controls.Add(this.tb_stock);
|
||||
this.panel1.Controls.Add(this.tb_date);
|
||||
this.panel1.Controls.Add(this.tb_work_way);
|
||||
this.panel1.Controls.Add(this.tb_send_way);
|
||||
this.panel1.Controls.Add(this.tb_work_name);
|
||||
this.panel1.Controls.Add(this.tb_list_name);
|
||||
this.panel1.Controls.Add(this.label18);
|
||||
this.panel1.Controls.Add(this.lbl_stock_n);
|
||||
this.panel1.Controls.Add(this.label16);
|
||||
this.panel1.Controls.Add(this.lbl_stock_y);
|
||||
this.panel1.Controls.Add(this.label14);
|
||||
this.panel1.Controls.Add(this.label13);
|
||||
this.panel1.Controls.Add(this.label12);
|
||||
this.panel1.Controls.Add(this.label11);
|
||||
this.panel1.Controls.Add(this.label10);
|
||||
this.panel1.Controls.Add(this.label9);
|
||||
this.panel1.Controls.Add(this.label8);
|
||||
this.panel1.Controls.Add(this.label7);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.btn_ISBN);
|
||||
this.panel1.Controls.Add(this.btn_date);
|
||||
this.panel1.Controls.Add(this.btn_apply);
|
||||
this.panel1.Controls.Add(this.btn_checkup);
|
||||
this.panel1.Controls.Add(this.btn_process);
|
||||
this.panel1.Location = new System.Drawing.Point(1002, 5);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(385, 478);
|
||||
this.panel1.TabIndex = 14;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label20.Location = new System.Drawing.Point(201, 111);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(59, 13);
|
||||
this.label20.TabIndex = 16;
|
||||
this.label20.Text = "목록번호";
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
this.label21.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label21.Location = new System.Drawing.Point(10, 309);
|
||||
this.label21.Name = "label21";
|
||||
this.label21.Size = new System.Drawing.Size(59, 13);
|
||||
this.label21.TabIndex = 16;
|
||||
this.label21.Text = "라벨여부";
|
||||
//
|
||||
// lbl_send_n
|
||||
//
|
||||
this.lbl_send_n.AutoSize = true;
|
||||
this.lbl_send_n.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_send_n.Location = new System.Drawing.Point(338, 309);
|
||||
this.lbl_send_n.Name = "lbl_send_n";
|
||||
this.lbl_send_n.Size = new System.Drawing.Size(24, 13);
|
||||
this.lbl_send_n.TabIndex = 16;
|
||||
this.lbl_send_n.Text = "No";
|
||||
this.lbl_send_n.Click += new System.EventHandler(this.lbl_l_y_Click);
|
||||
//
|
||||
// lbl_l_n
|
||||
//
|
||||
this.lbl_l_n.AutoSize = true;
|
||||
this.lbl_l_n.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_l_n.Location = new System.Drawing.Point(148, 309);
|
||||
this.lbl_l_n.Name = "lbl_l_n";
|
||||
this.lbl_l_n.Size = new System.Drawing.Size(24, 13);
|
||||
this.lbl_l_n.TabIndex = 16;
|
||||
this.lbl_l_n.Text = "No";
|
||||
this.lbl_l_n.Click += new System.EventHandler(this.lbl_l_y_Click);
|
||||
//
|
||||
// lbl_unstock_count
|
||||
//
|
||||
this.lbl_unstock_count.AutoSize = true;
|
||||
this.lbl_unstock_count.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_unstock_count.Location = new System.Drawing.Point(185, 338);
|
||||
this.lbl_unstock_count.Name = "lbl_unstock_count";
|
||||
this.lbl_unstock_count.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_unstock_count.TabIndex = 16;
|
||||
this.lbl_unstock_count.Text = "0";
|
||||
//
|
||||
// lbl_stock_count
|
||||
//
|
||||
this.lbl_stock_count.AutoSize = true;
|
||||
this.lbl_stock_count.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_stock_count.Location = new System.Drawing.Point(74, 338);
|
||||
this.lbl_stock_count.Name = "lbl_stock_count";
|
||||
this.lbl_stock_count.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_stock_count.TabIndex = 16;
|
||||
this.lbl_stock_count.Text = "0";
|
||||
//
|
||||
// label27
|
||||
//
|
||||
this.label27.AutoSize = true;
|
||||
this.label27.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label27.Location = new System.Drawing.Point(317, 309);
|
||||
this.label27.Name = "label27";
|
||||
this.label27.Size = new System.Drawing.Size(13, 13);
|
||||
this.label27.TabIndex = 16;
|
||||
this.label27.Text = "/";
|
||||
//
|
||||
// label23
|
||||
//
|
||||
this.label23.AutoSize = true;
|
||||
this.label23.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label23.Location = new System.Drawing.Point(127, 309);
|
||||
this.label23.Name = "label23";
|
||||
this.label23.Size = new System.Drawing.Size(13, 13);
|
||||
this.label23.TabIndex = 16;
|
||||
this.label23.Text = "/";
|
||||
//
|
||||
// lbl_send_y
|
||||
//
|
||||
this.lbl_send_y.AutoSize = true;
|
||||
this.lbl_send_y.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_send_y.Location = new System.Drawing.Point(278, 309);
|
||||
this.lbl_send_y.Name = "lbl_send_y";
|
||||
this.lbl_send_y.Size = new System.Drawing.Size(31, 13);
|
||||
this.lbl_send_y.TabIndex = 16;
|
||||
this.lbl_send_y.Text = "Yes";
|
||||
this.lbl_send_y.Click += new System.EventHandler(this.lbl_l_y_Click);
|
||||
//
|
||||
// lbl_l_y
|
||||
//
|
||||
this.lbl_l_y.AutoSize = true;
|
||||
this.lbl_l_y.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_l_y.Location = new System.Drawing.Point(88, 309);
|
||||
this.lbl_l_y.Name = "lbl_l_y";
|
||||
this.lbl_l_y.Size = new System.Drawing.Size(31, 13);
|
||||
this.lbl_l_y.TabIndex = 16;
|
||||
this.lbl_l_y.Text = "Yes";
|
||||
this.lbl_l_y.Click += new System.EventHandler(this.lbl_l_y_Click);
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label19.Location = new System.Drawing.Point(227, 309);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(33, 13);
|
||||
this.label19.TabIndex = 16;
|
||||
this.label19.Text = "택배";
|
||||
//
|
||||
// tb_stock_per
|
||||
//
|
||||
this.tb_stock_per.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_stock_per.Location = new System.Drawing.Point(262, 276);
|
||||
this.tb_stock_per.Name = "tb_stock_per";
|
||||
this.tb_stock_per.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_stock_per.TabIndex = 16;
|
||||
//
|
||||
// tb_total
|
||||
//
|
||||
this.tb_total.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_total.Location = new System.Drawing.Point(262, 247);
|
||||
this.tb_total.Name = "tb_total";
|
||||
this.tb_total.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_total.TabIndex = 14;
|
||||
//
|
||||
// tb_list_num
|
||||
//
|
||||
this.tb_list_num.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_list_num.Location = new System.Drawing.Point(262, 107);
|
||||
this.tb_list_num.Name = "tb_list_num";
|
||||
this.tb_list_num.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_list_num.TabIndex = 9;
|
||||
//
|
||||
// tb_date_res
|
||||
//
|
||||
this.tb_date_res.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_date_res.Location = new System.Drawing.Point(262, 78);
|
||||
this.tb_date_res.Name = "tb_date_res";
|
||||
this.tb_date_res.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_date_res.TabIndex = 7;
|
||||
//
|
||||
// tb_charge
|
||||
//
|
||||
this.tb_charge.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_charge.Enabled = false;
|
||||
this.tb_charge.Location = new System.Drawing.Point(74, 107);
|
||||
this.tb_charge.Name = "tb_charge";
|
||||
this.tb_charge.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_charge.TabIndex = 8;
|
||||
//
|
||||
// tb_count
|
||||
//
|
||||
this.tb_count.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_count.Location = new System.Drawing.Point(74, 276);
|
||||
this.tb_count.Name = "tb_count";
|
||||
this.tb_count.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_count.TabIndex = 15;
|
||||
//
|
||||
// tb_stock
|
||||
//
|
||||
this.tb_stock.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_stock.Location = new System.Drawing.Point(74, 247);
|
||||
this.tb_stock.Name = "tb_stock";
|
||||
this.tb_stock.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_stock.TabIndex = 13;
|
||||
//
|
||||
// tb_date
|
||||
//
|
||||
this.tb_date.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_date.Location = new System.Drawing.Point(74, 78);
|
||||
this.tb_date.Name = "tb_date";
|
||||
this.tb_date.Size = new System.Drawing.Size(111, 21);
|
||||
this.tb_date.TabIndex = 6;
|
||||
//
|
||||
// tb_work_way
|
||||
//
|
||||
this.tb_work_way.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_work_way.Location = new System.Drawing.Point(74, 165);
|
||||
this.tb_work_way.Multiline = true;
|
||||
this.tb_work_way.Name = "tb_work_way";
|
||||
this.tb_work_way.Size = new System.Drawing.Size(299, 45);
|
||||
this.tb_work_way.TabIndex = 11;
|
||||
//
|
||||
// tb_send_way
|
||||
//
|
||||
this.tb_send_way.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_send_way.Location = new System.Drawing.Point(74, 218);
|
||||
this.tb_send_way.Name = "tb_send_way";
|
||||
this.tb_send_way.Size = new System.Drawing.Size(299, 21);
|
||||
this.tb_send_way.TabIndex = 12;
|
||||
//
|
||||
// tb_work_name
|
||||
//
|
||||
this.tb_work_name.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_work_name.Location = new System.Drawing.Point(74, 136);
|
||||
this.tb_work_name.Name = "tb_work_name";
|
||||
this.tb_work_name.Size = new System.Drawing.Size(299, 21);
|
||||
this.tb_work_name.TabIndex = 10;
|
||||
//
|
||||
// tb_list_name
|
||||
//
|
||||
this.tb_list_name.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.tb_list_name.Location = new System.Drawing.Point(74, 49);
|
||||
this.tb_list_name.Name = "tb_list_name";
|
||||
this.tb_list_name.Size = new System.Drawing.Size(299, 21);
|
||||
this.tb_list_name.TabIndex = 5;
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.AutoSize = true;
|
||||
this.label18.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label18.Location = new System.Drawing.Point(214, 280);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(46, 13);
|
||||
this.label18.TabIndex = 16;
|
||||
this.label18.Text = "입고율";
|
||||
//
|
||||
// lbl_stock_n
|
||||
//
|
||||
this.lbl_stock_n.AutoSize = true;
|
||||
this.lbl_stock_n.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_stock_n.Location = new System.Drawing.Point(134, 338);
|
||||
this.lbl_stock_n.Name = "lbl_stock_n";
|
||||
this.lbl_stock_n.Size = new System.Drawing.Size(46, 13);
|
||||
this.lbl_stock_n.TabIndex = 16;
|
||||
this.lbl_stock_n.Text = "미입고";
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label16.Location = new System.Drawing.Point(36, 280);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(33, 13);
|
||||
this.label16.TabIndex = 16;
|
||||
this.label16.Text = "수량";
|
||||
//
|
||||
// lbl_stock_y
|
||||
//
|
||||
this.lbl_stock_y.AutoSize = true;
|
||||
this.lbl_stock_y.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.lbl_stock_y.Location = new System.Drawing.Point(36, 338);
|
||||
this.lbl_stock_y.Name = "lbl_stock_y";
|
||||
this.lbl_stock_y.Size = new System.Drawing.Size(33, 13);
|
||||
this.lbl_stock_y.TabIndex = 16;
|
||||
this.lbl_stock_y.Text = "입고";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label14.Location = new System.Drawing.Point(201, 251);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(59, 13);
|
||||
this.label14.TabIndex = 16;
|
||||
this.label14.Text = "합계금액";
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label13.Location = new System.Drawing.Point(10, 251);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(59, 13);
|
||||
this.label13.TabIndex = 16;
|
||||
this.label13.Text = "입고금액";
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label12.Location = new System.Drawing.Point(10, 222);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(59, 13);
|
||||
this.label12.TabIndex = 16;
|
||||
this.label12.Text = "배송방법";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label11.Location = new System.Drawing.Point(10, 169);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(59, 13);
|
||||
this.label11.TabIndex = 16;
|
||||
this.label11.Text = "작업방법";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label10.Location = new System.Drawing.Point(23, 140);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(46, 13);
|
||||
this.label10.TabIndex = 16;
|
||||
this.label10.Text = "작업명";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label9.Location = new System.Drawing.Point(23, 111);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(46, 13);
|
||||
this.label9.TabIndex = 16;
|
||||
this.label9.Text = "담당자";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label8.Location = new System.Drawing.Point(201, 82);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(59, 13);
|
||||
this.label8.TabIndex = 16;
|
||||
this.label8.Text = "완료일자";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label7.Location = new System.Drawing.Point(10, 82);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(59, 13);
|
||||
this.label7.TabIndex = 16;
|
||||
this.label7.Text = "목록일자";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("굴림", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.label4.Location = new System.Drawing.Point(23, 53);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(46, 13);
|
||||
this.label4.TabIndex = 16;
|
||||
this.label4.Text = "목록명";
|
||||
//
|
||||
// btn_apply
|
||||
//
|
||||
this.btn_apply.Location = new System.Drawing.Point(24, 6);
|
||||
this.btn_apply.Name = "btn_apply";
|
||||
this.btn_apply.Size = new System.Drawing.Size(65, 23);
|
||||
this.btn_apply.TabIndex = 0;
|
||||
this.btn_apply.Text = "적 용";
|
||||
this.btn_apply.UseVisualStyleBackColor = true;
|
||||
this.btn_apply.Click += new System.EventHandler(this.btn_apply_Click);
|
||||
//
|
||||
// printPreviewDialog1
|
||||
//
|
||||
this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
|
||||
this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
|
||||
this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
|
||||
this.printPreviewDialog1.Enabled = true;
|
||||
this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
|
||||
this.printPreviewDialog1.Name = "printPreviewDialog1";
|
||||
this.printPreviewDialog1.Visible = false;
|
||||
//
|
||||
// printDocument1
|
||||
//
|
||||
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
|
||||
//
|
||||
// List_aggregation
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1395, 615);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.btn_close);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.tb_dlv);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.tb_clt);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.combo_user);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.combo_year);
|
||||
this.Controls.Add(this.combo_state);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btn_print);
|
||||
this.Controls.Add(this.btn_save);
|
||||
this.Controls.Add(this.btn_lookup);
|
||||
this.Name = "List_aggregation";
|
||||
this.Text = "목록집계";
|
||||
this.Load += new System.EventHandler(this.List_aggregation_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button btn_lookup;
|
||||
private System.Windows.Forms.Button btn_save;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox combo_state;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.TextBox tb_clt;
|
||||
private System.Windows.Forms.TextBox tb_dlv;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.ComboBox combo_user;
|
||||
private System.Windows.Forms.Button btn_process;
|
||||
private System.Windows.Forms.Button btn_ISBN;
|
||||
private System.Windows.Forms.Button btn_date;
|
||||
private System.Windows.Forms.Button btn_checkup;
|
||||
private System.Windows.Forms.Button btn_print;
|
||||
private System.Windows.Forms.ComboBox combo_year;
|
||||
private System.Windows.Forms.Button btn_close;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
|
||||
private System.Windows.Forms.PageSetupDialog pageSetupDialog1;
|
||||
private System.Drawing.Printing.PrintDocument printDocument1;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.Label label21;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.Label lbl_stock_n;
|
||||
private System.Windows.Forms.Label label16;
|
||||
private System.Windows.Forms.Label lbl_stock_y;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox tb_date_res;
|
||||
private System.Windows.Forms.TextBox tb_date;
|
||||
private System.Windows.Forms.TextBox tb_list_name;
|
||||
private System.Windows.Forms.TextBox tb_charge;
|
||||
private System.Windows.Forms.Label lbl_l_n;
|
||||
private System.Windows.Forms.Label label23;
|
||||
private System.Windows.Forms.Label lbl_l_y;
|
||||
private System.Windows.Forms.TextBox tb_total;
|
||||
private System.Windows.Forms.TextBox tb_count;
|
||||
private System.Windows.Forms.TextBox tb_stock;
|
||||
private System.Windows.Forms.TextBox tb_work_way;
|
||||
private System.Windows.Forms.TextBox tb_send_way;
|
||||
private System.Windows.Forms.TextBox tb_work_name;
|
||||
private System.Windows.Forms.Label lbl_stock_count;
|
||||
private System.Windows.Forms.TextBox tb_stock_per;
|
||||
private System.Windows.Forms.TextBox tb_list_num;
|
||||
private System.Windows.Forms.Label lbl_send_n;
|
||||
private System.Windows.Forms.Label label27;
|
||||
private System.Windows.Forms.Label lbl_send_y;
|
||||
private System.Windows.Forms.Label lbl_unstock_count;
|
||||
private System.Windows.Forms.Button btn_apply;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column9;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column10;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chk_label;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn Chk_Column;
|
||||
}
|
||||
}
|
||||
487
unimarc/WindowsFormsApp1/납품관리/List_aggregation.cs
Normal file
487
unimarc/WindowsFormsApp1/납품관리/List_aggregation.cs
Normal file
@@ -0,0 +1,487 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Printing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WindowsFormsApp1.Mac;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class List_aggregation : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
string db_tmp;
|
||||
public int EditNumber;
|
||||
public string compidx;
|
||||
int row = 0;
|
||||
Main main;
|
||||
public List_aggregation(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
}
|
||||
/////// TODO:
|
||||
// 새로운 폼 작업 필요.
|
||||
// "목록집계등록"
|
||||
private void List_aggregation_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
// 작업명 - 배송방법까진 수정이 가능하여야함. 3,4,5,6 + 체크 추가
|
||||
for (int a = 0; a < 16; a++)
|
||||
{
|
||||
if(a==2 || a == 4 || a == 5 || a == 6 || a == 15) {
|
||||
dataGridView1.Columns[a].ReadOnly = false;
|
||||
}
|
||||
else { dataGridView1.Columns[a].ReadOnly = true; }
|
||||
}
|
||||
string[] state = { "진행", "완료", "전체" };
|
||||
combo_state.Items.AddRange(state);
|
||||
combo_state.SelectedIndex = 0;
|
||||
|
||||
string[] years = {"2009", "2010", "2011", "2012", "2013",
|
||||
"2014", "2015", "2016", "2017", "2018",
|
||||
"2019", "2020"};
|
||||
combo_year.Items.AddRange(years);
|
||||
combo_year.SelectedIndex = 11;
|
||||
combo_year.Visible = false;
|
||||
|
||||
combo_user.Items.Add("전체");
|
||||
string[] user_tmp = main.DB_User_Data.Split('|');
|
||||
string cmd = db.self_Made_Cmd("SELECT `name` FROM `User_Data` WHERE `affil` = '" + user_tmp[5] + "';");
|
||||
string[] user_name = cmd.Split('|');
|
||||
for(int a = 0; a < user_name.Length; a++)
|
||||
{
|
||||
if (a == user_name.Length - 1) { break; }
|
||||
combo_user.Items.Add(user_name[a]);
|
||||
}
|
||||
combo_user.SelectedIndex = 0;
|
||||
|
||||
string searchdb = "`list_name`, `date`, `date_res`, `charge`, `work_name`, " +
|
||||
"`work_way`, `send_way`, `total`, `stock_money`, `vol`, " +
|
||||
"`stock`, `unstock`, `list_num`, `chk_marc`";
|
||||
string[] searchdb1 = { "comp_num", "state" };
|
||||
string[] searchdb2 = { compidx, "진행" };
|
||||
db_tmp = db.More_DB_Search("Obj_List", searchdb1, searchdb2, searchdb);
|
||||
Made_Grid(db_tmp);
|
||||
dataGridView1.Focus();
|
||||
infor_Update(0);
|
||||
}
|
||||
/// <summary>
|
||||
/// 표에 값을 채우는 함수.
|
||||
/// </summary>
|
||||
/// <param name="tmp">분할을 하지않은 데이터베이스 값</param>
|
||||
private void Made_Grid(string tmp)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string[] db_data = tmp.Split('|');
|
||||
string[] grid = {"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "", "" };
|
||||
for (int a = 0; a < db_data.Length; a++)
|
||||
{
|
||||
if (a % 14 == 0) { grid[0] = db_data[a]; }
|
||||
if (a % 14 == 1) {
|
||||
if (db_data[a].Length < 3) {
|
||||
grid[1] = db_data[a];
|
||||
}
|
||||
else { grid[1] = db_data[a].Substring(0, 10); }
|
||||
grid[1] = db_data[a]; }
|
||||
if (a % 14 == 2) {
|
||||
if (db_data[a].Length < 3) {
|
||||
grid[2] = db_data[a];
|
||||
}
|
||||
else { grid[2] = db_data[a].Substring(0, 10); }
|
||||
}
|
||||
if (a % 14 == 3) { grid[3] = db_data[a]; }
|
||||
if (a % 14 == 4) { grid[4] = db_data[a]; }
|
||||
if (a % 14 == 5) { grid[5] = db_data[a]; }
|
||||
if (a % 14 == 6) { grid[6] = db_data[a]; }
|
||||
if (a % 14 == 7) { grid[7] = db_data[a]; }
|
||||
if (a % 14 == 8) { grid[8] = db_data[a]; }
|
||||
if (a % 14 == 9) { grid[9] = db_data[a]; }
|
||||
if (a % 14 == 10) { grid[10] = db_data[a]; }
|
||||
if (a % 14 == 11) { grid[11] = db_data[a]; }
|
||||
if (a % 14 == 12) { grid[14] = db_data[a]; }
|
||||
if (a % 14 == 13) { grid[15] = db_data[a]; dataGridView1.Rows.Add(grid); }
|
||||
}
|
||||
GridColorChange();
|
||||
}
|
||||
private void btn_lookup_Click(object sender, EventArgs e) // 조회
|
||||
{
|
||||
string cmd = "SELECT `list_name`, `date`, `date_res`, `charge`, `work_name`, " +
|
||||
"`work_way`, `send_way`, `total`, `stock_money`, `vol`, " +
|
||||
"`stock`, `unstock`, `list_num`, `chk_label` " +
|
||||
"FROM Obj_List WHERE `comp_num` = '" + main.com_idx + "'";
|
||||
if(combo_state.Text == "진행") { cmd += " AND `state` = '진행'"; }
|
||||
if(combo_state.Text == "완료") {
|
||||
cmd += " AND `state` = '완료'";
|
||||
// TODO: 연도 적용
|
||||
}
|
||||
if(combo_user.Text != "전체") { cmd += " AND `charge` = '" + combo_user.Text + "'"; }
|
||||
if(tb_clt.Text != "") { cmd += " AND `clt` LIKE'%" + tb_clt.Text + "%'"; }
|
||||
if(tb_dlv.Text != "") { cmd += " AND `dly` LIKE'%" + tb_dlv.Text + "%'"; }
|
||||
cmd += ";";
|
||||
string tmp = db.self_Made_Cmd(cmd);
|
||||
Made_Grid(tmp);
|
||||
}
|
||||
private void btn_save_Click(object sender, EventArgs e) // 저장
|
||||
{
|
||||
string table = "Obj_List";
|
||||
string[] Edit_col = { "work_name", "work_way", "send_way" };
|
||||
string[] Search_col = { "list_name", "total" };
|
||||
string edit1, edit2, edit3;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if(dataGridView1.Rows[a].Cells["Column4"].Value.ToString() == null) { edit1 = ""; }
|
||||
else { edit1 = dataGridView1.Rows[a].Cells["Column4"].Value.ToString(); }
|
||||
|
||||
if(dataGridView1.Rows[a].Cells["Column6"].Value.ToString() == null) { edit2 = ""; }
|
||||
else { edit2 = dataGridView1.Rows[a].Cells["Column6"].Value.ToString(); }
|
||||
|
||||
if(dataGridView1.Rows[a].Cells["Column7"].Value.ToString() == null) { edit3 = ""; }
|
||||
else { edit3 = dataGridView1.Rows[a].Cells["Column7"].Value.ToString(); }
|
||||
|
||||
string[] Edit_Data = { edit1, edit2, edit3 };
|
||||
string[] Search_Data = {dataGridView1.Rows[a].Cells["Column1"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["Column8"].Value.ToString()};
|
||||
db.More_Update(table, Edit_col, Edit_Data, Search_col, Search_Data);
|
||||
}
|
||||
}
|
||||
private void btn_process_Click(object sender, EventArgs e) // 완료처리
|
||||
{
|
||||
string table = "Obj_List";
|
||||
string[] Edit_col = { "state" };
|
||||
string[] Search_col = { "list_name", "total" };
|
||||
string[] Edit_Data = { "완료" };
|
||||
|
||||
int cout = 0;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView1.Rows[a].Cells["Chk_Column"].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
if (cout == 0) { EditNumber = a; cout++; }
|
||||
string[] Search_Data = { dataGridView1.Rows[a].Cells["Column1"].Value.ToString(),
|
||||
dataGridView1.Rows[a].Cells["Column8"].Value.ToString()};
|
||||
db.More_Update(table, Edit_col, Edit_Data, Search_col, Search_Data);
|
||||
}
|
||||
}
|
||||
if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
|
||||
else { btn_lookup_Click(null, null); }
|
||||
}
|
||||
int cnt = 0; int pageNo = 1;
|
||||
private void btn_print_Click(object sender, EventArgs e) // 인쇄
|
||||
{
|
||||
// TODO: 별도의 인쇄폼이 만들어져야함. (미리보기 구현 수정해야함)
|
||||
// 08.18 TODO: 인쇄 보류.
|
||||
//MessageBox.Show("보류");
|
||||
//return;
|
||||
|
||||
printPreviewDialog1.Document = printDocument1;
|
||||
printDocument1.DefaultPageSettings.Landscape = false;
|
||||
if (printPreviewDialog1.ShowDialog() == DialogResult.Cancel)
|
||||
{
|
||||
cnt = 0;
|
||||
pageNo = 1;
|
||||
}
|
||||
}
|
||||
private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
|
||||
{
|
||||
int dialogWidth = 528; // 페이지 전체넓이 printPreviewDialog.Width
|
||||
|
||||
StringFormat sf = new StringFormat(); // 컬럼 안에 있는 값들 가운데 정렬
|
||||
sf.Alignment = StringAlignment.Center;
|
||||
int width, width1; // 시작점위치, datagrid 1개의 컬럼 가로길이
|
||||
int startWidth = 10; // 시작 x좌표
|
||||
int startHeight = 140; // 시작 y좌표
|
||||
int avgHeight = dataGridView1.Rows[0].Height; // gridview 컬럼 하나의 높이
|
||||
int temp = 0;
|
||||
|
||||
e.Graphics.DrawString("제목", new Font("Arial", 20, FontStyle.Bold), Brushes.Black, dialogWidth / 2, 40);
|
||||
e.Graphics.DrawString("인쇄일 : " + DateTime.Now.ToString("yyyy/MM/dd"), new Font("Arial",13), Brushes.Black, dialogWidth-20,80);
|
||||
e.Graphics.DrawString("페이지번호 : " + pageNo, new Font("Arial",13), Brushes.Black,dialogWidth-20, 100);
|
||||
|
||||
for (int i = 0; i < dataGridView1.ColumnCount; i++)
|
||||
{
|
||||
if (i == 0)
|
||||
{
|
||||
width = 0;
|
||||
width1 = this.dataGridView1.Columns[i].Width + 15;
|
||||
}
|
||||
else if (i >= 1 && i < dataGridView1.ColumnCount - 2)
|
||||
{
|
||||
width = this.dataGridView1.Columns[i - 1].Width + 15;
|
||||
width1 = this.dataGridView1.Columns[i].Width + 15;
|
||||
}
|
||||
else
|
||||
{
|
||||
width = this.dataGridView1.Columns[i - 1].Width + 15;
|
||||
width1 = this.dataGridView1.Columns[i].Width + 40;
|
||||
}
|
||||
RectangleF drawRect = new RectangleF((float)(startWidth + width), (float)startHeight, (float)width1, avgHeight);
|
||||
e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width), (float)startHeight, (float)width1, avgHeight);
|
||||
e.Graphics.DrawString(dataGridView1.Columns[i].HeaderText, new Font("Arial", 12, FontStyle.Bold), Brushes.Black, drawRect, sf);
|
||||
|
||||
startWidth += width;
|
||||
}
|
||||
startHeight += avgHeight;
|
||||
|
||||
for (int i = cnt; i < dataGridView1.RowCount - 1; i++) {
|
||||
startWidth = 10;
|
||||
for(int j = 0; j < dataGridView1.ColumnCount; j++) {
|
||||
if (j == 0) {
|
||||
width = 0;
|
||||
width1 = this.dataGridView1.Columns[j].Width + 15;
|
||||
}
|
||||
else if (j >= 1 && j <= dataGridView1.ColumnCount - 2)
|
||||
{
|
||||
width = this.dataGridView1.Columns[j - 1].Width + 15;
|
||||
width1 = this.dataGridView1.Columns[j].Width + 15;
|
||||
}
|
||||
else
|
||||
{
|
||||
width = this.dataGridView1.Columns[j - 1].Width + 15;
|
||||
width1 = this.dataGridView1.Columns[j].Width + 40;
|
||||
}
|
||||
RectangleF drawRect = new RectangleF((float)(startWidth + width), (float)startHeight, (float)width1, avgHeight);
|
||||
e.Graphics.DrawRectangle(Pens.Black, (float)(startWidth + width), (float)startHeight, (float)width1, avgHeight);
|
||||
e.Graphics.DrawString(dataGridView1.Rows[i].Cells[j].FormattedValue.ToString(), new Font("Arial", 9), Brushes.Black, drawRect, sf);
|
||||
startWidth += width;
|
||||
}
|
||||
startHeight += avgHeight;
|
||||
temp++;
|
||||
cnt++;
|
||||
|
||||
if (temp % 40 == 0)
|
||||
{
|
||||
MessageBox.Show("40으로 나눠졌다.");
|
||||
e.HasMorePages = true;
|
||||
pageNo++;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_apply_Click(object sender, EventArgs e)
|
||||
{
|
||||
dataGridView1.Rows[row].Cells["Column1"].Value = tb_list_name.Text;
|
||||
dataGridView1.Rows[row].Cells["Column2"].Value = tb_date.Text;
|
||||
dataGridView1.Rows[row].Cells["Column5"].Value = tb_date_res.Text;
|
||||
dataGridView1.Rows[row].Cells["Column3"].Value = tb_charge.Text;
|
||||
dataGridView1.Rows[row].Cells["Column4"].Value = tb_work_name.Text;
|
||||
dataGridView1.Rows[row].Cells["Column6"].Value = tb_work_way.Text;
|
||||
dataGridView1.Rows[row].Cells["Column7"].Value = tb_send_way.Text;
|
||||
dataGridView1.Rows[row].Cells["Column8"].Value = tb_total.Text;
|
||||
dataGridView1.Rows[row].Cells["Column9"].Value = tb_stock.Text;
|
||||
dataGridView1.Rows[row].Cells["Column10"].Value = tb_count.Text;
|
||||
dataGridView1.Rows[row].Cells["Column13"].Value = tb_stock_per.Text;
|
||||
dataGridView1.Rows[row].Cells["Column11"].Value = lbl_stock_count.Text;
|
||||
dataGridView1.Rows[row].Cells["Column12"].Value = lbl_unstock_count.Text;
|
||||
dataGridView1.Rows[row].Cells["Column20"].Value = tb_list_num.Text;
|
||||
}
|
||||
private void btn_checkup_Click(object sender, EventArgs e) // 검수작업 (내부 작업필요)
|
||||
{
|
||||
int cout = 0;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
bool isChecked = Convert.ToBoolean(dataGridView1.Rows[a].Cells["Chk_Column"].Value);
|
||||
if (isChecked)
|
||||
{
|
||||
if (cout == 0) { EditNumber = a; cout++; }
|
||||
else if (cout != 0) { MessageBox.Show("체크가 2개이상 되어있습니다!"); cout++; break; }
|
||||
}
|
||||
}
|
||||
if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
|
||||
if (cout == 1)
|
||||
{
|
||||
List_Chk_Work chk_work = new List_Chk_Work(this);
|
||||
chk_work.TopMost = true;
|
||||
chk_work.data[0] = dataGridView1.Rows[EditNumber].Cells["Column1"].Value.ToString();
|
||||
chk_work.data[1] = compidx;
|
||||
chk_work.Show();
|
||||
}
|
||||
|
||||
}
|
||||
private void btn_ISBN_Click(object sender, EventArgs e) // ISBN조회
|
||||
{
|
||||
// TODO: ISBN조회 창으로 넘어감
|
||||
Check_ISBN isbn = new Check_ISBN(this);
|
||||
isbn.list_name = tb_list_name.Text;
|
||||
isbn.Show();
|
||||
}
|
||||
private void btn_date_Click(object sender, EventArgs e) // 일정
|
||||
{
|
||||
// TODO: 별도의 일정폼이 만들어져야함.
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
private void combo_state_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if(combo_state.Text == "진행")
|
||||
{
|
||||
combo_year.Visible = false;
|
||||
}
|
||||
else if(combo_state.Text == "완료")
|
||||
{
|
||||
combo_year.Visible = true;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 데이터그리드뷰 색상변경
|
||||
/// </summary>
|
||||
public void GridColorChange()
|
||||
{
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Empty;
|
||||
}
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells["chk_label"].Value.ToString() == "라벨")
|
||||
{
|
||||
dataGridView1.Rows[a].DefaultCellStyle.BackColor = Color.Yellow;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
Skill_Grid skill = new Skill_Grid();
|
||||
if(e.KeyCode == Keys.Delete)
|
||||
{
|
||||
skill.DataGrid_to_Delete(sender, e);
|
||||
}
|
||||
|
||||
// gird 선택시 우측란에 해당 정보로 초기화 및 최신화
|
||||
if(e.KeyCode == Keys.Up)
|
||||
{
|
||||
if (row > 0) { row -= 1; }
|
||||
infor_Update(row);
|
||||
}
|
||||
if (e.KeyCode == Keys.Down)
|
||||
{
|
||||
if (row < dataGridView1.Rows.Count-1) { row += 1; }
|
||||
infor_Update(row);
|
||||
}
|
||||
}
|
||||
private void infor_reset()
|
||||
{
|
||||
tb_list_name.Text = "";
|
||||
tb_date.Text = "";
|
||||
tb_date_res.Text = "";
|
||||
tb_charge.Text = "";
|
||||
tb_work_name.Text = "";
|
||||
tb_work_way.Text = "";
|
||||
tb_send_way.Text = "";
|
||||
tb_total.Text = "";
|
||||
tb_stock.Text = "";
|
||||
tb_count.Text = "";
|
||||
tb_stock_per.Text = "";
|
||||
lbl_stock_count.Text = "";
|
||||
lbl_unstock_count.Text = "";
|
||||
tb_list_num.Text = "";
|
||||
}
|
||||
private void infor_Update(int rowidx)
|
||||
{
|
||||
if (rowidx < 0) { return; }
|
||||
row = rowidx;
|
||||
infor_reset();
|
||||
// 목록명
|
||||
tb_list_name.Text = dataGridView1.Rows[rowidx].Cells["Column1"].Value.ToString();
|
||||
// 목록일자
|
||||
tb_date.Text = dataGridView1.Rows[rowidx].Cells["Column2"].Value.ToString().Substring(0,10);
|
||||
// 완료일자
|
||||
if (dataGridView1.Rows[rowidx].Cells["Column5"].Value.ToString().Length < 3) {
|
||||
tb_date_res.Text = "";
|
||||
}
|
||||
else {
|
||||
tb_date_res.Text = dataGridView1.Rows[rowidx].Cells["Column5"].Value.ToString().Substring(0, 10);
|
||||
}
|
||||
// 담당자
|
||||
tb_charge.Text = dataGridView1.Rows[rowidx].Cells["Column3"].Value.ToString();
|
||||
// 작업명
|
||||
tb_work_name.Text = dataGridView1.Rows[rowidx].Cells["Column4"].Value.ToString();
|
||||
// 작업방법
|
||||
tb_work_way.Text = dataGridView1.Rows[rowidx].Cells["Column6"].Value.ToString();
|
||||
// 배송방법
|
||||
tb_send_way.Text = dataGridView1.Rows[rowidx].Cells["Column7"].Value.ToString();
|
||||
// 합계금액
|
||||
tb_total.Text = dataGridView1.Rows[rowidx].Cells["Column8"].Value.ToString();
|
||||
// 입고금액
|
||||
tb_stock.Text = dataGridView1.Rows[rowidx].Cells["Column9"].Value.ToString();
|
||||
// 수량
|
||||
tb_count.Text = dataGridView1.Rows[rowidx].Cells["Column10"].Value.ToString();
|
||||
// 입고율
|
||||
tb_stock_per.Text = dataGridView1.Rows[rowidx].Cells["Column13"].Value.ToString();
|
||||
// 입고 / 미입고
|
||||
lbl_stock_count.Text = dataGridView1.Rows[rowidx].Cells["Column11"].Value.ToString();
|
||||
lbl_unstock_count.Text = dataGridView1.Rows[rowidx].Cells["Column12"].Value.ToString();
|
||||
// 목록번호
|
||||
tb_list_num.Text = dataGridView1.Rows[rowidx].Cells["Column20"].Value.ToString();
|
||||
// 택배여부
|
||||
if(dataGridView1.Rows[rowidx].Cells["Column18"].Value.ToString() == "") {
|
||||
lbl_send_n.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_send_y.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
else { lbl_send_y.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_send_n.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
// 라벨여부
|
||||
if (dataGridView1.Rows[rowidx].Cells["chk_label"].Value.ToString() == "라벨") {
|
||||
lbl_l_y.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_l_n.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
else { lbl_l_n.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_l_y.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.ColumnIndex != 2 || e.ColumnIndex != 4 || e.ColumnIndex != 5 ||
|
||||
e.ColumnIndex != 6 || e.ColumnIndex != 15)
|
||||
{
|
||||
List_Lookup list_l = new List_Lookup(this);
|
||||
list_l.call_base = dataGridView1.Rows[e.RowIndex].Cells["Column1"].Value.ToString();
|
||||
list_l.MdiParent = main;
|
||||
list_l.WindowState = FormWindowState.Maximized;
|
||||
list_l.Show();
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
row = e.RowIndex;
|
||||
infor_Update(e.RowIndex);
|
||||
}
|
||||
|
||||
private void lbl_l_y_Click(object sender, EventArgs e)
|
||||
{
|
||||
if(((Label)sender).Name == "lbl_l_y") {
|
||||
lbl_l_y.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_l_n.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
if(((Label)sender).Name == "lbl_l_n") {
|
||||
lbl_l_y.Font = new Font(this.Font, FontStyle.Regular);
|
||||
lbl_l_n.Font = new Font(this.Font, FontStyle.Bold);
|
||||
}
|
||||
if(((Label)sender).Name == "lbl_send_y")
|
||||
{
|
||||
lbl_send_y.Font = new Font(this.Font, FontStyle.Bold);
|
||||
lbl_send_n.Font = new Font(this.Font, FontStyle.Regular);
|
||||
}
|
||||
if (((Label)sender).Name == "lbl_send_n")
|
||||
{
|
||||
lbl_send_y.Font = new Font(this.Font, FontStyle.Regular);
|
||||
lbl_send_n.Font = new Font(this.Font, FontStyle.Bold);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
354
unimarc/WindowsFormsApp1/납품관리/List_aggregation.resx
Normal file
354
unimarc/WindowsFormsApp1/납품관리/List_aggregation.resx
Normal file
@@ -0,0 +1,354 @@
|
||||
<?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="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column7.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column18.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="chk_label.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Chk_Column.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="printPreviewDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="printPreviewDialog1.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA
|
||||
CABoBQAAHg0AACAgAAABACAAqBAAAIYSAAAQEAAAAQAgAGgEAAAuIwAAKAAAACAAAABAAAAAAQAEAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACAgACAAAAAgACAAICAAACAgIAAwMDAAAAA
|
||||
/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIoiI
|
||||
iIiIiIiIiIiIiIiIiIiCIigiIiIozMzMzMzMyCIogiIoIiIiKM7m5ubm5sgiKIIiKCIiIijObm5ubm7I
|
||||
IiiCIigiIiIozubm5ubmyCIogiIoIiIiKM5ubm5ubsgiKIIiKCIiIijO5ubm5ubIIiiIiIiIiIiIzm5u
|
||||
bm5uyCIogRERERERGM7u7u7u7sgiKIHZWVlZWRjMzMzMzMzIIiiB1ZWVlZUYiIiIiIiIiIiIgdlZWVlZ
|
||||
GDMzMzMzMzMzOIHVlZWVlRg/uLi4uLi4uDiB2VlZWVkYP7uLi4uLi4s4gdWVlZWVGD+4uLi4uLi4OIHZ
|
||||
WVlZWRg/u4uLi4uLiziB1ZWVlZUYP7i4uLi4uLg4gdlZWVlZGD+7i4uLi4uLOIHVlZWVlRg/uLi4uLi4
|
||||
uDiB3d3d3d0YP7uLi4uLi4s4gRERERERGD+4uLi4uLi4OIiIiIiIiIg/u4uLi4uLiziCIiIiIiIoP7i4
|
||||
uLi4uLg4giIiIiIiKD+7i4uLi4uLOIIiIiIiIig/uLi4uLi4uDiCIiIiIiIoP7u7u7u7u7s4giIiIiIi
|
||||
KD//////////OIIiIiIiIigzMzMzMzMzMziIiIiIiIiIiIiIiIiIiIiIIiIiIiIiIiIiIiIiIiIiIv//
|
||||
////////AAAAAHv4AA57+AAOe/gADnv4AA57+AAOe/gADgAAAA4AAAAOAAAADgAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH/4AAB/+AAAf/gAAH/4AAB/+AAAf/gAAAAA
|
||||
AAD/////KAAAABAAAAAgAAAAAQAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAACA
|
||||
gACAAAAAgACAAICAAACAgIAAwMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAiIiIiIiIiIoiI
|
||||
iIiIiIiIgigijMzMyCiCKCKM5mbIKIiIiIzu7sgogRERjMzMyCiB2ZGIiIiIiIHZkYMzMzM4gdmRg/u7
|
||||
uziB3dGD+7u7OIEREYP7u7s4iIiIg/u7uziCIiKD+7u7OIIiIoP///84giIigzMzMziIiIiIiIiIiP//
|
||||
KCIAACjObALm5mwCIigAAoiIAAKIzgAAbm4AACIoAAAREQAAGM4AAO7uAAAiKHwAWVl8ABjMfADMzAAA
|
||||
IigoAAAAIAAAAEAAAAABAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAgAAAAICAAIAA
|
||||
AACAAIAAgIAAAICAgADA3MAA8MqmAKo/KgD/PyoAAF8qAFVfKgCqXyoA/18qAAB/KgBVfyoAqn8qAP9/
|
||||
KgAAnyoAVZ8qAKqfKgD/nyoAAL8qAFW/KgCqvyoA/78qAADfKgBV3yoAqt8qAP/fKgAA/yoAVf8qAKr/
|
||||
KgD//yoAAABVAFUAVQCqAFUA/wBVAAAfVQBVH1UAqh9VAP8fVQAAP1UAVT9VAKo/VQD/P1UAAF9VAFVf
|
||||
VQCqX1UA/19VAAB/VQBVf1UAqn9VAP9/VQAAn1UAVZ9VAKqfVQD/n1UAAL9VAFW/VQCqv1UA/79VAADf
|
||||
VQBV31UAqt9VAP/fVQAA/1UAVf9VAKr/VQD//1UAAAB/AFUAfwCqAH8A/wB/AAAffwBVH38Aqh9/AP8f
|
||||
fwAAP38AVT9/AKo/fwD/P38AAF9/AFVffwCqX38A/19/AAB/fwBVf38Aqn9/AP9/fwAAn38AVZ9/AKqf
|
||||
fwD/n38AAL9/AFW/fwCqv38A/79/AADffwBV338Aqt9/AP/ffwAA/38AVf9/AKr/fwD//38AAACqAFUA
|
||||
qgCqAKoA/wCqAAAfqgBVH6oAqh+qAP8fqgAAP6oAVT+qAKo/qgD/P6oAAF+qAFVfqgCqX6oA/1+qAAB/
|
||||
qgBVf6oAqn+qAP9/qgAAn6oAVZ+qAKqfqgD/n6oAAL+qAFW/qgCqv6oA/7+qAADfqgBV36oAqt+qAP/f
|
||||
qgAA/6oAVf+qAKr/qgD//6oAAADUAFUA1ACqANQA/wDUAAAf1ABVH9QAqh/UAP8f1AAAP9QAVT/UAKo/
|
||||
1AD/P9QAAF/UAFVf1ACqX9QA/1/UAAB/1ABVf9QAqn/UAP9/1AAAn9QAVZ/UAKqf1AD/n9QAAL/UAFW/
|
||||
1ACqv9QA/7/UAADf1ABV39QAqt/UAP/f1AAA/9QAVf/UAKr/1AD//9QAVQD/AKoA/wAAH/8AVR//AKof
|
||||
/wD/H/8AAD//AFU//wCqP/8A/z//AABf/wBVX/8Aql//AP9f/wAAf/8AVX//AKp//wD/f/8AAJ//AFWf
|
||||
/wCqn/8A/5//AAC//wBVv/8Aqr//AP+//wAA3/8AVd//AKrf/wD/3/8AVf//AKr//wD/zMwA/8z/AP//
|
||||
MwD//2YA//+ZAP//zAAAfwAAVX8AAKp/AAD/fwAAAJ8AAFWfAACqnwAA/58AAAC/AABVvwAAqr8AAP+/
|
||||
AAAA3wAAVd8AAKrfAAD/3wAAVf8AAKr/AAAAACoAVQAqAKoAKgD/ACoAAB8qAFUfKgCqHyoA/x8qAAA/
|
||||
KgBVPyoA8Pv/AKSgoACAgIAAAAD/AAD/AAAA//8A/wAAAAAAAAD//wAA////AP39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39qoYIqoYIhqoIqgiqCaoIqgiqhqqGhoYIhoYIqv39/f0I/f39
|
||||
/ar9/f39/YY2Ng4yDg4ODgoOCgoKCgqG/f39/Yb9/f39CP39/f39qjY7Ozs3Nzc3NjMSMjIOCqr9/f39
|
||||
qv39/f2G/f39/f0IN19fOzs3Nzc3NjcODg4KCP39/f0I/f39/ar9/f39/ao6X19fXzs7Ozc3NzY3NgqG
|
||||
/f39/Yb9/f39CP39/f39hl9jY19jX187Ozs7Nzc3Dqr9/f39qv39/f2G/f39/f0IOodjh19jX19fXztf
|
||||
OzcOCP39/f0ICAmqCAiqCKoICapfCYdjh2ODY19fXzs7Ow6q/f39/QhITEwoSCUoKSQoqmMJCYcJCWNj
|
||||
Y2NfY19fNgj9/f39qkyZmZmYmJRwlCmqX19fXl9fX186WzY3Njc2gv39/f0JcJ2dmZmZlJmUJAmqCaoJ
|
||||
hggIqggICKoIqggI/f39/YZwnp2dnZmZmJVMqnx8fHx8fFR8VHhUVFRUVKr9/f39CHChoZ2dnZ2ZmUwJ
|
||||
fKSkxqSkxqSkpKSkpKBUCP39/f2qcKLDoqGdnZ2ZTKp8ysakxqSkxqSkxqSkpFSq/f39/QiUpqbDoqHE
|
||||
nZ1Mq3ykqMakyqSkxqSkpKSkVAj9/f39hpTIyKbHoqGhoXAIfMrLpMqkxqSkxqTGpKRUqv39/f0IlMym
|
||||
yKbIpcShcAh8y6jKpMqkxsqkpKSkxlQI/f39/aqUzMzMyKbIpqJwqnzLy8qpxsqkpMakxqSkeAj9/f39
|
||||
CJSUlJSUlJSUlJQJgMupy8qpysqkyqSkxqRUqv39/f2GCKoIqgiqCKoIhgigrcvPqcuoy8qkxsqkxnyG
|
||||
/f39/ar9/f39/f39/f39qnzPz6nLy8uoyqnKpKTKVAj9/f39CP39/f39/f39/f0IfNDPz8+py8upyqjG
|
||||
yqR8hv39/f2G/f39/f39/f39/Qik0K7P0M+ty8vLy6jKpXyq/f39/ar9/f39/f39/f39CHzQ09Ctz8/P
|
||||
qcupy6jKeAj9/f39CP39/f39/f39/f2qoNPQ0NPQ0M/Qz8vLy6l8CP39/f2G/f39/f39/f39/QmkfKR8
|
||||
oHx8fHx8fHx8fHyG/f39/aoIqgiqCKoIqgiqCKoIqgiqCKoIqgiqCKoIqgj9/f39/f39/f39/f39/f39
|
||||
/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f39/f3/////////////
|
||||
///AAAAD3vgAA974AAPe+AAD3vgAA974AAPe+AADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
|
||||
AAPAAAADwAAAA8AAAAPAAAADwAAAA9/4AAPf+AAD3/gAA9/4AAPf+AAD3/gAA8AAAAP//////////ygA
|
||||
AAAQAAAAIAAAAAEACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAA
|
||||
gACAgAAAgICAAMDcwADwyqYAqj8qAP8/KgAAXyoAVV8qAKpfKgD/XyoAAH8qAFV/KgCqfyoA/38qAACf
|
||||
KgBVnyoAqp8qAP+fKgAAvyoAVb8qAKq/KgD/vyoAAN8qAFXfKgCq3yoA/98qAAD/KgBV/yoAqv8qAP//
|
||||
KgAAAFUAVQBVAKoAVQD/AFUAAB9VAFUfVQCqH1UA/x9VAAA/VQBVP1UAqj9VAP8/VQAAX1UAVV9VAKpf
|
||||
VQD/X1UAAH9VAFV/VQCqf1UA/39VAACfVQBVn1UAqp9VAP+fVQAAv1UAVb9VAKq/VQD/v1UAAN9VAFXf
|
||||
VQCq31UA/99VAAD/VQBV/1UAqv9VAP//VQAAAH8AVQB/AKoAfwD/AH8AAB9/AFUffwCqH38A/x9/AAA/
|
||||
fwBVP38Aqj9/AP8/fwAAX38AVV9/AKpffwD/X38AAH9/AFV/fwCqf38A/39/AACffwBVn38Aqp9/AP+f
|
||||
fwAAv38AVb9/AKq/fwD/v38AAN9/AFXffwCq338A/99/AAD/fwBV/38Aqv9/AP//fwAAAKoAVQCqAKoA
|
||||
qgD/AKoAAB+qAFUfqgCqH6oA/x+qAAA/qgBVP6oAqj+qAP8/qgAAX6oAVV+qAKpfqgD/X6oAAH+qAFV/
|
||||
qgCqf6oA/3+qAACfqgBVn6oAqp+qAP+fqgAAv6oAVb+qAKq/qgD/v6oAAN+qAFXfqgCq36oA/9+qAAD/
|
||||
qgBV/6oAqv+qAP//qgAAANQAVQDUAKoA1AD/ANQAAB/UAFUf1ACqH9QA/x/UAAA/1ABVP9QAqj/UAP8/
|
||||
1AAAX9QAVV/UAKpf1AD/X9QAAH/UAFV/1ACqf9QA/3/UAACf1ABVn9QAqp/UAP+f1AAAv9QAVb/UAKq/
|
||||
1AD/v9QAAN/UAFXf1ACq39QA/9/UAAD/1ABV/9QAqv/UAP//1ABVAP8AqgD/AAAf/wBVH/8Aqh//AP8f
|
||||
/wAAP/8AVT//AKo//wD/P/8AAF//AFVf/wCqX/8A/1//AAB//wBVf/8Aqn//AP9//wAAn/8AVZ//AKqf
|
||||
/wD/n/8AAL//AFW//wCqv/8A/7//AADf/wBV3/8Aqt//AP/f/wBV//8Aqv//AP/MzAD/zP8A//8zAP//
|
||||
ZgD//5kA///MAAB/AABVfwAAqn8AAP9/AAAAnwAAVZ8AAKqfAAD/nwAAAL8AAFW/AACqvwAA/78AAADf
|
||||
AABV3wAAqt8AAP/fAABV/wAAqv8AAAAAKgBVACoAqgAqAP8AKgAAHyoAVR8qAKofKgD/HyoAAD8qAFU/
|
||||
KgDw+/8ApKCgAICAgAAAAP8AAP8AAAD//wD/AAAAAAAAAP//AAD///8A/f39/f39/f39/f39/f39/f0I
|
||||
hgiqCKoICKoICKaGCP39qv39hv2GNg4ODjII/ar9/Yb9/ar9qjdjXzsOCP2G/f0IhquGCAleCWNfNob9
|
||||
qv39qkxMTEgIX19fX18I/Qj9/QhwnZlMqoYIqggIqgiG/f2qcKadcAl8fFQDVFQDqv39CHDMpnCqfMvL
|
||||
ysrKVAj9/QiUlHBwCYDPy8/LylSG/f2GqoYIqgig0M/Py8t8qv39CP39/f2GpNDQ0M/PfAn9/ar9/f39
|
||||
qqT20NDQ0Hyq/f2G/f39/QmkpKSloKR8CP39CKoIhgiqCIYIqgiGCKr9/f39/f39/f39/f39/f39/f//
|
||||
hv2AAf0ItAX9/bQFX2OABWNfgAU7O4ABNzeAAf39gAGq/YAB/YaAAf39vAE6h7wBX2O8AV9fgAE7N///
|
||||
/f0oAAAAIAAAAEAAAAABACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/7Z3Sf+zckT/rm0//6toO/+nYjb/pF4y/6BZLv+dVCr/mlEn/5dNI/+VSiH/kkce/5FE
|
||||
HP+RRBz/kUUb/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/v4JS//+aZv//lWD/+5Bc//WLV//uh1P/54FO/997S//Wdkb/zXBD/8Vr
|
||||
QP+9Zj3/tGI5/65dN/+RRRz/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAMK/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf/GjFv//6Rz//+fbf//m2f//5Zh//yRXf/3jVj/8IhV/+mD
|
||||
UP/hfUz/2HhI/9ByRP/HbED/v2c9/5VJIf/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAwr/B/86WZP//r4L//6p7//+mdf//oW7//5xo//+X
|
||||
Yv/9kl7/+I5a//KJVf/rhFH/4n5N/9t4SP/Sc0X/mlEm/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAADCv8H/1J9s//+4kf//tIv//6+E//+r
|
||||
ff//p3f//6Jw//+eav//mWT//pRf//qQWv/0i1b/7IVS/+V/Tv+gWC7/wr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf/apnP//7+d//+7
|
||||
mP//uJL//7WM//+whv//rH///6d4//+jcf//n2v//5ll//+VYP/6kVv/9YxY/6diN//Cv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/96t
|
||||
eP//wqL//8Gi//+/nv//vJn//7mT//+2jv//sYj//66A//+pev//pHP//6Bt//+bZ///l2L/r20//8K/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAwr/B/xYXev8XF3b/GBVx/xkUbf8ZFGr/GhNm/xoSY/8bEV//HBFd/xwQ
|
||||
W//Cv8H/4K96///Cov//wqL//8Ki///Cov//wJ///72b//+6lf//t4///7KJ//+ugv//qnv//6V0//+h
|
||||
bv+3d0n/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/FRqE/0dN1v8/RNL/Nz3Q/y40zv8nLcz/ISfK/xwh
|
||||
yf8WHMf/GxJh/8K/wf/gr3r/4K96/+Cvev/gr3r/3614/9yqdf/apnL/16Nw/9Sea//Rmmj/zZZk/8qR
|
||||
X//GjFz/w4dW/7+CUv/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8SHZD/WF3a/05U1/9FS9X/PUPS/zU7
|
||||
0P8uM83/JyzL/yAmyf8aFGn/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/xAfnP9obt7/YGTc/1Zb
|
||||
2f9NU9f/RUrU/ztB0v80OdD/LDHO/xgWcv/Cv8H/Dn+n/w18pP8MeqH/DHie/wt1m/8Kc5j/CXGV/wlv
|
||||
k/8JbJD/CGqN/wdpi/8HZ4j/BmWH/wZkhf8GYoP/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/DiKp/3l+
|
||||
4/9vdeH/Zmze/11i2/9UWtn/S1HW/0NI1P86P9H/Fhh9/8K/wf8Ogar/Barp/wGo6P8Apef/AKPm/wCi
|
||||
5P8An+L/AJ7h/wCd3/8AnN7/AJnc/wCY2/8AmNn/AJbX/wZjhP/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/
|
||||
wf8MJbX/iI7n/4CF5v93fOP/bnPg/2Vr3f9bYdv/UljY/0lP1v8UGoj/wr/B/w+Erf8Lrur/Bqvq/wOo
|
||||
6f8Apuf/AKTm/wCi5f8AoOT/AJ/i/wCd4f8AnN//AJrd/wCZ2/8AmNr/BmWH/8K/wf8AAAAAAAAAAAAA
|
||||
AAAAAAAAwr/B/wkowP+WnOz/jpTq/4aL6P9+hOX/dXri/2xx4P9jaN3/WV/b/xEek//Cv8H/EIaw/xay
|
||||
7P8Or+z/Cavr/wWq6v8Bp+j/AKbn/wCj5f8AoeT/AJ/j/wCe4f8AnOD/AJve/wCa3f8HZ4n/wr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAADCv8H/CCrK/6Ko7/+coe7/lZrr/42T6f+Fiub/fIHl/3N54v9rcN//ECGg/8K/
|
||||
wf8QiLP/I7nu/xq07f8Ssez/C63r/war6v8Cqen/AKbo/wCk5v8AouX/AKHk/wCf4f8AneH/AJzf/who
|
||||
i//Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8GLNP/q7Hy/6as8P+hpu//mp/u/5OY6/+LkOj/g4nm/3qA
|
||||
5P8NI6z/wr/B/xCKtv8xvvD/J7rv/x627f8Vsuz/Dq/s/wmr6/8Equn/Aafo/wCl5/8Ao+X/AKHk/wCf
|
||||
4v8AnuH/CGqO/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wUu2/+vtPP/r7Tz/6qv8v+mq/D/oKXv/5me
|
||||
7f+Sl+v/io/p/wsmt//Cv8H/Eo24/0HF8f82wfD/LLzv/yK47v8atO3/EbHs/wut6/8Gq+r/A6np/wCm
|
||||
6P8Apeb/AKLl/wCh5P8IbJD/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/BC/h/wQv3/8FL9z/BS3Z/wYt
|
||||
1v8GLNL/ByvP/wgqy/8IKcb/CSnC/8K/wf8Sjrv/Uszy/0fH8f87w/H/Mb7v/ye67/8et+7/FbPt/w6v
|
||||
6/8IrOv/BKnp/wGo6P8Apef/AKPl/wluk//Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/xKRvf9j0/P/WM/z/0zK8f9BxfH/N8Hw/yy8
|
||||
7/8iuO7/GbTt/xGx7P8Lruv/Bqrq/wOo6f8Apuf/CnGV/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCv8H/E5LA/3Ta8/9q1fP/XtHz/1LM
|
||||
8v9Hx/H/O8Pw/zG+7/8nu+//Hrbt/xay7f8Or+v/CKzq/wSq6f8Kc5j/wr/B/wAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMK/wf8UlMH/hOD1/3rc
|
||||
9f9v2PP/ZNTy/1jO8v9NyvH/Qsbx/zbB8P8svO//I7ju/xm07f8SsOz/C67r/wt2m//Cv8H/AAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwr/B/xSW
|
||||
w/+T5vb/iuL1/3/e9P912vT/adbz/13R8/9SzPL/R8jx/zzD8P8xvvD/J7rv/x627v8Vsuz/C3ie/8K/
|
||||
wf8AAAAAAAAAAAAAAAAAAAAAwr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AADCv8H/FJbG/57r9/+X6Pb/juT1/4Th9f963fX/b9j0/2PT8/9Yz/L/TMrx/0HF8f83wO//LLzv/yK4
|
||||
7v8MeqH/wr/B/wAAAAAAAAAAAAAAAAAAAADCv8H/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAMK/wf8VmMf/qO/3/6Lt9/+b6vb/kub2/4rj9f9/3vX/dNrz/2rV8/9d0fP/Uszy/0fI
|
||||
8f88w/D/Mr7v/w19pP/Cv8H/AAAAAAAAAAAAAAAAAAAAAMK/wf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAwr/B/xWZyP8UmMf/FZfF/xSVw/8TlML/E5K//xOQvf8Sjrv/EYy4/xGK
|
||||
tv8QiLL/D4Ww/w+Erf8Pgar/Dn+n/8K/wf8AAAAAAAAAAAAAAAAAAAAAwr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/
|
||||
wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/8K/wf/Cv8H/wr/B/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//
|
||||
/////////////8AAAAPe+AAD3vgAA974AAPe+AAD3vgAA974AAPAAAADwAAAA8AAAAPAAAADwAAAA8AA
|
||||
AAPAAAADwAAAA8AAAAPAAAADwAAAA8AAAAPAAAAD3/gAA9/4AAPf+AAD3/gAA9/4AAPf+AADwAAAA///
|
||||
////////KAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwMDA/8DA
|
||||
wP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP8AAAAAAAAAAMDA
|
||||
wP8AAAAAAAAAAMDAwP8AAAAAwMDA/8F2R/+9bj//umc6/7diNf+3YjX/wMDA/wAAAADAwMD/AAAAAAAA
|
||||
AADAwMD/AAAAAAAAAADAwMD/AAAAAMDAwP/RkmD//7aP//+ldP/8kl3/vW0//8DAwP8AAAAAwMDA/wAA
|
||||
AAAAAAAAwMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/3ap2///Cov//to7//6V0/8uJWP/AwMD/AAAAAMDA
|
||||
wP8AAAAAAAAAAMDAwP8THI7/FBqF/xYYfP8XFnP/wMDA/+Cvev/gr3r/4K96/92qdv/ao3D/wMDA/wAA
|
||||
AADAwMD/AAAAAAAAAADAwMD/ECCd/2Fn3P8zOc//FRmC/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DA
|
||||
wP/AwMD/wMDA/wAAAAAAAAAAwMDA/w0krP+Pler/YWbd/xIcj//AwMD/DHmf/wpzmP8Ib5L/B2uO/wdq
|
||||
jf8Gao3/B2qN/8DAwP8AAAAAAAAAAMDAwP8KJrv/r7Tz/5CU6v8PIJ//wMDA/w+Dq/87y/z/Kcb8/xrD
|
||||
/P8QwPv/EMD7/wdqjf/AwMD/AAAAAAAAAADAwMD/CCrI/woowP8LJrf/DSSu/8DAwP8Sjbj/Zdb9/0/Q
|
||||
/P88y/v/Kcf7/xrC+/8IbZD/wMDA/wAAAAAAAAAAwMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/FpfG/43h
|
||||
/f962/3/Zdb8/0/Q/P87zPz/CXSZ/8DAwP8AAAAAAAAAAMDAwP8AAAAAAAAAAAAAAAAAAAAAwMDA/xif
|
||||
z/+u6f7/n+X9/47h/f953P3/ZNb9/w19pP/AwMD/AAAAAAAAAADAwMD/AAAAAAAAAAAAAAAAAAAAAMDA
|
||||
wP8apNX/uez+/7ns/v+u6f7/oOX9/43h/f8Rh7H/wMDA/wAAAAAAAAAAwMDA/wAAAAAAAAAAAAAAAAAA
|
||||
AADAwMD/GqTV/xqk1f8apNX/GaHR/xecy/8WmMb/FJK+/8DAwP8AAAAAAAAAAMDAwP/AwMD/wMDA/8DA
|
||||
wP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/wMDA/8DAwP/AwMD/AAAAAAAAAAAAAAAAAAAAAAAA
|
||||
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//wAAgAEAALQF
|
||||
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="pageSetupDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>181, 17</value>
|
||||
</metadata>
|
||||
<metadata name="printDocument1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>336, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
60
unimarc/WindowsFormsApp1/납품관리/List_reg_con.Designer.cs
generated
Normal file
60
unimarc/WindowsFormsApp1/납품관리/List_reg_con.Designer.cs
generated
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class List_reg_con
|
||||
{
|
||||
/// <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.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(381, 219);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(131, 12);
|
||||
this.label1.TabIndex = 1;
|
||||
this.label1.Text = "납품관리_목록등록편의";
|
||||
//
|
||||
// List_reg_con
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "List_reg_con";
|
||||
this.Text = "List_reg_con";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
||||
22
unimarc/WindowsFormsApp1/납품관리/List_reg_con.cs
Normal file
22
unimarc/WindowsFormsApp1/납품관리/List_reg_con.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class List_reg_con : Form
|
||||
{
|
||||
Main main;
|
||||
public List_reg_con(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/WindowsFormsApp1/납품관리/List_reg_con.resx
Normal file
120
unimarc/WindowsFormsApp1/납품관리/List_reg_con.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>
|
||||
771
unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs
generated
Normal file
771
unimarc/WindowsFormsApp1/납품관리/Order_input.Designer.cs
generated
Normal file
@@ -0,0 +1,771 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Order_input
|
||||
{
|
||||
/// <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 dataGridViewCellStyle5 = 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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.cb_state = new System.Windows.Forms.ComboBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.cb_order = new System.Windows.Forms.ComboBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.dateTimePicker3 = new System.Windows.Forms.DateTimePicker();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.dateTimePicker4 = new System.Windows.Forms.DateTimePicker();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
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.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.button12 = new System.Windows.Forms.Button();
|
||||
this.cb_ordersend = new System.Windows.Forms.ComboBox();
|
||||
this.button13 = new System.Windows.Forms.Button();
|
||||
this.button14 = new System.Windows.Forms.Button();
|
||||
this.tb_orderText = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.button15 = new System.Windows.Forms.Button();
|
||||
this.button16 = new System.Windows.Forms.Button();
|
||||
this.dataGridView1 = new System.Windows.Forms.DataGridView();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.tb_search_book_comp = new System.Windows.Forms.TextBox();
|
||||
this.tb_search_book_name = new System.Windows.Forms.TextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tb_search_book_list = new System.Windows.Forms.TextBox();
|
||||
this.button17 = new System.Windows.Forms.Button();
|
||||
this.btn_close = new System.Windows.Forms.Button();
|
||||
this.chk = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.M = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.author = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.book_comp = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pay = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.total = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.etc = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.order_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.send_date = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.list_num = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.chk_order = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(21, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(41, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "주문처";
|
||||
//
|
||||
// tb_search_order
|
||||
//
|
||||
this.tb_search_order.Location = new System.Drawing.Point(63, 5);
|
||||
this.tb_search_order.Name = "tb_search_order";
|
||||
this.tb_search_order.Size = new System.Drawing.Size(115, 21);
|
||||
this.tb_search_order.TabIndex = 2;
|
||||
this.tb_search_order.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown);
|
||||
//
|
||||
// cb_user
|
||||
//
|
||||
this.cb_user.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_user.FormattingEnabled = true;
|
||||
this.cb_user.Location = new System.Drawing.Point(567, 5);
|
||||
this.cb_user.Name = "cb_user";
|
||||
this.cb_user.Size = new System.Drawing.Size(73, 20);
|
||||
this.cb_user.TabIndex = 4;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(526, 9);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(41, 12);
|
||||
this.label2.TabIndex = 3;
|
||||
this.label2.Text = "담당자";
|
||||
//
|
||||
// cb_state
|
||||
//
|
||||
this.cb_state.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_state.FormattingEnabled = true;
|
||||
this.cb_state.Location = new System.Drawing.Point(679, 5);
|
||||
this.cb_state.Name = "cb_state";
|
||||
this.cb_state.Size = new System.Drawing.Size(73, 20);
|
||||
this.cb_state.TabIndex = 6;
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(649, 9);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(29, 12);
|
||||
this.label3.TabIndex = 5;
|
||||
this.label3.Text = "입고";
|
||||
//
|
||||
// cb_order
|
||||
//
|
||||
this.cb_order.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cb_order.FormattingEnabled = true;
|
||||
this.cb_order.Location = new System.Drawing.Point(796, 5);
|
||||
this.cb_order.Name = "cb_order";
|
||||
this.cb_order.Size = new System.Drawing.Size(73, 20);
|
||||
this.cb_order.TabIndex = 8;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(766, 9);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(29, 12);
|
||||
this.label4.TabIndex = 7;
|
||||
this.label4.Text = "주문";
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(9, 8);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(53, 12);
|
||||
this.label5.TabIndex = 11;
|
||||
this.label5.Text = "작업명단";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(400, 8);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(41, 12);
|
||||
this.label6.TabIndex = 13;
|
||||
this.label6.Text = "주문일";
|
||||
//
|
||||
// dateTimePicker2
|
||||
//
|
||||
this.dateTimePicker2.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(441, 4);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker2.TabIndex = 15;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(529, 8);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(14, 12);
|
||||
this.label7.TabIndex = 16;
|
||||
this.label7.Text = "~";
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(545, 4);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker1.TabIndex = 17;
|
||||
//
|
||||
// dateTimePicker3
|
||||
//
|
||||
this.dateTimePicker3.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker3.Location = new System.Drawing.Point(784, 4);
|
||||
this.dateTimePicker3.Name = "dateTimePicker3";
|
||||
this.dateTimePicker3.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker3.TabIndex = 21;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(768, 8);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(14, 12);
|
||||
this.label8.TabIndex = 20;
|
||||
this.label8.Text = "~";
|
||||
//
|
||||
// dateTimePicker4
|
||||
//
|
||||
this.dateTimePicker4.CustomFormat = "yyyy-MM-dd";
|
||||
this.dateTimePicker4.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
|
||||
this.dateTimePicker4.Location = new System.Drawing.Point(680, 4);
|
||||
this.dateTimePicker4.Name = "dateTimePicker4";
|
||||
this.dateTimePicker4.Size = new System.Drawing.Size(85, 21);
|
||||
this.dateTimePicker4.TabIndex = 19;
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(639, 8);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(41, 12);
|
||||
this.label9.TabIndex = 18;
|
||||
this.label9.Text = "목록일";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(9, 35);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(93, 12);
|
||||
this.label10.TabIndex = 22;
|
||||
this.label10.Text = "주문시 요청사항";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.Location = new System.Drawing.Point(104, 31);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.Size = new System.Drawing.Size(624, 21);
|
||||
this.textBox2.TabIndex = 23;
|
||||
//
|
||||
// btn_lookup
|
||||
//
|
||||
this.btn_lookup.Location = new System.Drawing.Point(902, 14);
|
||||
this.btn_lookup.Name = "btn_lookup";
|
||||
this.btn_lookup.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_lookup.TabIndex = 25;
|
||||
this.btn_lookup.Text = "조 회";
|
||||
this.btn_lookup.UseVisualStyleBackColor = true;
|
||||
this.btn_lookup.Click += new System.EventHandler(this.btn_lookup_Click);
|
||||
//
|
||||
// button7
|
||||
//
|
||||
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;
|
||||
//
|
||||
// button8
|
||||
//
|
||||
this.button8.Location = new System.Drawing.Point(173, 111);
|
||||
this.button8.Name = "button8";
|
||||
this.button8.Size = new System.Drawing.Size(75, 23);
|
||||
this.button8.TabIndex = 34;
|
||||
this.button8.Text = "자동주문처";
|
||||
this.button8.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.AutoSize = true;
|
||||
this.checkBox3.Location = new System.Drawing.Point(102, 108);
|
||||
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;
|
||||
//
|
||||
// button9
|
||||
//
|
||||
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;
|
||||
//
|
||||
// button10
|
||||
//
|
||||
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;
|
||||
//
|
||||
// button11
|
||||
//
|
||||
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;
|
||||
//
|
||||
// button12
|
||||
//
|
||||
this.button12.Location = new System.Drawing.Point(519, 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;
|
||||
//
|
||||
// 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.Name = "cb_ordersend";
|
||||
this.cb_ordersend.Size = new System.Drawing.Size(77, 20);
|
||||
this.cb_ordersend.TabIndex = 40;
|
||||
//
|
||||
// button13
|
||||
//
|
||||
this.button13.Location = new System.Drawing.Point(737, 111);
|
||||
this.button13.Name = "button13";
|
||||
this.button13.Size = new System.Drawing.Size(75, 23);
|
||||
this.button13.TabIndex = 42;
|
||||
this.button13.Text = "주문보내기";
|
||||
this.button13.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button14
|
||||
//
|
||||
this.button14.Location = new System.Drawing.Point(670, 111);
|
||||
this.button14.Name = "button14";
|
||||
this.button14.Size = new System.Drawing.Size(63, 23);
|
||||
this.button14.TabIndex = 41;
|
||||
this.button14.Text = "전송현황";
|
||||
this.button14.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tb_orderText
|
||||
//
|
||||
this.tb_orderText.Location = new System.Drawing.Point(993, 85);
|
||||
this.tb_orderText.Name = "tb_orderText";
|
||||
this.tb_orderText.Size = new System.Drawing.Size(129, 21);
|
||||
this.tb_orderText.TabIndex = 44;
|
||||
this.tb_orderText.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_orderText_KeyDown);
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(940, 89);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(53, 12);
|
||||
this.label12.TabIndex = 43;
|
||||
this.label12.Text = "주문처명";
|
||||
//
|
||||
// button15
|
||||
//
|
||||
this.button15.Location = new System.Drawing.Point(1126, 84);
|
||||
this.button15.Name = "button15";
|
||||
this.button15.Size = new System.Drawing.Size(129, 23);
|
||||
this.button15.TabIndex = 45;
|
||||
this.button15.Text = "리스트 일괄변경";
|
||||
this.button15.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// button16
|
||||
//
|
||||
this.button16.Location = new System.Drawing.Point(1126, 111);
|
||||
this.button16.Name = "button16";
|
||||
this.button16.Size = new System.Drawing.Size(129, 23);
|
||||
this.button16.TabIndex = 46;
|
||||
this.button16.Text = "선택주문 일괄입력";
|
||||
this.button16.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.chk,
|
||||
this.order,
|
||||
this.M,
|
||||
this.book_name,
|
||||
this.author,
|
||||
this.book_comp,
|
||||
this.order_count,
|
||||
this.count,
|
||||
this.pay,
|
||||
this.total,
|
||||
this.etc,
|
||||
this.list_name,
|
||||
this.order_date,
|
||||
this.send_date,
|
||||
this.num,
|
||||
this.list_num,
|
||||
this.chk_order});
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(9, 142);
|
||||
this.dataGridView1.MultiSelect = false;
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.dataGridView1.RowHeadersWidth = 10;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(1246, 482);
|
||||
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.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.label14);
|
||||
this.panel1.Controls.Add(this.label13);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.tb_search_order);
|
||||
this.panel1.Controls.Add(this.label2);
|
||||
this.panel1.Controls.Add(this.cb_user);
|
||||
this.panel1.Controls.Add(this.label3);
|
||||
this.panel1.Controls.Add(this.cb_state);
|
||||
this.panel1.Controls.Add(this.tb_search_book_comp);
|
||||
this.panel1.Controls.Add(this.tb_search_book_name);
|
||||
this.panel1.Controls.Add(this.label4);
|
||||
this.panel1.Controls.Add(this.cb_order);
|
||||
this.panel1.Location = new System.Drawing.Point(9, 9);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(887, 32);
|
||||
this.panel1.TabIndex = 48;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(355, 9);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(41, 12);
|
||||
this.label14.TabIndex = 0;
|
||||
this.label14.Text = "출판사";
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.AutoSize = true;
|
||||
this.label13.Location = new System.Drawing.Point(184, 9);
|
||||
this.label13.Name = "label13";
|
||||
this.label13.Size = new System.Drawing.Size(41, 12);
|
||||
this.label13.TabIndex = 0;
|
||||
this.label13.Text = "도서명";
|
||||
//
|
||||
// tb_search_book_comp
|
||||
//
|
||||
this.tb_search_book_comp.Location = new System.Drawing.Point(398, 5);
|
||||
this.tb_search_book_comp.Name = "tb_search_book_comp";
|
||||
this.tb_search_book_comp.Size = new System.Drawing.Size(121, 21);
|
||||
this.tb_search_book_comp.TabIndex = 44;
|
||||
this.tb_search_book_comp.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown);
|
||||
//
|
||||
// tb_search_book_name
|
||||
//
|
||||
this.tb_search_book_name.Location = new System.Drawing.Point(228, 5);
|
||||
this.tb_search_book_name.Name = "tb_search_book_name";
|
||||
this.tb_search_book_name.Size = new System.Drawing.Size(119, 21);
|
||||
this.tb_search_book_name.TabIndex = 44;
|
||||
this.tb_search_book_name.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_KeyDown);
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel2.Controls.Add(this.label5);
|
||||
this.panel2.Controls.Add(this.label6);
|
||||
this.panel2.Controls.Add(this.dateTimePicker2);
|
||||
this.panel2.Controls.Add(this.label7);
|
||||
this.panel2.Controls.Add(this.dateTimePicker1);
|
||||
this.panel2.Controls.Add(this.label9);
|
||||
this.panel2.Controls.Add(this.dateTimePicker4);
|
||||
this.panel2.Controls.Add(this.label8);
|
||||
this.panel2.Controls.Add(this.tb_search_book_list);
|
||||
this.panel2.Controls.Add(this.dateTimePicker3);
|
||||
this.panel2.Controls.Add(this.label10);
|
||||
this.panel2.Controls.Add(this.textBox2);
|
||||
this.panel2.Location = new System.Drawing.Point(9, 47);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(887, 58);
|
||||
this.panel2.TabIndex = 48;
|
||||
//
|
||||
// tb_search_book_list
|
||||
//
|
||||
this.tb_search_book_list.Location = new System.Drawing.Point(63, 4);
|
||||
this.tb_search_book_list.Name = "tb_search_book_list";
|
||||
this.tb_search_book_list.Size = new System.Drawing.Size(333, 21);
|
||||
this.tb_search_book_list.TabIndex = 44;
|
||||
this.tb_search_book_list.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tb_search_book_list_KeyDown);
|
||||
//
|
||||
// button17
|
||||
//
|
||||
this.button17.Location = new System.Drawing.Point(993, 111);
|
||||
this.button17.Name = "button17";
|
||||
this.button17.Size = new System.Drawing.Size(129, 23);
|
||||
this.button17.TabIndex = 46;
|
||||
this.button17.Text = "주문처빈칸 일괄입력";
|
||||
this.button17.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_close
|
||||
//
|
||||
this.btn_close.Location = new System.Drawing.Point(1180, 14);
|
||||
this.btn_close.Name = "btn_close";
|
||||
this.btn_close.Size = new System.Drawing.Size(75, 23);
|
||||
this.btn_close.TabIndex = 49;
|
||||
this.btn_close.Text = "닫 기";
|
||||
this.btn_close.UseVisualStyleBackColor = true;
|
||||
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
|
||||
//
|
||||
// chk
|
||||
//
|
||||
this.chk.HeaderText = "선택";
|
||||
this.chk.Name = "chk";
|
||||
this.chk.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.chk.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
||||
this.chk.Width = 40;
|
||||
//
|
||||
// order
|
||||
//
|
||||
this.order.HeaderText = "주문처";
|
||||
this.order.Name = "order";
|
||||
this.order.Width = 80;
|
||||
//
|
||||
// M
|
||||
//
|
||||
this.M.HeaderText = "M";
|
||||
this.M.Name = "M";
|
||||
this.M.Width = 25;
|
||||
//
|
||||
// book_name
|
||||
//
|
||||
this.book_name.HeaderText = "도서명";
|
||||
this.book_name.Name = "book_name";
|
||||
this.book_name.Width = 200;
|
||||
//
|
||||
// author
|
||||
//
|
||||
this.author.HeaderText = "저자";
|
||||
this.author.Name = "author";
|
||||
this.author.Width = 80;
|
||||
//
|
||||
// book_comp
|
||||
//
|
||||
this.book_comp.HeaderText = "출판사";
|
||||
this.book_comp.Name = "book_comp";
|
||||
//
|
||||
// order_count
|
||||
//
|
||||
this.order_count.HeaderText = "주문\n수";
|
||||
this.order_count.Name = "order_count";
|
||||
this.order_count.Width = 50;
|
||||
//
|
||||
// count
|
||||
//
|
||||
this.count.HeaderText = "원주\n문";
|
||||
this.count.Name = "count";
|
||||
this.count.Width = 50;
|
||||
//
|
||||
// pay
|
||||
//
|
||||
this.pay.HeaderText = "정가";
|
||||
this.pay.Name = "pay";
|
||||
this.pay.Width = 80;
|
||||
//
|
||||
// total
|
||||
//
|
||||
this.total.HeaderText = "합계";
|
||||
this.total.Name = "total";
|
||||
this.total.Width = 75;
|
||||
//
|
||||
// etc
|
||||
//
|
||||
this.etc.HeaderText = "비 고";
|
||||
this.etc.Name = "etc";
|
||||
//
|
||||
// list_name
|
||||
//
|
||||
this.list_name.HeaderText = "구분";
|
||||
this.list_name.Name = "list_name";
|
||||
this.list_name.Width = 80;
|
||||
//
|
||||
// order_date
|
||||
//
|
||||
this.order_date.HeaderText = "주문일자";
|
||||
this.order_date.Name = "order_date";
|
||||
this.order_date.Width = 80;
|
||||
//
|
||||
// send_date
|
||||
//
|
||||
this.send_date.HeaderText = "송금일자";
|
||||
this.send_date.Name = "send_date";
|
||||
this.send_date.Visible = false;
|
||||
this.send_date.Width = 80;
|
||||
//
|
||||
// num
|
||||
//
|
||||
this.num.HeaderText = "번호";
|
||||
this.num.Name = "num";
|
||||
this.num.Width = 50;
|
||||
//
|
||||
// list_num
|
||||
//
|
||||
this.list_num.HeaderText = "목록번호";
|
||||
this.list_num.Name = "list_num";
|
||||
this.list_num.Width = 60;
|
||||
//
|
||||
// chk_order
|
||||
//
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.NullValue = false;
|
||||
this.chk_order.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.chk_order.HeaderText = "주문선택";
|
||||
this.chk_order.Name = "chk_order";
|
||||
this.chk_order.Width = 60;
|
||||
//
|
||||
// Order_input
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1268, 634);
|
||||
this.Controls.Add(this.btn_close);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Controls.Add(this.button17);
|
||||
this.Controls.Add(this.button16);
|
||||
this.Controls.Add(this.button15);
|
||||
this.Controls.Add(this.tb_orderText);
|
||||
this.Controls.Add(this.label12);
|
||||
this.Controls.Add(this.button13);
|
||||
this.Controls.Add(this.button14);
|
||||
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.checkBox3);
|
||||
this.Controls.Add(this.button8);
|
||||
this.Controls.Add(this.button7);
|
||||
this.Controls.Add(this.btn_lookup);
|
||||
this.Name = "Order_input";
|
||||
this.Text = "주문입력";
|
||||
this.Load += new System.EventHandler(this.Order_input_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
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_search_order;
|
||||
private System.Windows.Forms.ComboBox cb_user;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.ComboBox cb_state;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.ComboBox cb_order;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker3;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker4;
|
||||
private System.Windows.Forms.Label label9;
|
||||
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 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 button12;
|
||||
private System.Windows.Forms.ComboBox cb_ordersend;
|
||||
private System.Windows.Forms.Button button13;
|
||||
private System.Windows.Forms.Button button14;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Button button15;
|
||||
private System.Windows.Forms.Button button16;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private System.Windows.Forms.Button button17;
|
||||
private System.Windows.Forms.Button btn_close;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.TextBox tb_search_book_comp;
|
||||
private System.Windows.Forms.TextBox tb_search_book_name;
|
||||
public System.Windows.Forms.TextBox tb_search_book_list;
|
||||
public System.Windows.Forms.DataGridView dataGridView1;
|
||||
public System.Windows.Forms.TextBox tb_orderText;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn chk;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn order;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn M;
|
||||
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 order_count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn count;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn pay;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn total;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn etc;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn order_date;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn send_date;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn num;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_num;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn chk_order;
|
||||
}
|
||||
}
|
||||
288
unimarc/WindowsFormsApp1/납품관리/Order_input.cs
Normal file
288
unimarc/WindowsFormsApp1/납품관리/Order_input.cs
Normal file
@@ -0,0 +1,288 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Order_input : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
Skill_Grid grid = new Skill_Grid();
|
||||
Main main;
|
||||
public string compidx = "";
|
||||
public int grididx;
|
||||
int ColumnIndex;
|
||||
string chk_mkdate = "";
|
||||
bool chk_V = false;
|
||||
bool chk_O = false;
|
||||
public Order_input(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
|
||||
private void Order_input_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
compidx = main.com_idx;
|
||||
|
||||
dataGridView1.Columns["book_name"].DefaultCellStyle.Font = new Font("굴림", 8, FontStyle.Regular);
|
||||
dataGridView1.Columns["author"].DefaultCellStyle.Font = new Font("굴림", 8, FontStyle.Regular);
|
||||
dataGridView1.Columns["list_name"].DefaultCellStyle.Font = new Font("굴림", 8, FontStyle.Regular);
|
||||
|
||||
// 데이터 그리드 뷰 수정
|
||||
for(int a = 0; a < dataGridView1.Columns.Count; a++)
|
||||
{
|
||||
if (a != 1 && a != 6 && a != 13 && a != 16) {
|
||||
dataGridView1.Columns[a].ReadOnly = true;
|
||||
}
|
||||
}
|
||||
|
||||
// 사용자 구분
|
||||
cb_user.Items.Add("전체");
|
||||
string[] user_tmp = main.DB_User_Data.Split('|');
|
||||
string cmd = db.self_Made_Cmd("SELECT `name` FROM `User_Data` WHERE `affil` = '" + user_tmp[5] + "';");
|
||||
string[] user_name = cmd.Split('|');
|
||||
for (int a = 0; a < user_name.Length; a++)
|
||||
{
|
||||
if (a == user_name.Length - 1) { break; }
|
||||
cb_user.Items.Add(user_name[a]);
|
||||
}
|
||||
cb_user.SelectedIndex = 0;
|
||||
|
||||
// 상태 구분
|
||||
string[] state = { "미입고", "입고", "전체" };
|
||||
cb_state.Items.AddRange(state);
|
||||
cb_state.SelectedIndex = 0;
|
||||
|
||||
// 보기 구분
|
||||
string[] order = { "주문중", "미주문", "전체" };
|
||||
cb_order.Items.AddRange(order);
|
||||
cb_order.SelectedIndex = 0;
|
||||
|
||||
|
||||
// 주문서 구분
|
||||
string[] order_send = { "팩스", "메일" };
|
||||
cb_ordersend.Items.AddRange(order_send);
|
||||
cb_ordersend.SelectedIndex = 0;
|
||||
}
|
||||
private void btn_lookup_Click(object sender, EventArgs e)
|
||||
{
|
||||
string[] tmp_col = { "compidx" };
|
||||
string[] tmp_data = { compidx };
|
||||
string takedata = "`order`, `order_stat`, `book_name`, `author`, `book_comp`, " +
|
||||
"`order_count`, `count`, `pay`, `total`, `etc`, " +
|
||||
"`list_name`, `order_date`, `send_date`, `header`, `num`";
|
||||
string cmd = db.More_DB_Search("Obj_List_Book", tmp_col, tmp_data, takedata);
|
||||
made_grid(cmd, true);
|
||||
date_Substring();
|
||||
}
|
||||
/// <summary>
|
||||
/// Grid내의 주문일자와 송금일자를 날짜까지만 표시하게 해주는 함수.
|
||||
/// </summary>
|
||||
private void date_Substring()
|
||||
{
|
||||
for(int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
if (dataGridView1.Rows[a].Cells["order_date"].Value.ToString() != "") {
|
||||
dataGridView1.Rows[a].Cells["order_date"].Value =
|
||||
dataGridView1.Rows[a].Cells["order_date"].Value.ToString().Substring(0, 10);
|
||||
}
|
||||
if (dataGridView1.Rows[a].Cells["send_date"].Value.ToString() != "") {
|
||||
dataGridView1.Rows[a].Cells["send_date"].Value =
|
||||
dataGridView1.Rows[a].Cells["send_date"].Value.ToString().Substring(0, 10);
|
||||
}
|
||||
if (dataGridView1.Rows[a].Cells["book_comp"].Value.ToString().Contains("(주)") == true)
|
||||
{
|
||||
dataGridView1.Rows[a].Cells["book_comp"].Value =
|
||||
dataGridView1.Rows[a].Cells["book_comp"].Value.ToString().Replace("(주)", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
public void made_grid(string strValue, bool chk = false)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string[] data = strValue.Split('|');
|
||||
string[] mkgrid = {"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"" };
|
||||
/* 선택 / o주문처 / oM / o도서명 / o저자 /
|
||||
* o출판사 / o주문수 / o원주문 / o정가 / o합계 /
|
||||
* o비고 / o납품처 / o주문일자 / o송금일자 / oo번호 /
|
||||
* 목록번호
|
||||
*/
|
||||
for (int a = 0; a < data.Length; a++)
|
||||
{
|
||||
if (a % 15 == 0) { mkgrid[1] = data[a]; } // 주문처
|
||||
if (a % 15 == 1) { // M
|
||||
if (data[a] == "0") { data[a] = data[a].Replace("0", ""); }
|
||||
if (data[a] == "1") { data[a] = data[a].Replace("1", "V"); }
|
||||
mkgrid[2] = data[a];
|
||||
}
|
||||
if (a % 15 == 2) { mkgrid[3] = data[a]; } // 도서명
|
||||
if (a % 15 == 3) { mkgrid[4] = data[a]; } // 저자
|
||||
if (a % 15 == 4) { mkgrid[5] = data[a]; } // 출판사
|
||||
if (a % 15 == 5) { mkgrid[6] = data[a]; } // 주문수
|
||||
if (a % 15 == 6) { mkgrid[7] = data[a]; } // 원주문
|
||||
if (a % 15 == 7) { mkgrid[8] = data[a]; } // 정가
|
||||
if (a % 15 == 8) { mkgrid[9] = data[a]; } // 합계
|
||||
if (a % 15 == 9) { mkgrid[10] = data[a]; } // 비고
|
||||
if (a % 15 == 10) { mkgrid[11] = data[a]; } // 납품처
|
||||
if (a % 15 == 11) { mkgrid[12] = data[a]; } // 주문일자
|
||||
if (a % 15 == 12) { mkgrid[13] = data[a]; } // 송금일자
|
||||
if (a % 15 == 13) { mkgrid[14] = data[a]; } // 번호
|
||||
if (a % 15 == 14) { // 번호
|
||||
mkgrid[14] += " " + data[a];
|
||||
if (chk == false) { dataGridView1.Rows.Add(mkgrid); }
|
||||
else {
|
||||
if(Array_Inspection(mkgrid) == true)
|
||||
{
|
||||
dataGridView1.Rows.Add(mkgrid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 작업명단 검색중 상위 텍스트박스 및 콤보박스의 값에 따라 출력할지 안할지 분류.
|
||||
/// </summary>
|
||||
/// <param name="strValues"></param>
|
||||
/// <returns></returns>
|
||||
private bool Array_Inspection(string[] strValues)
|
||||
{
|
||||
if (tb_search_order.Text != "") {
|
||||
if(strValues[1].Contains(tb_search_order.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (tb_search_book_name.Text != "") {
|
||||
if (strValues[3].Contains(tb_search_book_name.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (tb_search_book_comp.Text != "") {
|
||||
if (strValues[5].Contains(tb_search_book_comp.Text) == false) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (cb_state.SelectedIndex == 0) {
|
||||
// TODO: 입고 상태 체크해야함. (방법 찾아볼것)
|
||||
}
|
||||
if (cb_order.SelectedIndex == 2) {
|
||||
if(strValues[12] == "") {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
private void tb_search_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) {
|
||||
btn_lookup_Click(null, null);
|
||||
}
|
||||
}
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (e.RowIndex >= 0 && e.ColumnIndex == 0)
|
||||
{
|
||||
grididx = e.RowIndex;
|
||||
ColumnIndex = e.ColumnIndex;
|
||||
CheckBox check;
|
||||
foreach(DataGridViewRow row in dataGridView1.Rows)
|
||||
{
|
||||
check = (CheckBox)(row.Cells[16].Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
grididx = e.RowIndex;
|
||||
ColumnIndex = e.ColumnIndex;
|
||||
if (e.ColumnIndex == 1 || e.ColumnIndex == 14 || e.ColumnIndex == 13 ||
|
||||
e.ColumnIndex == 6 || e.ColumnIndex == 15 || e.ColumnIndex == 16)
|
||||
{ return; }
|
||||
if(e.ColumnIndex == 3 || e.ColumnIndex == 4 || e.ColumnIndex == 5)
|
||||
{
|
||||
Book_Lookup bl = new Book_Lookup(this);
|
||||
bl.TopMost = true;
|
||||
string book_name = ((DataGridView)sender).Rows[e.RowIndex].Cells["Book_name"].Value.ToString();
|
||||
string author = ((DataGridView)sender).Rows[e.RowIndex].Cells["author"].Value.ToString();
|
||||
string book_comp = ((DataGridView)sender).Rows[e.RowIndex].Cells["Book_comp"].Value.ToString();
|
||||
string list_name = ((DataGridView)sender).Rows[e.RowIndex].Cells["list_name"].Value.ToString();
|
||||
bl.Lookup_Load(book_name, author, book_comp, list_name);
|
||||
bl.Show();
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
else if (e.ColumnIndex == 2 && chk_V == false)
|
||||
{
|
||||
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "V";
|
||||
chk_V = true;
|
||||
}
|
||||
else if (e.ColumnIndex == 2 && chk_V == true)
|
||||
{
|
||||
dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = "";
|
||||
chk_V = false;
|
||||
}
|
||||
else if (chk_mkdate.Contains("." + e.RowIndex + ", ") == true)
|
||||
{
|
||||
dataGridView1.Rows[e.RowIndex].Cells[12].Value = "";
|
||||
chk_mkdate = chk_mkdate.Replace("." + e.RowIndex + ", ", "");
|
||||
}
|
||||
else if (chk_mkdate.Contains("." + e.RowIndex + " , ") == false)
|
||||
{
|
||||
dataGridView1.Rows[e.RowIndex].Cells[12].Value = System.DateTime.Now.ToString("d");
|
||||
chk_mkdate += "." + e.RowIndex + ", ";
|
||||
}
|
||||
}
|
||||
private void tb_search_book_list_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
// 폼 새로 띄워서 검색기능활성화해야함.
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Order_input_Search search = new Order_input_Search(this);
|
||||
search.Where_Open = "book_list";
|
||||
search.TopMost = true;
|
||||
search.Show();
|
||||
}
|
||||
}
|
||||
private void tb_orderText_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
Order_input_Search search = new Order_input_Search(this);
|
||||
search.Where_Open = "Order";
|
||||
search.TopMost = true;
|
||||
search.Show();
|
||||
}
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if(ColumnIndex == 1)
|
||||
{
|
||||
tb_orderText_KeyDown(null, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
171
unimarc/WindowsFormsApp1/납품관리/Order_input.resx
Normal file
171
unimarc/WindowsFormsApp1/납품관리/Order_input.resx
Normal file
@@ -0,0 +1,171 @@
|
||||
<?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="chk.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="M.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="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="order_count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="total.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="etc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order_date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="send_date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="chk_order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
108
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.Designer.cs
generated
Normal file
108
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.Designer.cs
generated
Normal file
@@ -0,0 +1,108 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Order_input_Search
|
||||
{
|
||||
/// <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.list_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.charge = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.state = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// dataGridView1
|
||||
//
|
||||
this.dataGridView1.AllowUserToAddRows = false;
|
||||
this.dataGridView1.AllowUserToDeleteRows = false;
|
||||
this.dataGridView1.ClipboardCopyMode = System.Windows.Forms.DataGridViewClipboardCopyMode.Disable;
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.TopCenter;
|
||||
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.list_name,
|
||||
this.charge,
|
||||
this.state});
|
||||
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dataGridView1.Location = new System.Drawing.Point(0, 0);
|
||||
this.dataGridView1.Name = "dataGridView1";
|
||||
this.dataGridView1.RowHeadersWidth = 21;
|
||||
this.dataGridView1.RowTemplate.Height = 23;
|
||||
this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView1.Size = new System.Drawing.Size(544, 215);
|
||||
this.dataGridView1.TabIndex = 0;
|
||||
this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
|
||||
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
|
||||
this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);
|
||||
//
|
||||
// list_name
|
||||
//
|
||||
this.list_name.HeaderText = "목록";
|
||||
this.list_name.Name = "list_name";
|
||||
this.list_name.Width = 300;
|
||||
//
|
||||
// charge
|
||||
//
|
||||
this.charge.HeaderText = "담당자";
|
||||
this.charge.Name = "charge";
|
||||
//
|
||||
// state
|
||||
//
|
||||
this.state.HeaderText = "상태";
|
||||
this.state.Name = "state";
|
||||
//
|
||||
// Order_input_Search
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(544, 215);
|
||||
this.Controls.Add(this.dataGridView1);
|
||||
this.Name = "Order_input_Search";
|
||||
this.Text = "Order_input_Search";
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Order_input_Search_FormClosed);
|
||||
this.Load += new System.EventHandler(this.Order_input_Search_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.DataGridView dataGridView1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn list_name;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn charge;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn state;
|
||||
}
|
||||
}
|
||||
161
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs
Normal file
161
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.cs
Normal file
@@ -0,0 +1,161 @@
|
||||
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.Account;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Order_input_Search : Form
|
||||
{
|
||||
Order_input oin;
|
||||
Purchase_Book pb;
|
||||
Remit_reg2 rem2;
|
||||
Helper_DB db = new Helper_DB();
|
||||
|
||||
int grididx = 0;
|
||||
public string Where_Open = "";
|
||||
string searchText = "";
|
||||
string compidx;
|
||||
|
||||
public Order_input_Search(Order_input o_in)
|
||||
{
|
||||
InitializeComponent();
|
||||
oin = o_in;
|
||||
compidx = oin.compidx;
|
||||
if (Where_Open == "book_list") {
|
||||
searchText = oin.tb_search_book_list.Text;
|
||||
}
|
||||
else if (Where_Open == "Order") {
|
||||
searchText = oin.tb_orderText.Text;
|
||||
}
|
||||
}
|
||||
public Order_input_Search(Remit_reg2 _rem2)
|
||||
{
|
||||
InitializeComponent();
|
||||
rem2 = _rem2;
|
||||
compidx = rem2.compidx;
|
||||
searchText = rem2.tb_purchase.Text;
|
||||
}
|
||||
public Order_input_Search(Purchase_Book _pb)
|
||||
{
|
||||
InitializeComponent();
|
||||
pb = _pb;
|
||||
compidx = pb.compidx;
|
||||
searchText = pb.tb_purchase.Text;
|
||||
}
|
||||
public Order_input_Search()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void Order_input_Search_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
if(Where_Open == "book_list") {
|
||||
if(searchText == "") {
|
||||
string cmd = db.DB_Contains("Obj_List", compidx,
|
||||
"", "", "`list_name`, `charge`, `state`");
|
||||
made_grid(cmd);
|
||||
}
|
||||
else {
|
||||
string cmd = db.DB_Contains("Obj_List", compidx,
|
||||
"list_name", searchText, "`list_name`, `charge`, `state`");
|
||||
made_grid(cmd);
|
||||
}
|
||||
}
|
||||
else if(Where_Open == "Order") {
|
||||
list_name.HeaderText = "주문처";
|
||||
charge.HeaderText = "대표자";
|
||||
state.HeaderText = "종목";
|
||||
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"sangho", searchText, "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
/*
|
||||
if (searchText == "") {
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"", "", "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
MessageBox.Show(cmd);
|
||||
}
|
||||
else {
|
||||
string cmd = db.DB_Contains("Purchase", compidx,
|
||||
"sangho", searchText, "`sangho`, `boss`, `jongmok`");
|
||||
made_grid(cmd);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
private void made_grid(string strValue)
|
||||
{
|
||||
string[] data = strValue.Split('|');
|
||||
dataGridView1.Rows.Clear();
|
||||
string[] res = { "", "", "" };
|
||||
for (int a = 0; a < data.Length; a++)
|
||||
{
|
||||
if (a % 3 == 0) { res[0] = data[a]; }
|
||||
if (a % 3 == 1) { res[1] = data[a]; }
|
||||
if (a % 3 == 2) { res[2] = data[a]; dataGridView1.Rows.Add(res); }
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
grididx = e.RowIndex;
|
||||
}
|
||||
private void dataGridView1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Up) { grididx--; }
|
||||
if (e.KeyCode == Keys.Down) { grididx++; }
|
||||
|
||||
if (e.KeyCode == Keys.Enter) { dataGridView1_CellDoubleClick(null, null); }
|
||||
if (e.KeyCode == Keys.Escape) { Close(); }
|
||||
}
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if (Where_Open == "") { grididx = 0; }
|
||||
if (e != null) { grididx = e.RowIndex; }
|
||||
if (oin != null) {
|
||||
oin_result();
|
||||
}
|
||||
else if (pb != null) {
|
||||
pb_result();
|
||||
}
|
||||
else if (rem2 != null) {
|
||||
rem2.tb_purchase.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString();
|
||||
rem2.mk_base(rem2.tb_purchase.Text);
|
||||
}
|
||||
Close();
|
||||
}
|
||||
private void oin_result()
|
||||
{
|
||||
if (Where_Open == "book_list")
|
||||
{
|
||||
string[] tmp_col = { "compidx", "list_name" };
|
||||
string[] tmp_data = { compidx,
|
||||
dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString() };
|
||||
string takedata = "`order`, `order_stat`, `book_name`, `author`, `book_comp`, " +
|
||||
"`order_count`, `count`, `pay`, `total`, `etc`, " +
|
||||
"`list_name`, `order_date`, `send_date`, `header`, `num`";
|
||||
string cmd = db.More_DB_Search("Obj_List_Book", tmp_col, tmp_data, takedata);
|
||||
oin.made_grid(cmd, false);
|
||||
oin.tb_search_book_list.Text = tmp_data[1];
|
||||
}
|
||||
else if (Where_Open == "Order")
|
||||
{
|
||||
oin.tb_orderText.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString();
|
||||
}
|
||||
}
|
||||
private void pb_result()
|
||||
{
|
||||
pb.tb_purchase.Text = dataGridView1.Rows[grididx].Cells["list_name"].Value.ToString();
|
||||
pb.btn_Lookup_Click(null, null);
|
||||
}
|
||||
private void Order_input_Search_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
129
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.resx
Normal file
129
unimarc/WindowsFormsApp1/납품관리/Order_input_Search.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?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="list_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="charge.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="state.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
60
unimarc/WindowsFormsApp1/납품관리/Price_check.Designer.cs
generated
Normal file
60
unimarc/WindowsFormsApp1/납품관리/Price_check.Designer.cs
generated
Normal file
@@ -0,0 +1,60 @@
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
partial class Price_check
|
||||
{
|
||||
/// <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.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(267, 203);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(107, 12);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "납품관리_예가조회";
|
||||
//
|
||||
// Price_check
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "Price_check";
|
||||
this.Text = "Price_check";
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label label1;
|
||||
}
|
||||
}
|
||||
22
unimarc/WindowsFormsApp1/납품관리/Price_check.cs
Normal file
22
unimarc/WindowsFormsApp1/납품관리/Price_check.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Price_check : Form
|
||||
{
|
||||
Main main;
|
||||
public Price_check(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
}
|
||||
}
|
||||
}
|
||||
120
unimarc/WindowsFormsApp1/납품관리/Price_check.resx
Normal file
120
unimarc/WindowsFormsApp1/납품관리/Price_check.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>
|
||||
1093
unimarc/WindowsFormsApp1/납품관리/Purchase.Designer.cs
generated
Normal file
1093
unimarc/WindowsFormsApp1/납품관리/Purchase.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
890
unimarc/WindowsFormsApp1/납품관리/Purchase.cs
Normal file
890
unimarc/WindowsFormsApp1/납품관리/Purchase.cs
Normal file
@@ -0,0 +1,890 @@
|
||||
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 System.IO;
|
||||
using System.Windows.Forms.VisualStyles;
|
||||
using WindowsFormsApp1.Home;
|
||||
|
||||
namespace WindowsFormsApp1.Delivery
|
||||
{
|
||||
public partial class Purchase : Form
|
||||
{
|
||||
Helper_DB db = new Helper_DB();
|
||||
Skill_TextBox st = new Skill_TextBox();
|
||||
Main main;
|
||||
public string compidx;
|
||||
public int grididx;
|
||||
bool chk_inven = false;
|
||||
int grid3Row = 0;
|
||||
public Purchase(Main _main)
|
||||
{
|
||||
InitializeComponent();
|
||||
main = _main;
|
||||
compidx = main.com_idx;
|
||||
}
|
||||
private void Purchase_Load(object sender, EventArgs e)
|
||||
{
|
||||
db.DBcon();
|
||||
cb_charge.Items.Add("전체");
|
||||
string[] user_tmp = main.DB_User_Data.Split('|');
|
||||
string cmd = db.self_Made_Cmd("SELECT `name` FROM `User_Data` WHERE `affil` = '" + user_tmp[5] + "';");
|
||||
string[] user_name = cmd.Split('|');
|
||||
for (int a = 0; a < user_name.Length; a++) {
|
||||
if (a == user_name.Length - 1) { break; }
|
||||
cb_charge.Items.Add(user_name[a]);
|
||||
}
|
||||
cb_charge.SelectedIndex = 0;
|
||||
}
|
||||
/// <summary>
|
||||
/// 텍스트박스 키다운
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void TextBox_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter) {
|
||||
if (((TextBox)sender).Name == "tb_clt") {
|
||||
Commodity_Search sea = new Commodity_Search(this);
|
||||
sea.Clinet_name = tb_clt.Text;
|
||||
sea.Show();
|
||||
}
|
||||
else {
|
||||
Made_Grid(((TextBox)sender).Text, ((TextBox)sender).Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void Made_Grid(string Text, string Name)
|
||||
{
|
||||
dataGridView1.Rows.Clear();
|
||||
string Area = "`header`, `num`, `count`, `book_name`, `book_comp`, " +
|
||||
"`author`, `pay`, `total`, `list_name`, `etc`, " +
|
||||
"`order`, `isbn`, `order_date`";
|
||||
if (Name == "tb_clt" || Name == "tb_dly") {
|
||||
string tabel = "`list_name`, `clt`, `dly`";
|
||||
string[] Where = { "comp_num" };
|
||||
string[] data = { compidx };
|
||||
string tmp = db.More_DB_Search("Obj_List", Where, data, tabel);
|
||||
string[] db_ori = tmp.Split('|');
|
||||
// TODO : 거래처명 중복으로 된 경우 중복된 목록 다 검색이 되도록 할것. (납품처도 동일)
|
||||
string[] tmp_data = { "", "", "" };
|
||||
for (int a = 0; a < db_ori.Length; a++)
|
||||
{
|
||||
if (a % 3 == 0) { tmp_data[0] = db_ori[a]; }
|
||||
if (a % 3 == 1) { tmp_data[1] = db_ori[a]; }
|
||||
if (a % 3 == 2) { tmp_data[2] = db_ori[a];
|
||||
if (Name == "tb_clt" && tmp_data[1].Contains(Text) == true) {
|
||||
string[] table = { "compidx", "list_name", "import" };
|
||||
string[] sear_data = { compidx, tmp_data[0], "미입고" };
|
||||
string tmp_db = db.More_DB_Search("Obj_List_Book", table, sear_data, Area);
|
||||
Insert_Grid(tmp_db);
|
||||
}
|
||||
else if (Name == "tb_dly" && tmp_data[2].Contains(Text) == true) {
|
||||
string[] table = { "compidx", "list_name", "import" };
|
||||
string[] sear_data = { compidx, tmp_data[0], "미입고" };
|
||||
string tmp_db = db.More_DB_Search("Obj_List_Book", table, sear_data, Area);
|
||||
Insert_Grid(tmp_db);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (Name == "tb_order") {
|
||||
string tmp_db = db.DB_Contains("Obj_List_Book", compidx, "`order`", Text, Area, "import", "미입고");
|
||||
Insert_Grid(tmp_db);
|
||||
}
|
||||
else if (Name == "tb_isbn") {
|
||||
string tmp_db = db.DB_Contains("Obj_List_Book", compidx, "isbn", Text, Area, "import", "미입고");
|
||||
Insert_Grid(tmp_db);
|
||||
if (dataGridView1.Rows.Count == 1) {
|
||||
dataGridView1_CellDoubleClick(null, null);
|
||||
}
|
||||
}
|
||||
else if (Name == "tb_book_name") {
|
||||
string tmp_db = db.DB_Contains("Obj_List_Book", compidx, "book_name", Text, Area, "import", "미입고");
|
||||
Insert_Grid(tmp_db);
|
||||
}
|
||||
else if (Name == "tb_book_comp") {
|
||||
string tmp_db = db.DB_Contains("Obj_List_Book", compidx, "book_comp", Text, Area, "import", "미입고");
|
||||
Insert_Grid(tmp_db);
|
||||
}
|
||||
}
|
||||
private void Insert_Grid(string db_data)
|
||||
{
|
||||
string[] data = db_data.Split('|');
|
||||
string[] add_data = {"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"입고", "", "" };
|
||||
/* 0 1 2 3 4
|
||||
* 5 6 7 8 9
|
||||
* 10 11 12 */
|
||||
for (int a = 0; a < data.Length; a++)
|
||||
{
|
||||
if (a % 13 == 01) { add_data[00] = data[a - 1] + " " + data[a]; }
|
||||
if (a % 13 == 02) { add_data[01] = data[a]; }
|
||||
if (a % 13 == 03) { add_data[02] = data[a]; }
|
||||
if (a % 13 == 04) { add_data[03] = data[a]; }
|
||||
if (a % 13 == 05) { add_data[04] = data[a]; }
|
||||
if (a % 13 == 06) { add_data[05] = data[a]; }
|
||||
if (a % 13 == 07) { add_data[06] = data[a]; }
|
||||
if (a % 13 == 08) { add_data[07] = data[a]; }
|
||||
if (a % 13 == 09) { add_data[08] = data[a]; }
|
||||
if (a % 13 == 10) { add_data[09] = data[a]; }
|
||||
if (a % 13 == 11) { add_data[11] = data[a].Replace("\r", string.Empty); }
|
||||
if (a % 13 == 12) {
|
||||
add_data[12] = data[a];
|
||||
if (chk_order_book.Checked == true && data[a] != "") {
|
||||
dataGridView1.Rows.Add(add_data);
|
||||
}
|
||||
else if (chk_order_book.Checked == false) {
|
||||
dataGridView1.Rows.Add(add_data);
|
||||
}
|
||||
}
|
||||
}
|
||||
lbl_grid.Text = "목록 수 : " + dataGridView1.Rows.Count.ToString();
|
||||
lbl_count.Text = "권 수 : " + Book_Count();
|
||||
}
|
||||
private string Book_Count()
|
||||
{
|
||||
int result = 0;
|
||||
for (int a = 0; a < dataGridView1.Rows.Count; a++)
|
||||
{
|
||||
result += Convert.ToInt32(dataGridView1.Rows[a].Cells["count"].Value.ToString());
|
||||
}
|
||||
return result.ToString();
|
||||
}
|
||||
private void Grid2_Book_Count()
|
||||
{
|
||||
int result = 0;
|
||||
for(int a= 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
result += Convert.ToInt32(dataGridView2.Rows[a].Cells["count2"].Value.ToString());
|
||||
}
|
||||
lbl_grid2.Text = "입고 수 : " + dataGridView2.Rows.Count.ToString();
|
||||
lbl_count2.Text = "권 수 : " + result.ToString();
|
||||
}
|
||||
private void Grid3_Book_Count()
|
||||
{
|
||||
double result = 0;
|
||||
for(int a= 0; a < dataGridView3.Rows.Count-1; a++)
|
||||
{
|
||||
if (dataGridView3.Rows[a].IsNewRow == true) { return; }
|
||||
if (dataGridView3.Rows[a].Cells["total3"].Value != null ||
|
||||
dataGridView3.Rows[a].Cells["total3"].Value.ToString() != "") {
|
||||
result += Convert.ToDouble(dataGridView3.Rows[a].Cells["total3"].Value.ToString());
|
||||
}
|
||||
}
|
||||
int count = dataGridView3.Rows.Count - 1;
|
||||
|
||||
lbl_grid3.Text = "입고 수 : " + count.ToString();
|
||||
lbl_total3.Text = "입고 금액 : " + Math.Round(result).ToString();
|
||||
}
|
||||
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
int col, row;
|
||||
string name = "";
|
||||
if (sender == null || e == null) {
|
||||
grididx = 0;
|
||||
row = grididx;
|
||||
col = 10;
|
||||
name = "dataGridView1";
|
||||
}
|
||||
else {
|
||||
grididx = e.RowIndex;
|
||||
row = e.RowIndex;
|
||||
col = e.ColumnIndex;
|
||||
name = ((DataGridView)sender).Name;
|
||||
}
|
||||
if (name == "dataGridView1" && col == 10) {
|
||||
if(tb_persent.Text == "") {
|
||||
MessageBox.Show("매입율을 작성해주세요.");
|
||||
tb_persent.Focus();
|
||||
}
|
||||
else {
|
||||
press_Grid1_Btn(row, col);
|
||||
}
|
||||
}
|
||||
else if (name == "dataGridView2" && col == 10) {
|
||||
press_Grid2_Btn(e);
|
||||
}
|
||||
else {
|
||||
int select = 0;
|
||||
if (name == "dataGridView1") { select = 0; }
|
||||
else if (name == "dataGridView2") { select = 1; }
|
||||
Book_Lookup bl = new Book_Lookup(this);
|
||||
string[] cells_name1 = { "Book_name", "Book_name2" };
|
||||
string[] cells_name2 = { "author", "author2" };
|
||||
string[] cells_name3 = { "Book_comp", "Book_comp2" };
|
||||
string[] cells_name4 = { "list_name", "list_name2" };
|
||||
bl.TopMost = true;
|
||||
string book_name = ((DataGridView)sender).Rows[row].Cells[cells_name1[select]].Value.ToString();
|
||||
string author = ((DataGridView)sender).Rows[row].Cells[cells_name2[select]].Value.ToString();
|
||||
string book_comp = ((DataGridView)sender).Rows[row].Cells[cells_name3[select]].Value.ToString();
|
||||
string list_name = ((DataGridView)sender).Rows[row].Cells[cells_name4[select]].Value.ToString();
|
||||
bl.Lookup_Load(book_name, author, book_comp, list_name);
|
||||
bl.Show();
|
||||
}
|
||||
// 로컬파일 생성. (C:\)
|
||||
create_TempTxt();
|
||||
}
|
||||
private void create_TempTxt()
|
||||
{
|
||||
//FileInfo file = new FileInfo(Application.StartupPath + "\\temp\\temp.txt");
|
||||
DirectoryInfo di = new DirectoryInfo("C:\\unimarc");
|
||||
if (di.Exists == false)
|
||||
{
|
||||
di.Create();
|
||||
}
|
||||
FileInfo file = new FileInfo("C:\\unimarc\\temp.txt");
|
||||
FileStream fs;
|
||||
if (!file.Exists) { // 해당 파일이 없을 경우 생성하고 파일 닫기
|
||||
fs = file.Create();
|
||||
fs.Close();
|
||||
}
|
||||
// 해당 파일의 내용을 저장하고자 할 때(기존 내용 초기화)
|
||||
fs = file.OpenWrite();
|
||||
TextWriter tw = new StreamWriter(fs);
|
||||
tw.Write(made_txt_string());
|
||||
tw.Close();
|
||||
fs.Close();
|
||||
}
|
||||
private string made_txt_string()
|
||||
{
|
||||
string result = "";
|
||||
for(int a = 0; a < dataGridView3.Rows.Count - 1; a++)
|
||||
{
|
||||
for(int b = 0; b < dataGridView3.Columns.Count; b++)
|
||||
{
|
||||
if (dataGridView3.Rows[a].Cells[b].Value == null) {
|
||||
dataGridView3.Rows[a].Cells[b].Value = "";
|
||||
}
|
||||
result += dataGridView3.Rows[a].Cells[b].Value.ToString() + "\t";
|
||||
}
|
||||
// 맨 마지막의 경우 이상한 숫자가 찍히므로 아래 if문으로 예외처리
|
||||
if (dataGridView3.Rows[a].Cells["total3"].Value.ToString() == "") {
|
||||
return result;
|
||||
}
|
||||
result += "\n";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
private void load_tmplist_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog open = new OpenFileDialog();
|
||||
|
||||
open.Filter = "텍스트 파일 (*.txt)|*.txt|모든 파일(*.*)|*.*";
|
||||
|
||||
string file_con = null;
|
||||
string file_path = "C:\\unimarc\\temp.txt";
|
||||
|
||||
if (File.Exists(file_path))
|
||||
{
|
||||
using (StreamReader sr = new StreamReader(file_path, Encoding.UTF8))
|
||||
{
|
||||
// 불러온 파일의 내용을 표에 적용
|
||||
string[] Cell_result = null;
|
||||
string[] collumn_result;
|
||||
file_con = sr.ReadToEnd();
|
||||
Cell_result = file_con.Split('\n');
|
||||
for (int a = 0; a < Cell_result.Length-1; a++)
|
||||
{
|
||||
collumn_result = Cell_result[a].Split('\t');
|
||||
dataGridView3.Rows.Add();
|
||||
for (int b = 0; b < collumn_result.Length-1; b++)
|
||||
{
|
||||
dataGridView3.Rows[a].Cells[b].Value = collumn_result[b];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else { MessageBox.Show("임시 저장된 데이터가 없습니다.", "에러", MessageBoxButtons.OK, MessageBoxIcon.Error); }
|
||||
}
|
||||
private void btn_lookup_Click(object sender, EventArgs e)
|
||||
{
|
||||
dataGridView2.Rows.Clear();
|
||||
string start = startTime.Value.ToString().Substring(0, 10);
|
||||
string end = endTime.Value.ToString().Substring(0, 10);
|
||||
string _Table = "`header`, `num`, `count`, `book_name`, `book_comp`, " +
|
||||
"`author`, `pay`, `total`, `list_name`, `etc`, " +
|
||||
"`order`, `import_date`";
|
||||
|
||||
// 날짜 구분
|
||||
string search_Table = "`list_name`, `charge`";
|
||||
string tmp = db.Search_Date("Obj_List", search_Table, "date", start, end, compidx);
|
||||
string[] tp = tmp.Split('|');
|
||||
for (int a = 0; a < tp.Length; a++) {
|
||||
if (cb_charge.SelectedIndex != 0 && tp[a] == cb_charge.Text) {
|
||||
if (a % 2 == 1) {
|
||||
string[] Where = { "list_name", "import", "compidx" };
|
||||
string[] Search = { tp[a - 1], "입고", compidx };
|
||||
string db_tmp = db.More_DB_Search("Obj_List_Book", Where, Search, _Table);
|
||||
mk_grid(db_tmp);
|
||||
}
|
||||
}
|
||||
else if (cb_charge.SelectedIndex == 0) {
|
||||
if (a % 2 == 1) {
|
||||
string[] Where = { "list_name", "import", "compidx" };
|
||||
string[] Search = { tp[a - 1], "입고", compidx };
|
||||
string db_tmp = db.More_DB_Search("Obj_List_Book", Where, Search, _Table);
|
||||
mk_grid(db_tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private void mk_grid(string value)
|
||||
{
|
||||
string[] db_data = value.Split('|');
|
||||
string[] result = { "", "", "", "", "",
|
||||
"", "", "", "", "", "취소", "", "O" };
|
||||
/* 번호 수량 도서명 출판사 저자
|
||||
* 단가 합계 구분 비고 주문처명
|
||||
*/
|
||||
for (int b = 0; b < db_data.Length; b++) {
|
||||
if (b % 12 == 01) { result[0] = db_data[b - 1] + " " + db_data[b]; }
|
||||
if (b % 12 == 02) { result[1] = db_data[b]; }
|
||||
if (b % 12 == 03) { result[2] = db_data[b]; }
|
||||
if (b % 12 == 04) { result[3] = db_data[b]; }
|
||||
if (b % 12 == 05) { result[4] = db_data[b]; }
|
||||
if (b % 12 == 06) { result[5] = db_data[b]; }
|
||||
if (b % 12 == 07) { result[6] = db_data[b]; }
|
||||
if (b % 12 == 08) { result[7] = db_data[b]; }
|
||||
if (b % 12 == 09) { result[8] = db_data[b]; }
|
||||
if (b % 12 == 10) { result[9] = db_data[b]; }
|
||||
if (b % 12 == 11) { result[11] = db_data[b];
|
||||
if (tb_book_name.Text != "") {
|
||||
if (result[2].Contains(tb_book_name.Text) != true) { continue; }
|
||||
}
|
||||
if (tb_book_comp.Text != "") {
|
||||
if (result[3].Contains(tb_book_comp.Text) != true) { continue; }
|
||||
}
|
||||
dataGridView2.Rows.Add(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void press_Grid1_Btn(int row, int col)
|
||||
{
|
||||
/* 번호 수량 도서명 출판사 저자
|
||||
* 단가 합계 구분 비고 주문처명
|
||||
* btn취소 isbn 입고시간 */
|
||||
string[] grid2 = {"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"취소", "", System.DateTime.Now.ToString("g")};
|
||||
|
||||
/* 번호 수량 도서명 출판사 저자
|
||||
* 정가 매입율 합계 비고 구분
|
||||
* 주문처 날짜 isbn */
|
||||
string[] grid3 = {"", "", "", "", "",
|
||||
"0", "", "", "", "",
|
||||
"", System.DateTime.Now.ToString("g"), ""};
|
||||
|
||||
if(row < 0 || col < 0) {
|
||||
return;
|
||||
}
|
||||
for(int a = 0; a < 10; a++)
|
||||
{
|
||||
if(dataGridView1.Rows.Count <= 0) {
|
||||
return;
|
||||
}
|
||||
grid2[a] = dataGridView1.Rows[row].Cells[a].Value.ToString();
|
||||
if (a == 1) {
|
||||
grid2[a] = "1";
|
||||
}
|
||||
}
|
||||
grid2[11] = dataGridView1.Rows[row].Cells[11].Value.ToString();
|
||||
Grid2Count(grid2, row, col); // 책 중복시
|
||||
Grid3_Pay_Count(grid2[9]);
|
||||
|
||||
grid3[0] = dataGridView1.Rows[row].Cells[0].Value.ToString();
|
||||
grid3[1] = "1";
|
||||
grid3[2] = dataGridView1.Rows[row].Cells[2].Value.ToString();
|
||||
grid3[3] = dataGridView1.Rows[row].Cells[3].Value.ToString();
|
||||
grid3[4] = dataGridView1.Rows[row].Cells[4].Value.ToString();
|
||||
|
||||
string isbn_chk = dataGridView1.Rows[row].Cells[11].Value.ToString().Replace("\r", string.Empty);
|
||||
grid3[5] = dataGridView1.Rows[row].Cells[5].Value.ToString();
|
||||
grid3[8] = dataGridView1.Rows[row].Cells[8].Value.ToString();
|
||||
|
||||
if (chk_stock.Checked == true) {
|
||||
if (stock_chk(isbn_chk) == true) {
|
||||
int inven_count = stock_count_chk(isbn_chk);
|
||||
MessageBox.Show(inven_count.ToString());
|
||||
if (lbl_inven_count.Text == "0") {
|
||||
lbl_inven_count.Text = "0";
|
||||
inven_count = 0;
|
||||
grid3[5] = dataGridView1.Rows[row].Cells[5].Value.ToString();
|
||||
}
|
||||
if (inven_count > 0) {
|
||||
if (lbl_inven_count.Text != "-1") { inven_count = Convert.ToInt32(lbl_inven_count.Text); }
|
||||
grid3[5] = "0";
|
||||
grid3[8] = "재고";
|
||||
inven_count--;
|
||||
lbl_inven_count.Text = inven_count.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
grid3[6] = tb_persent.Text;
|
||||
|
||||
int count = Convert.ToInt32(grid3[1]);
|
||||
int pay = Convert.ToInt32(grid3[5]);
|
||||
int persent = Convert.ToInt32(grid3[6]);
|
||||
double total = pay * persent * 0.01 * count;
|
||||
|
||||
grid3[7] = total.ToString();
|
||||
grid3[9] = dataGridView1.Rows[row].Cells[7].Value.ToString();
|
||||
grid3[10] = dataGridView1.Rows[row].Cells[9].Value.ToString();
|
||||
grid3[12] = dataGridView1.Rows[row].Cells[11].Value.ToString();
|
||||
|
||||
Grid3Count(grid3, row, col);
|
||||
|
||||
dataGridView1.Rows.RemoveAt(row);
|
||||
}
|
||||
private int stock_count_chk(string isbn)
|
||||
{
|
||||
string Area = "`count`";
|
||||
string[] table = { "compidx", "isbn" };
|
||||
string[] colum = { compidx, isbn.Replace("\r", string.Empty) };
|
||||
string tmp = db.More_DB_Search("Inven", table, colum, Area);
|
||||
string[] inven_count = tmp.Split('|');
|
||||
string msg = "";
|
||||
for(int a = 0; a < inven_count.Length; a++)
|
||||
{
|
||||
msg += inven_count[a] + " ";
|
||||
}
|
||||
int count = -1;
|
||||
if (inven_count[0] != "")
|
||||
{
|
||||
count = Convert.ToInt32(inven_count[0]);
|
||||
}
|
||||
return count;
|
||||
}
|
||||
/// <summary>
|
||||
/// 매입처의 미수금 금액이 표출됨.
|
||||
/// </summary>
|
||||
/// <param name="order"></param>
|
||||
private void Grid3_Pay_Count(string order)
|
||||
{
|
||||
string Search_table = "`buy_money`, `payment`";
|
||||
string[] Where_table = { "compidx", "purchase" };
|
||||
string[] Where_col = { compidx, order };
|
||||
|
||||
string db_tmp = db.More_DB_Search("Buy_ledger", Where_table, Where_col, Search_table);
|
||||
string[] db_data = db_tmp.Split('|');
|
||||
int buy = 0, pay = 0;
|
||||
int result = 0;
|
||||
|
||||
for(int a = 0; a < db_data.Length - 1; a++)
|
||||
{
|
||||
if (a % 2 == 0) { buy = Convert.ToInt32(db_data[a]); }
|
||||
if (a % 2 == 1) { pay = Convert.ToInt32(db_data[a]);
|
||||
result += buy - pay;
|
||||
}
|
||||
}
|
||||
lbl_pay.Text = order + " : " + result.ToString();
|
||||
}
|
||||
private void Grid2Count(string[] mkgrid, int row, int col)
|
||||
{
|
||||
int rowCount = dataGridView2.Rows.Count;
|
||||
bool chk = false;
|
||||
if (rowCount <= 0) {
|
||||
dataGridView2.Rows.Add(mkgrid);
|
||||
Grid2_Book_Count();
|
||||
return;
|
||||
}
|
||||
for(int a = 0; a < rowCount; a++)
|
||||
{
|
||||
// 2: 도서명 / 3: 출판사 / 4: 저자 / 7: 구분
|
||||
if (mkgrid[2] == dataGridView2.Rows[a].Cells[2].Value.ToString() &&
|
||||
mkgrid[3] == dataGridView2.Rows[a].Cells[3].Value.ToString() &&
|
||||
mkgrid[4] == dataGridView2.Rows[a].Cells[4].Value.ToString() &&
|
||||
mkgrid[7] == dataGridView2.Rows[a].Cells[7].Value.ToString()) {
|
||||
|
||||
string invenCount_tmp = dataGridView2.Rows[a].Cells[1].Value.ToString();
|
||||
int invenCount = Convert.ToInt32(invenCount_tmp);
|
||||
invenCount++;
|
||||
chk = true;
|
||||
int money = Convert.ToInt32(mkgrid[5]);
|
||||
int totaltmp = invenCount * money;
|
||||
mkgrid[6] = totaltmp.ToString();
|
||||
dataGridView2.Rows[a].Cells[1].Value = invenCount.ToString();
|
||||
dataGridView2.Rows[a].Cells[6].Value = mkgrid[6];
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (chk == false) {
|
||||
dataGridView2.Rows.Add(mkgrid);
|
||||
}
|
||||
Grid2_Book_Count();
|
||||
}
|
||||
private void Grid3Count(string[] grid, int row, int col)
|
||||
{
|
||||
int rowCount = dataGridView3.Rows.Count-1;
|
||||
bool chk = false;
|
||||
if (rowCount <= 0) {
|
||||
dataGridView3.Rows.Add(grid);
|
||||
Grid3_Book_Count();
|
||||
return;
|
||||
}
|
||||
for(int a = 0; a < rowCount; a++)
|
||||
{
|
||||
// 0:번호 / 2:도서명 / 3:출판사 / 4:저자 / 5:정가 / 6:매입율
|
||||
if (grid[2] == dataGridView3.Rows[a].Cells[2].Value.ToString() &&
|
||||
grid[3] == dataGridView3.Rows[a].Cells[3].Value.ToString() &&
|
||||
grid[4] == dataGridView3.Rows[a].Cells[4].Value.ToString() &&
|
||||
grid[5] == dataGridView3.Rows[a].Cells[5].Value.ToString() &&
|
||||
grid[6] == dataGridView3.Rows[a].Cells[6].Value.ToString()) {
|
||||
|
||||
string invenCount_tmp = dataGridView3.Rows[a].Cells[1].Value.ToString();
|
||||
int invenCount = Convert.ToInt32(invenCount_tmp);
|
||||
invenCount++;
|
||||
chk = true;
|
||||
int pay = Convert.ToInt32(grid[5]);
|
||||
int persent = Convert.ToInt32(grid[6]);
|
||||
double total = pay * persent * 0.01 * invenCount;
|
||||
grid[7] = total.ToString();
|
||||
dataGridView3.Rows[a].Cells[1].Value = invenCount.ToString();
|
||||
dataGridView3.Rows[a].Cells[7].Value = grid[7];
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (chk == false) {
|
||||
dataGridView3.Rows.Add(grid);
|
||||
}
|
||||
Grid3_Book_Count();
|
||||
}
|
||||
private void input_Inven(int data, int row_count)
|
||||
{
|
||||
string Search_Table = "`compidx`, `list_name`, `header`, `num`, `book_name`, " +
|
||||
"`author`, `book_comp`, `count`, `pay`, " + //`persent`, " +
|
||||
"`total`, `etc`, `isbn`, `order`, `order_stat`, " +
|
||||
"`order_date`, `send_date`, `stat`, `chk_date`, `import`, " +
|
||||
"`import_date`, `export`, `export_date`";
|
||||
string[] Where_Table = { "compidx", "book_name", "author", "book_comp", "list_name" };
|
||||
string[] Search_Data = { compidx,
|
||||
dataGridView2.Rows[row_count].Cells["Book_name2"].Value.ToString(),
|
||||
dataGridView2.Rows[row_count].Cells["author2"].Value.ToString(),
|
||||
dataGridView2.Rows[row_count].Cells["Book_comp2"].Value.ToString(),
|
||||
dataGridView2.Rows[row_count].Cells["list_name2"].Value.ToString() };
|
||||
string db_tmp_data = db.More_DB_Search("Obj_List_Book", Where_Table, Search_Data, Search_Table);
|
||||
string[] db_data = db_tmp_data.Split('|');
|
||||
|
||||
string[] input_data = { "", "", "", "", "",
|
||||
"", "", "", "", //"",
|
||||
"", "", "", "", "",
|
||||
"", "", "", "", "",
|
||||
"", "", "" };
|
||||
string[] input_col = { "compidx", "list_name", "header", "num", "book_name",
|
||||
"author", "book_comp", "count", "pay", //"persent",
|
||||
"total", "etc", "isbn", "order", "order_stat",
|
||||
"order_date", "send_date", "stat", "chk_date", "import",
|
||||
"import_date", "export", "export_date" };
|
||||
|
||||
// 마지막 공란 제거 for문
|
||||
for(int a= 0; a < db_data.Length-1; a++)
|
||||
{
|
||||
input_data[a] = db_data[a];
|
||||
|
||||
if (a == 3) input_data[a] = data.ToString();
|
||||
}
|
||||
|
||||
// Inven테이블내 데이터중복체크
|
||||
string[] chk_Table = { "book_name", "author", "book_comp", "isbn" };
|
||||
string[] chk_Data = { db_data[4], db_data[5], db_data[6], db_data[12] };
|
||||
string chk = db.More_DB_Search("Inven", chk_Table, chk_Data);
|
||||
|
||||
// 중복데이터가 검색되지않음.
|
||||
if (chk.Length < 3) {
|
||||
db.DB_INSERT("Inven", input_col, input_data);
|
||||
MessageBox.Show("DB 새로 추가");
|
||||
return;
|
||||
}
|
||||
else {
|
||||
string count_tmp = db.More_DB_Search("Inven", Where_Table, Search_Data, "`count`, `idx`");
|
||||
string[] cout = count_tmp.Split('|');
|
||||
int count = Convert.ToInt32(cout[1]);
|
||||
count += data;
|
||||
MessageBox.Show("DB 수정");
|
||||
db.DB_Update("Inven", "count", count.ToString(), "idx", cout[0]);
|
||||
}
|
||||
}
|
||||
private void press_Grid2_Btn(DataGridViewCellEventArgs e)
|
||||
{
|
||||
string number = dataGridView2.Rows[e.RowIndex].Cells["num2"].Value.ToString();
|
||||
string Area = "`header`, `num`, `count`, `book_name`, `book_comp`, " +
|
||||
"`author`, `pay`, `total`, `list_name`, `etc`, " +
|
||||
"`order`, `order_date`";
|
||||
string[] Table = { "book_name", "book_comp", "author", "list_name" };
|
||||
string[] Data = { dataGridView2.Rows[e.RowIndex].Cells["book_name2"].Value.ToString(),
|
||||
dataGridView2.Rows[e.RowIndex].Cells["book_comp2"].Value.ToString(),
|
||||
dataGridView2.Rows[e.RowIndex].Cells["author2"].Value.ToString(),
|
||||
dataGridView2.Rows[e.RowIndex].Cells["list_name2"].Value.ToString() };
|
||||
string db_data = db.More_DB_Search("Obj_List_Book", Table, Data, Area);
|
||||
Insert_Grid(db_data);
|
||||
|
||||
for(int a = 0; a < dataGridView3.Rows.Count-1; a++)
|
||||
{
|
||||
if (dataGridView3.Rows[a].Cells["book_name3"].Value.ToString() == Data[0] &&
|
||||
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString() == Data[1] &&
|
||||
dataGridView3.Rows[a].Cells["author3"].Value.ToString() == Data[2]) {
|
||||
int count = Convert.ToInt32(dataGridView3.Rows[a].Cells["count3"].Value.ToString());
|
||||
count--;
|
||||
if(count == 0) {
|
||||
dataGridView3.Rows.RemoveAt(a);
|
||||
}
|
||||
else if(count > 0) {
|
||||
dataGridView3.Rows[a].Cells["count3"].Value = count.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
dataGridView2.Rows.RemoveAt(e.RowIndex);
|
||||
}
|
||||
private void btn_close_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
private void tb_persent_KeyPress(object sender, KeyPressEventArgs e)
|
||||
{
|
||||
st.Only_Int(sender, e);
|
||||
}
|
||||
private void btn_save_Click(object sender, EventArgs e)
|
||||
{
|
||||
for(int a = 0; a < dataGridView2.Rows.Count; a++) {
|
||||
string[] search_Col = { "book_name", "book_comp", "author", "list_name" };
|
||||
string[] search_Data = { dataGridView2.Rows[a].Cells["Book_name2"].Value.ToString(),
|
||||
dataGridView2.Rows[a].Cells["Book_comp2"].Value.ToString(),
|
||||
dataGridView2.Rows[a].Cells["author2"].Value.ToString(),
|
||||
dataGridView2.Rows[a].Cells["list_name2"].Value.ToString() };
|
||||
|
||||
string[] edit_Col = { "import", "import_date", "isbn_import" };
|
||||
string[] edit_Data = { "입고", dataGridView2.Rows[a].Cells["Date"].Value.ToString(),
|
||||
dataGridView2.Rows[a].Cells["isbn2"].Value.ToString() };
|
||||
db.More_Update("Obj_List_Book", edit_Col, edit_Data, search_Col, search_Data);
|
||||
}
|
||||
// 입고작업을 하려는 책이 재고에 있을 경우, 재고 -1이 되어야함.
|
||||
/* 만약 재고수보다 입고수가 더 많을경우는?
|
||||
* 1. 재고수량이 0이 되며, 나머지값을 매입원장에 기입.
|
||||
* (재고1, 입고필요수량3 일 경우 재고는 사라지고, 매입원장에 2권분량의 값이 들어가야함.) */
|
||||
|
||||
save_grid2();
|
||||
save_grid3();
|
||||
input_ledger();
|
||||
}
|
||||
/// <summary>
|
||||
/// 매입원장에 추가하는 함수
|
||||
/// </summary>
|
||||
private void input_ledger() // 무조건 INSERT문이 들어가게 됨.
|
||||
{
|
||||
// 회사인덱스번호 거래처명 매입일자 내용(도서명) 수량
|
||||
string[] Area = {"compidx", "purchase", "buy_date", "book_name", "count",
|
||||
// 입고율 매입금액 결제금액 현잔액 비고
|
||||
"persent", "buy_money", "payment", "remain", "etc" };
|
||||
|
||||
for (int a = 0; a < dataGridView3.Rows.Count - 1; a++)
|
||||
{
|
||||
string[] insert_sub = { dataGridView3.Rows[a].Cells["book_name3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["author3"].Value.ToString() };
|
||||
|
||||
string[] tata = ledger_sub(a, insert_sub[0], insert_sub[1], insert_sub[2]);
|
||||
|
||||
if (chk_stock.Checked == true) {
|
||||
// 매입금액 0으로 초기화, 비고칸에 재고로 들어간거 확인을 위해 추가함.
|
||||
tata[6] = "0";
|
||||
tata[9] = "재고가감";
|
||||
}
|
||||
db.DB_INSERT("Buy_ledger", Area, tata);
|
||||
}
|
||||
}
|
||||
private bool stock_chk(string isbn)
|
||||
{
|
||||
string Area = "`isbn`";
|
||||
string[] table = { "compidx" };
|
||||
string[] colum = { compidx };
|
||||
string tmp = db.More_DB_Search("Inven", table, colum, Area);
|
||||
string[] inven_isbn = tmp.Split('|');
|
||||
for (int a= 0; a < inven_isbn.Length - 1; a++)
|
||||
{
|
||||
inven_isbn[a] = inven_isbn[a].Replace("\r", string.Empty);
|
||||
}
|
||||
for(int a = 0; a < inven_isbn.Length - 1; a++)
|
||||
{
|
||||
if (isbn == inven_isbn[a]) { return true; }
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/// <summary>
|
||||
/// input_ledger를 도와주는 함수
|
||||
/// </summary>
|
||||
/// <param name="count">입력할 표의 행번호</param>
|
||||
/// <param name="book_name">행번호에 위치한 도서명</param>
|
||||
/// <param name="book_comp">행번호에 위치한 출판사</param>
|
||||
/// <param name="author">행번호에 위치한 저자</param>
|
||||
/// <returns>input_ledger에 Area배열에 맞춰 DB에 INSERT할 데이터의 배열값 반환</returns>
|
||||
private string[] ledger_sub(int count, string book_name, string book_comp, string author)
|
||||
{
|
||||
string[] result = { "", "", "", "", "0",
|
||||
"0", "0", "0", "0", "" };
|
||||
if (book_name == "" || book_comp == "" || author == "") {
|
||||
for (int a = count; a > 0; a--)
|
||||
{
|
||||
if (dataGridView2.Rows[a].Cells["order2"].Value.ToString() != "") {
|
||||
result[0] = compidx;
|
||||
result[1] = dataGridView3.Rows[count].Cells["Order3"].Value.ToString();
|
||||
result[7] = dataGridView3.Rows[count].Cells["total3"].Value.ToString();
|
||||
if (Convert.ToInt32(result[7]) < 0) {
|
||||
int tmp7 = Convert.ToInt32(result[7]) * -1;
|
||||
result[7] = tmp7.ToString();
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int a = 0; a < dataGridView3.Rows.Count - 1; a++)
|
||||
{
|
||||
if (dataGridView3.Rows[a].Cells["book_name3"].Value.ToString() == book_name &&
|
||||
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString() == book_comp &&
|
||||
dataGridView3.Rows[a].Cells["author3"].Value.ToString() == author)
|
||||
{
|
||||
result[0] = compidx;
|
||||
result[1] = dataGridView3.Rows[a].Cells["Order3"].Value.ToString();
|
||||
result[2] = dataGridView3.Rows[a].Cells["Date3"].Value.ToString();
|
||||
result[3] = dataGridView3.Rows[a].Cells["book_name3"].Value.ToString();
|
||||
result[4] = dataGridView3.Rows[a].Cells["count3"].Value.ToString();
|
||||
result[5] = dataGridView3.Rows[a].Cells["persent"].Value.ToString();
|
||||
result[6] = dataGridView3.Rows[a].Cells["total3"].Value.ToString();
|
||||
result[9] = dataGridView3.Rows[a].Cells["etc3"].Value.ToString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 목록도서DB 안의 입고수량 수정하는 함수
|
||||
/// </summary>
|
||||
private void save_grid2()
|
||||
{
|
||||
for(int a= 0; a < dataGridView2.Rows.Count; a++)
|
||||
{
|
||||
string[] grid2 = { dataGridView2.Rows[a].Cells["num2"].Value.ToString(), // 번호
|
||||
dataGridView2.Rows[a].Cells["count2"].Value.ToString(), // 수량
|
||||
dataGridView2.Rows[a].Cells["Book_name2"].Value.ToString(), // 도서명
|
||||
dataGridView2.Rows[a].Cells["Book_comp2"].Value.ToString(), // 출판사
|
||||
dataGridView2.Rows[a].Cells["author2"].Value.ToString(), // 저자
|
||||
dataGridView2.Rows[a].Cells["pay2"].Value.ToString(), // 단가
|
||||
dataGridView2.Rows[a].Cells["total2"].Value.ToString(), // 합계
|
||||
dataGridView2.Rows[a].Cells["list_name2"].Value.ToString(), // 구분
|
||||
dataGridView2.Rows[a].Cells["edasd"].Value.ToString(), // 비고
|
||||
dataGridView2.Rows[a].Cells["order2"].Value.ToString(), // 주문처명
|
||||
dataGridView2.Rows[a].Cells["Date"].Value.ToString() }; // 입고시간
|
||||
|
||||
string[] Search_col = { "compidx", "book_name", "book_comp", "author", "list_name" };
|
||||
string[] Search_data = { compidx, grid2[2], grid2[3], grid2[4], grid2[7] };
|
||||
string tmp_db = db.More_DB_Search("Obj_List_Book", Search_col, Search_data, "`count`");
|
||||
string[] db_data = tmp_db.Split('|');
|
||||
|
||||
string[] Edit_col = { "input_count" };
|
||||
string[] Edit_data = { Inven_count(db_data[0],dataGridView2.Rows[a].Cells["count2"].Value.ToString(), a) };
|
||||
db.More_Update("Obj_List_Book", Edit_col, Edit_data, Search_col, Search_data);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 재고에 들어갈 카운트를 재는거
|
||||
/// </summary>
|
||||
/// <param name="ori">목록DB내 수량</param>
|
||||
/// <param name="change">입고된 수량</param>
|
||||
/// <returns></returns>
|
||||
private string Inven_count(string ori, string change, int count)
|
||||
{
|
||||
string result = change;
|
||||
int i_ori = Convert.ToInt32(ori);
|
||||
int i_change = Convert.ToInt32(change);
|
||||
if(i_ori < i_change) {
|
||||
int i_result = i_change - i_ori;
|
||||
input_Inven(i_result, count);
|
||||
return ori;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
/// <summary>
|
||||
/// 재고 입력함수
|
||||
/// </summary>
|
||||
private void save_grid3()
|
||||
{
|
||||
for(int a = 0; a < dataGridView3.Rows.Count - 1; a++)
|
||||
{
|
||||
string[] Search_Col = { "list_name", "book_name", "author", "book_comp" };
|
||||
string[] Search_Data = { dataGridView3.Rows[a].Cells["list_name3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["book_name3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["author3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString() };
|
||||
string copy_chk = db.More_DB_Search("Inven", Search_Col, Search_Data);
|
||||
|
||||
// insert용 배열
|
||||
string[] insert_Col = { "list_name", "book_name", "author", "book_comp", "count",
|
||||
"pay", "total", "etc" };
|
||||
string[] insert_Data = { dataGridView3.Rows[a].Cells["list_name3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["book_name3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["author3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["book_comp3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["count3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["pay3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["total3"].Value.ToString(),
|
||||
dataGridView3.Rows[a].Cells["etc3"].Value.ToString() };
|
||||
|
||||
if(copy_chk.Length < 3) { // 중복없음 INSERT
|
||||
db.DB_INSERT("Inven", insert_Col, insert_Data);
|
||||
}
|
||||
else { // 중복 UPDATE
|
||||
db.More_Update("Inven", insert_Col, insert_Data, Search_Col, Search_Data);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void dataGridView3_CellClick(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
grid3Row = e.RowIndex;
|
||||
}
|
||||
private void dataGridView3_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Up) { grid3Row--; }
|
||||
if (e.KeyCode == Keys.Down) { grid3Row++; }
|
||||
}
|
||||
private void dataGridView3_CellValueChanged(object sender, DataGridViewCellEventArgs e)
|
||||
{
|
||||
if(dataGridView3.CurrentCell != null)
|
||||
{
|
||||
if (((DataGridView)sender).CurrentCell.ColumnIndex == 6)
|
||||
{
|
||||
int count = 0;
|
||||
int pay = 0;
|
||||
int persent = 0;
|
||||
if(((DataGridView)sender).Rows[grid3Row].Cells[1].Value != null) {
|
||||
count = Convert.ToInt32(((DataGridView)sender).Rows[e.RowIndex].Cells[1].Value.ToString());
|
||||
}
|
||||
if(((DataGridView)sender).Rows[grid3Row].Cells[5].Value != null) {
|
||||
pay = Convert.ToInt32(((DataGridView)sender).Rows[e.RowIndex].Cells[5].Value.ToString());
|
||||
}
|
||||
if(((DataGridView)sender).Rows[grid3Row].Cells[6].Value != null) {
|
||||
persent = Convert.ToInt32(((DataGridView)sender).Rows[e.RowIndex].Cells[6].Value.ToString());
|
||||
}
|
||||
double result = pay * persent * 0.01 * count;
|
||||
((DataGridView)sender).Rows[grid3Row].Cells[7].Value = Math.Round(result);
|
||||
}
|
||||
//Grid3_Book_Count();
|
||||
}
|
||||
}
|
||||
private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
dataGridView1.CurrentCell.Style.SelectionBackColor = Color.Orange;
|
||||
}
|
||||
private void Purchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
{
|
||||
if(MessageBox.Show("이대로 닫으시겠습니까?", "경고", MessageBoxButtons.YesNo) == DialogResult.No) {
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
237
unimarc/WindowsFormsApp1/납품관리/Purchase.resx
Normal file
237
unimarc/WindowsFormsApp1/납품관리/Purchase.resx
Normal file
@@ -0,0 +1,237 @@
|
||||
<?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="num.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="count.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_comp.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="pay.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="total.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="etc.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="import.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="order_date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="num2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="count2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Book_name2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Book_comp2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="author2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pay2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="total2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_name2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="edasd.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="order2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Column13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="isbn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Date.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="num3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="count3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_name3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="book_comp3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="author3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pay3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="persent.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="total3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="etc3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="list_name3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Order3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="Date3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="isbn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in New Issue
Block a user