From: newton-cn Date: Tue, 28 Jan 2025 02:49:22 +0000 (+0900) Subject: 판매개수 추가 X-Git-Url: https://git.insang.kr/gitweb/?a=commitdiff_plain;h=abe77d6b482e257c84cf3de3fef7b0eb0eaf6886;p=newton-cn_pos.git 판매개수 추가 --- diff --git a/.vs/newton-cn/v16/.suo b/.vs/newton-cn/v16/.suo index 3ce2722..6740bf6 100644 Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ diff --git a/newton-cn/Form6.cs b/newton-cn/Form6.cs index 3a1cfb0..65076ec 100644 --- a/newton-cn/Form6.cs +++ b/newton-cn/Form6.cs @@ -41,7 +41,17 @@ namespace newton_cn DBConnector dbc = new DBConnector(); dataGridView1.DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(240, 240, 240); dataGridView1.DataSource = dbc.getDisposableAnalysis(todayFormatted); - dataGridView1.Columns["상품명"].Width = 200; + try + { + dataGridView1.Columns["상품명"].Width = 200; + dataGridView1.Columns["비율"].Width = 55; + dataGridView1.Columns["개수"].Width = 55; + dataGridView1.Columns["매출"].Width = 80; + } + catch (Exception) + { + + } } private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) @@ -59,7 +69,18 @@ namespace newton_cn DBConnector dbc = new DBConnector(); dataGridView1.DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(240, 240, 240); dataGridView1.DataSource = dbc.getDisposableAnalysis(result); - dataGridView1.Columns["상품명"].Width = 200; + try + { + dataGridView1.Columns["상품명"].Width = 200; + dataGridView1.Columns["비율"].Width = 55; + dataGridView1.Columns["개수"].Width = 55; + dataGridView1.Columns["매출"].Width = 80; + } + catch (Exception) + { + + } + } private void button4_Click(object sender, EventArgs e) diff --git a/newton-cn/bin/Debug/newton-cn.exe b/newton-cn/bin/Debug/newton-cn.exe index a69d1f7..3cabd7d 100644 Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ diff --git a/newton-cn/bin/Debug/newton-cn.pdb b/newton-cn/bin/Debug/newton-cn.pdb index cc2f412..364ef46 100644 Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ diff --git a/newton-cn/bin/Release/newton-cn.exe b/newton-cn/bin/Release/newton-cn.exe index 9dad505..1c46f40 100644 Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ diff --git a/newton-cn/bin/Release/newton-cn.pdb b/newton-cn/bin/Release/newton-cn.pdb index 9462d7c..2b9c7d8 100644 Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ diff --git a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache index 16804eb..2057510 100644 Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/newton-cn/obj/Debug/newton-cn.exe b/newton-cn/obj/Debug/newton-cn.exe index a69d1f7..3cabd7d 100644 Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ diff --git a/newton-cn/obj/Debug/newton-cn.pdb b/newton-cn/obj/Debug/newton-cn.pdb index cc2f412..364ef46 100644 Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ diff --git a/newton-cn/obj/Release/newton-cn.exe b/newton-cn/obj/Release/newton-cn.exe index 9dad505..1c46f40 100644 Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ diff --git a/newton-cn/obj/Release/newton-cn.pdb b/newton-cn/obj/Release/newton-cn.pdb index 9462d7c..2b9c7d8 100644 Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ