diff --git a/unimarc/.vs/unimarc/v16/.suo b/unimarc/.vs/unimarc/v16/.suo
index 5ca90da..7cfbd21 100644
Binary files a/unimarc/.vs/unimarc/v16/.suo and b/unimarc/.vs/unimarc/v16/.suo differ
diff --git a/unimarc/unimarc/bin/Debug/UniMarc.exe b/unimarc/unimarc/bin/Debug/UniMarc.exe
index ac4d394..bdaaab1 100644
Binary files a/unimarc/unimarc/bin/Debug/UniMarc.exe and b/unimarc/unimarc/bin/Debug/UniMarc.exe differ
diff --git a/unimarc/unimarc/bin/Debug/UniMarc.pdb b/unimarc/unimarc/bin/Debug/UniMarc.pdb
index 2439939..c6132f1 100644
Binary files a/unimarc/unimarc/bin/Debug/UniMarc.pdb and b/unimarc/unimarc/bin/Debug/UniMarc.pdb differ
diff --git a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll
index 1491d47..1ecd591 100644
Binary files a/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/bin/Debug/ko/UniMarc.resources.dll differ
diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache
index 83b6e0f..f5e894a 100644
Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.AssemblyReference.cache differ
diff --git a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache
index 9c7fb94..0dcd9cb 100644
Binary files a/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache and b/unimarc/unimarc/obj/Debug/UniMarc.csproj.GenerateResource.cache differ
diff --git a/unimarc/unimarc/obj/Debug/UniMarc.exe b/unimarc/unimarc/obj/Debug/UniMarc.exe
index ac4d394..bdaaab1 100644
Binary files a/unimarc/unimarc/obj/Debug/UniMarc.exe and b/unimarc/unimarc/obj/Debug/UniMarc.exe differ
diff --git a/unimarc/unimarc/obj/Debug/UniMarc.pdb b/unimarc/unimarc/obj/Debug/UniMarc.pdb
index 2439939..c6132f1 100644
Binary files a/unimarc/unimarc/obj/Debug/UniMarc.pdb and b/unimarc/unimarc/obj/Debug/UniMarc.pdb differ
diff --git a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll
index 1491d47..1ecd591 100644
Binary files a/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll and b/unimarc/unimarc/obj/Debug/ko/UniMarc.resources.dll differ
diff --git a/unimarc/unimarc/납품관리/Book_Lookup.cs b/unimarc/unimarc/납품관리/Book_Lookup.cs
index ec2fcb4..b98b259 100644
--- a/unimarc/unimarc/납품관리/Book_Lookup.cs
+++ b/unimarc/unimarc/납품관리/Book_Lookup.cs
@@ -258,7 +258,6 @@ namespace WindowsFormsApp1.Delivery
}
private void btn_order_ccl_Click(object sender, EventArgs e)
{
- // 저장버튼 클릭시 일괄 저장.
tb_order1.Text = "";
tb_order_date.Text = "";
tb_order_idx.Text = "";
diff --git a/unimarc/unimarc/납품관리/Commodity_registration.Designer.cs b/unimarc/unimarc/납품관리/Commodity_registration.Designer.cs
index dd747b5..4a1c7eb 100644
--- a/unimarc/unimarc/납품관리/Commodity_registration.Designer.cs
+++ b/unimarc/unimarc/납품관리/Commodity_registration.Designer.cs
@@ -28,13 +28,13 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = 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();
@@ -98,7 +98,6 @@
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.rbtn_marc = new System.Windows.Forms.RadioButton();
this.rbtn_div = new System.Windows.Forms.RadioButton();
@@ -294,14 +293,14 @@
// 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;
+ dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle22.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.header,
@@ -358,27 +357,27 @@
//
// count
//
- dataGridViewCellStyle2.Format = "C0";
- dataGridViewCellStyle2.NullValue = null;
- this.count.DefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle23.Format = "C0";
+ dataGridViewCellStyle23.NullValue = null;
+ this.count.DefaultCellStyle = dataGridViewCellStyle23;
this.count.HeaderText = "수량";
this.count.Name = "count";
this.count.Width = 35;
//
// unit
//
- dataGridViewCellStyle3.Format = "N0";
- dataGridViewCellStyle3.NullValue = null;
- this.unit.DefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle24.Format = "N0";
+ dataGridViewCellStyle24.NullValue = null;
+ this.unit.DefaultCellStyle = dataGridViewCellStyle24;
this.unit.HeaderText = "단가";
this.unit.Name = "unit";
this.unit.Width = 70;
//
// total
//
- dataGridViewCellStyle4.Format = "N0";
- dataGridViewCellStyle4.NullValue = null;
- this.total.DefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle25.Format = "N0";
+ dataGridViewCellStyle25.NullValue = null;
+ this.total.DefaultCellStyle = dataGridViewCellStyle25;
this.total.HeaderText = "합계";
this.total.Name = "total";
this.total.Width = 80;
@@ -436,14 +435,14 @@
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;
+ dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle26.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle26;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.list_date,
this.pur,
@@ -498,8 +497,8 @@
//
// cout
//
- dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
- this.cout.DefaultCellStyle = dataGridViewCellStyle6;
+ dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+ this.cout.DefaultCellStyle = dataGridViewCellStyle27;
this.cout.HeaderText = "수량";
this.cout.Name = "cout";
this.cout.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -507,10 +506,10 @@
//
// tol
//
- dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
- dataGridViewCellStyle7.Format = "N0";
- dataGridViewCellStyle7.NullValue = null;
- this.tol.DefaultCellStyle = dataGridViewCellStyle7;
+ dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
+ dataGridViewCellStyle28.Format = "N0";
+ dataGridViewCellStyle28.NullValue = null;
+ this.tol.DefaultCellStyle = dataGridViewCellStyle28;
this.tol.HeaderText = "합계";
this.tol.Name = "tol";
this.tol.Width = 80;
@@ -672,14 +671,6 @@
//
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.Location = new System.Drawing.Point(1036, 12);
@@ -747,11 +738,10 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1495, 613);
+ this.ClientSize = new System.Drawing.Size(1189, 613);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.panel2);
this.Controls.Add(this.dataGridView2);
- this.Controls.Add(this.richTextBox1);
this.Controls.Add(this.label7);
this.Controls.Add(this.btn_morge);
this.Controls.Add(this.btn_Edit);
@@ -843,7 +833,6 @@
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.RadioButton rbtn_marc;
private System.Windows.Forms.RadioButton rbtn_div;
diff --git a/unimarc/unimarc/납품관리/Commodity_registration.cs b/unimarc/unimarc/납품관리/Commodity_registration.cs
index 3d20bfa..924db97 100644
--- a/unimarc/unimarc/납품관리/Commodity_registration.cs
+++ b/unimarc/unimarc/납품관리/Commodity_registration.cs
@@ -94,7 +94,6 @@ namespace WindowsFormsApp1.Delivery
for(int a = 0; a < Cell_result.Length; a++)
{
string[] 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];
@@ -288,7 +287,6 @@ namespace WindowsFormsApp1.Delivery
else { MessageBox.Show("체크가 2개이상 되어있습니다!"); cout++; break; }
}
}
- richTextBox1.Text = delcout.ToString();
if (cout == 0) { MessageBox.Show("체크된 사항이 없습니다."); return; }
else if (cout == 1)
{
@@ -437,7 +435,6 @@ namespace WindowsFormsApp1.Delivery
else if (cout == 2) {
Commodity_Morge morge = new Commodity_Morge(this);
morge.Show();
- richTextBox1.Text = EditNumber.ToString() + "\n";
}
else if (cout > 2)
{
diff --git a/unimarc/unimarc/납품관리/Commodity_registration.resx b/unimarc/unimarc/납품관리/Commodity_registration.resx
index 9d149e3..3974f19 100644
--- a/unimarc/unimarc/납품관리/Commodity_registration.resx
+++ b/unimarc/unimarc/납품관리/Commodity_registration.resx
@@ -190,7 +190,7 @@
True
- 5, 4
+ 3, 4
32
diff --git a/unimarc/unimarc/납품관리/Order_Send_Chk.Designer.cs b/unimarc/unimarc/납품관리/Order_Send_Chk.Designer.cs
index 70b9d5c..25ff3a1 100644
--- a/unimarc/unimarc/납품관리/Order_Send_Chk.Designer.cs
+++ b/unimarc/unimarc/납품관리/Order_Send_Chk.Designer.cs
@@ -29,9 +29,9 @@ namespace WindowsFormsApp1.납품관리
///
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.panel1 = new System.Windows.Forms.Panel();
this.tb_pur = new System.Windows.Forms.TextBox();
this.Start_DatePicker = new System.Windows.Forms.DateTimePicker();
@@ -154,14 +154,14 @@ namespace WindowsFormsApp1.납품관리
//
this.dataGrid_Fax.AllowUserToAddRows = false;
this.dataGrid_Fax.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.dataGrid_Fax.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGrid_Fax.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dataGrid_Fax.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dataGrid_Fax.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.FaxKey,
@@ -231,8 +231,8 @@ namespace WindowsFormsApp1.납품관리
//
// f_res
//
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- this.f_res.DefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.f_res.DefaultCellStyle = dataGridViewCellStyle5;
this.f_res.HeaderText = "전송결과";
this.f_res.Name = "f_res";
//
@@ -240,14 +240,14 @@ namespace WindowsFormsApp1.납품관리
//
this.dataGrid_Email.AllowUserToAddRows = false;
this.dataGrid_Email.AllowUserToDeleteRows = false;
- 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.dataGrid_Email.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGrid_Email.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dataGrid_Email.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGrid_Email.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.m_clt,
diff --git a/unimarc/unimarc/납품관리/Order_Send_Chk.cs b/unimarc/unimarc/납품관리/Order_Send_Chk.cs
index ce221f5..3d51a53 100644
--- a/unimarc/unimarc/납품관리/Order_Send_Chk.cs
+++ b/unimarc/unimarc/납품관리/Order_Send_Chk.cs
@@ -16,7 +16,6 @@ namespace WindowsFormsApp1.납품관리
{
public partial class Order_Send_Chk : Form
{
- string[] set_date = { "", "" };
string compidx;
Helper_DB db = new Helper_DB();
Order_input oi;
@@ -54,14 +53,19 @@ namespace WindowsFormsApp1.납품관리
dataGrid_Email.Rows.Clear();
dataGrid_Fax.Rows.Clear();
- set_date[0] = Start_DatePicker.Value.ToString().Substring(0, 10);
- set_date[1] = End_DatePicker.Value.ToString().Substring(0, 10);
+ string start = Start_DatePicker.Value.ToString().Substring(0, 10);
+ string end = End_DatePicker.Value.ToString().Substring(0, 10);
+ string gu = oi.cb_ordersend.Text;
#region Grid설정
string Area = "`구분`, `팩스전송키`, `거래처명`, `날짜`, `시간`, `보낸이`, `받는이`, `전송파일명`, `전송결과`";
- string cmd = db.Search_Date("Send_Order", Area, "날짜", set_date[0], set_date[1], compidx);
- string Fax_Key_tmp = db.DB_Send_CMD_Search(cmd);
- string[] Fax_Key = Fax_Key_tmp.Split('|');
+ string cmd = string.Format(
+ "SELECT {0} FROM `Send_Order` WHERE `{1}` >= \"{2}\" AND `{1}` <= \"{3}\" AND `구분` = \"{4}\" AND `compidx` = \"{5}\";",
+ Area, "날짜", start, end, gu, compidx );
+ //string cmd = db.Search_Date("Send_Order", Area, "날짜", set_date[0], set_date[1], compidx);
+ string Fax_Key_ary = db.DB_Send_CMD_Search(cmd);
+ MessageBox.Show(Fax_Key_ary);
+ string[] Fax_Key = Fax_Key_ary.Split('|');
input_Grid(Fax_Key);
#endregion
}
@@ -92,15 +96,15 @@ namespace WindowsFormsApp1.납품관리
{
string[] grid = { "", "", "", "", "",
"", "", "", "" };
- bool not_mail = true;
+ bool isMail = true;
int len = 9;
for(int a = 0; a < data.Length; a++)
{
if (a % len == 0) {
- if (data[a] != "팩스") not_mail = false;
- else not_mail = true;
+ if (data[a] != "팩스") isMail = false;
+ else isMail = true;
}
- if (a % len == 1 && not_mail) {
+ if (a % len == 1 && isMail) {
dataGrid_Fax.Rows.Add(Plus_Fax(data, grid, a));
}
}
@@ -128,20 +132,20 @@ namespace WindowsFormsApp1.납품관리
{
string[] grid = { "", "", "", "", "",
"" };
- bool not_mail = true;
+ bool isMail = true;
int len = 9;
for(int a= 0; a < data.Length; a++)
{
if (a % len == 0) {
- if (data[a] != "메일") not_mail = false;
- else { not_mail = true; }
+ if (data[a] != "메일") isMail = false;
+ else { isMail = true; }
}
if (a % len == 2) { grid[0] = data[a]; }
if (a % len == 3) { grid[1] = data[a]; }
if (a % len == 4) { grid[2] = data[a]; }
if (a % len == 5) { grid[3] = data[a]; }
if (a % len == 6) { grid[4] = data[a]; }
- if (a % len == 7 && not_mail) {
+ if (a % len == 7 && isMail) {
grid[5] = data[a];
dataGrid_Email.Rows.Add(grid);
}
diff --git a/unimarc/unimarc/납품관리/Purchase.Designer.cs b/unimarc/unimarc/납품관리/Purchase.Designer.cs
index 09aa2ec..3398a67 100644
--- a/unimarc/unimarc/납품관리/Purchase.Designer.cs
+++ b/unimarc/unimarc/납품관리/Purchase.Designer.cs
@@ -28,14 +28,14 @@
///
private void InitializeComponent()
{
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label();
this.tb_clt = new System.Windows.Forms.TextBox();
this.tb_dly = new System.Windows.Forms.TextBox();
@@ -123,12 +123,14 @@
this.lbl_grid3 = new System.Windows.Forms.Label();
this.lbl_inven_count = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
+ this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).BeginInit();
this.panel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// label1
@@ -261,14 +263,14 @@
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;
+ dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle25.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle25;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.num,
this.count,
@@ -283,29 +285,30 @@
this.import,
this.isbn,
this.order_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;
+ dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle26.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle26.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle26.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle26;
this.dataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView1.Location = new System.Drawing.Point(9, 82);
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;
+ dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle27.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;
this.dataGridView1.RowHeadersWidth = 21;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(1192, 218);
this.dataGridView1.TabIndex = 1;
+ this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick);
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);
this.dataGridView1.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dataGridView1_CellFormatting);
//
@@ -635,14 +638,14 @@
this.dataGridView2.AllowUserToAddRows = false;
this.dataGridView2.AllowUserToDeleteRows = false;
this.dataGridView2.BackgroundColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle4.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle28.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle28.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle28;
this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.num2,
this.count2,
@@ -657,26 +660,26 @@
this.Column13,
this.isbn2,
this.Date});
- dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle5.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle5;
+ dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle29.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle29.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle29.ForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle29.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle29.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle29.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView2.DefaultCellStyle = dataGridViewCellStyle29;
this.dataGridView2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
this.dataGridView2.Location = new System.Drawing.Point(9, 332);
this.dataGridView2.MultiSelect = false;
this.dataGridView2.Name = "dataGridView2";
- dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle6.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
+ dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle30.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle30;
this.dataGridView2.RowHeadersWidth = 21;
this.dataGridView2.RowTemplate.Height = 23;
this.dataGridView2.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
@@ -761,14 +764,14 @@
// dataGridView3
//
this.dataGridView3.BackgroundColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle7.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridView3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+ dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle31.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31;
this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.isbn3,
this.count3,
@@ -786,14 +789,14 @@
this.dataGridView3.Location = new System.Drawing.Point(9, 455);
this.dataGridView3.MultiSelect = false;
this.dataGridView3.Name = "dataGridView3";
- 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;
- dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dataGridView3.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
+ dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle32.Font = new System.Drawing.Font("굴림", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ dataGridViewCellStyle32.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle32.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView3.RowHeadersDefaultCellStyle = dataGridViewCellStyle32;
this.dataGridView3.RowHeadersWidth = 21;
this.dataGridView3.RowTemplate.Height = 23;
this.dataGridView3.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
@@ -952,11 +955,22 @@
this.label14.TabIndex = 34;
this.label14.Text = "책 재고 수";
//
+ // pictureBox1
+ //
+ this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pictureBox1.Location = new System.Drawing.Point(1208, 9);
+ this.pictureBox1.Name = "pictureBox1";
+ this.pictureBox1.Size = new System.Drawing.Size(161, 291);
+ this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pictureBox1.TabIndex = 35;
+ this.pictureBox1.TabStop = false;
+ //
// Purchase
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1213, 580);
+ this.ClientSize = new System.Drawing.Size(1381, 580);
+ this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.label14);
this.Controls.Add(this.lbl_inven_count);
this.Controls.Add(this.panel3);
@@ -992,6 +1006,7 @@
((System.ComponentModel.ISupportInitialize)(this.dataGridView3)).EndInit();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1088,5 +1103,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Order3;
private System.Windows.Forms.DataGridViewTextBoxColumn Date3;
private System.Windows.Forms.DataGridViewTextBoxColumn num3;
+ private System.Windows.Forms.PictureBox pictureBox1;
}
}
\ No newline at end of file
diff --git a/unimarc/unimarc/납품관리/Purchase.cs b/unimarc/unimarc/납품관리/Purchase.cs
index 81fa2e8..235a05e 100644
--- a/unimarc/unimarc/납품관리/Purchase.cs
+++ b/unimarc/unimarc/납품관리/Purchase.cs
@@ -200,6 +200,8 @@ namespace WindowsFormsApp1.Delivery
}
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
+ dataGridView1_CellClick(sender, e);
+
int col, row;
string name = "";
if (sender == null || e == null) {
@@ -806,10 +808,11 @@ namespace WindowsFormsApp1.Delivery
///
private void input_ledger() // 무조건 INSERT문이 들어가게 됨.
{
- // 회사인덱스번호 거래처명 매입일자 내용(도서명) 수량
- string[] Area = { "compidx", "purchase", "buy_date", "book_name", "count",
- // 입고율 매입금액 결제금액 현잔액 비고
- "persent", "buy_money", "payment", "remain", "etc" };
+ 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++)
{
@@ -941,5 +944,18 @@ namespace WindowsFormsApp1.Delivery
e.Cancel = true;
}
}
+
+ private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
+ {
+ int row = dataGridView1.CurrentCell.RowIndex;
+ string isbn = dataGridView1.Rows[row].Cells["isbn"].Value.ToString();
+
+ if (isbn.Length < 9) {
+ pictureBox1.Image = null;
+ return;
+ }
+ string isbn3 = isbn.Substring(isbn.Length - 3, 3);
+ pictureBox1.ImageLocation = "http://image.kyobobook.co.kr/images/book/xlarge/" + isbn3 + "/x" + isbn + ".jpg";
+ }
}
}