]> insang Git - newton-cn_pos.git/commitdiff
ddd
authornewton-cn <insang@kakao.com>
Thu, 29 Jan 2026 05:47:24 +0000 (14:47 +0900)
committernewton-cn <insang@kakao.com>
Thu, 29 Jan 2026 05:47:24 +0000 (14:47 +0900)
17 files changed:
.vs/newton-cn/v16/.suo
newton-cn/Form9.Designer.cs
newton-cn/Form9.cs
newton-cn/bin/Debug/newton-cn.exe
newton-cn/bin/Debug/newton-cn.pdb
newton-cn/bin/Release/newton-cn.exe
newton-cn/bin/Release/newton-cn.pdb
newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache [new file with mode: 0644]
newton-cn/obj/Debug/newton-cn.csproj.FileListAbsolute.txt
newton-cn/obj/Debug/newton-cn.csproj.GenerateResource.cache
newton-cn/obj/Debug/newton-cn.exe
newton-cn/obj/Debug/newton-cn.pdb
newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache [deleted file]
newton-cn/obj/Release/newton-cn.csproj.FileListAbsolute.txt
newton-cn/obj/Release/newton-cn.csproj.GenerateResource.cache
newton-cn/obj/Release/newton-cn.exe
newton-cn/obj/Release/newton-cn.pdb

index ed898a820f41b0d52a8aed7426816e239c0ab5cf..b14aba7845a46180f1d6c262a513ada3bd886de0 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index a746b4de29659dec8ec0709c1add0ea180560284..cf632190e4016b96ead04b944a5f06013395e9b3 100644 (file)
@@ -51,9 +51,9 @@ namespace newton_cn
             // button3
             // 
             this.button3.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button3.Location = new System.Drawing.Point(325, 14);
+            this.button3.Location = new System.Drawing.Point(330, 14);
             this.button3.Name = "button3";
-            this.button3.Size = new System.Drawing.Size(35, 31);
+            this.button3.Size = new System.Drawing.Size(30, 29);
             this.button3.TabIndex = 0;
             this.button3.Text = "X";
             this.button3.UseVisualStyleBackColor = true;
@@ -62,9 +62,9 @@ namespace newton_cn
             // textBox1
             // 
             this.textBox1.BackColor = System.Drawing.SystemColors.HighlightText;
-            this.textBox1.Location = new System.Drawing.Point(12, 22);
+            this.textBox1.Location = new System.Drawing.Point(225, 101);
             this.textBox1.Name = "textBox1";
-            this.textBox1.Size = new System.Drawing.Size(96, 21);
+            this.textBox1.Size = new System.Drawing.Size(135, 21);
             this.textBox1.TabIndex = 1;
             this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
             // 
@@ -73,7 +73,7 @@ namespace newton_cn
             this.listView1.BackColor = System.Drawing.SystemColors.HighlightText;
             this.listView1.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
             this.listView1.HideSelection = false;
-            this.listView1.Location = new System.Drawing.Point(12, 51);
+            this.listView1.Location = new System.Drawing.Point(12, 253);
             this.listView1.Name = "listView1";
             this.listView1.Size = new System.Drawing.Size(348, 407);
             this.listView1.TabIndex = 4;
@@ -83,9 +83,10 @@ namespace newton_cn
             // button2
             // 
             this.button2.Font = new System.Drawing.Font("굴림", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button2.Location = new System.Drawing.Point(201, 611);
+            this.button2.ForeColor = System.Drawing.Color.Crimson;
+            this.button2.Location = new System.Drawing.Point(272, 149);
             this.button2.Name = "button2";
-            this.button2.Size = new System.Drawing.Size(135, 37);
+            this.button2.Size = new System.Drawing.Size(88, 83);
             this.button2.TabIndex = 0;
             this.button2.Text = "회원선택";
             this.button2.UseVisualStyleBackColor = true;
@@ -94,9 +95,9 @@ namespace newton_cn
             // button1
             // 
             this.button1.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button1.Location = new System.Drawing.Point(20, 482);
+            this.button1.Location = new System.Drawing.Point(12, 14);
             this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(41, 37);
+            this.button1.Size = new System.Drawing.Size(51, 52);
             this.button1.TabIndex = 5;
             this.button1.Text = "7";
             this.button1.UseVisualStyleBackColor = true;
@@ -105,9 +106,9 @@ namespace newton_cn
             // button4
             // 
             this.button4.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button4.Location = new System.Drawing.Point(67, 482);
+            this.button4.Location = new System.Drawing.Point(83, 14);
             this.button4.Name = "button4";
-            this.button4.Size = new System.Drawing.Size(41, 37);
+            this.button4.Size = new System.Drawing.Size(51, 52);
             this.button4.TabIndex = 6;
             this.button4.Text = "8";
             this.button4.UseVisualStyleBackColor = true;
@@ -116,9 +117,9 @@ namespace newton_cn
             // button5
             // 
             this.button5.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button5.Location = new System.Drawing.Point(114, 482);
+            this.button5.Location = new System.Drawing.Point(153, 14);
             this.button5.Name = "button5";
-            this.button5.Size = new System.Drawing.Size(41, 37);
+            this.button5.Size = new System.Drawing.Size(51, 52);
             this.button5.TabIndex = 7;
             this.button5.Text = "9";
             this.button5.UseVisualStyleBackColor = true;
@@ -127,9 +128,9 @@ namespace newton_cn
             // button6
             // 
             this.button6.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button6.Location = new System.Drawing.Point(20, 525);
+            this.button6.Location = new System.Drawing.Point(12, 72);
             this.button6.Name = "button6";
-            this.button6.Size = new System.Drawing.Size(41, 37);
+            this.button6.Size = new System.Drawing.Size(51, 50);
             this.button6.TabIndex = 8;
             this.button6.Text = "4";
             this.button6.UseVisualStyleBackColor = true;
@@ -138,9 +139,9 @@ namespace newton_cn
             // button7
             // 
             this.button7.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button7.Location = new System.Drawing.Point(67, 525);
+            this.button7.Location = new System.Drawing.Point(83, 72);
             this.button7.Name = "button7";
-            this.button7.Size = new System.Drawing.Size(41, 37);
+            this.button7.Size = new System.Drawing.Size(51, 50);
             this.button7.TabIndex = 9;
             this.button7.Text = "5";
             this.button7.UseVisualStyleBackColor = true;
@@ -149,9 +150,9 @@ namespace newton_cn
             // button8
             // 
             this.button8.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button8.Location = new System.Drawing.Point(114, 525);
+            this.button8.Location = new System.Drawing.Point(153, 72);
             this.button8.Name = "button8";
-            this.button8.Size = new System.Drawing.Size(41, 37);
+            this.button8.Size = new System.Drawing.Size(51, 50);
             this.button8.TabIndex = 10;
             this.button8.Text = "6";
             this.button8.UseVisualStyleBackColor = true;
@@ -160,9 +161,9 @@ namespace newton_cn
             // button9
             // 
             this.button9.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button9.Location = new System.Drawing.Point(20, 568);
+            this.button9.Location = new System.Drawing.Point(12, 130);
             this.button9.Name = "button9";
-            this.button9.Size = new System.Drawing.Size(41, 37);
+            this.button9.Size = new System.Drawing.Size(51, 51);
             this.button9.TabIndex = 11;
             this.button9.Text = "1";
             this.button9.UseVisualStyleBackColor = true;
@@ -171,9 +172,9 @@ namespace newton_cn
             // button10
             // 
             this.button10.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button10.Location = new System.Drawing.Point(67, 568);
+            this.button10.Location = new System.Drawing.Point(83, 130);
             this.button10.Name = "button10";
-            this.button10.Size = new System.Drawing.Size(41, 37);
+            this.button10.Size = new System.Drawing.Size(51, 51);
             this.button10.TabIndex = 12;
             this.button10.Text = "2";
             this.button10.UseVisualStyleBackColor = true;
@@ -182,9 +183,9 @@ namespace newton_cn
             // button11
             // 
             this.button11.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button11.Location = new System.Drawing.Point(114, 568);
+            this.button11.Location = new System.Drawing.Point(153, 130);
             this.button11.Name = "button11";
-            this.button11.Size = new System.Drawing.Size(41, 37);
+            this.button11.Size = new System.Drawing.Size(51, 53);
             this.button11.TabIndex = 13;
             this.button11.Text = "3";
             this.button11.UseVisualStyleBackColor = true;
@@ -193,9 +194,9 @@ namespace newton_cn
             // button12
             // 
             this.button12.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button12.Location = new System.Drawing.Point(20, 611);
+            this.button12.Location = new System.Drawing.Point(12, 187);
             this.button12.Name = "button12";
-            this.button12.Size = new System.Drawing.Size(88, 37);
+            this.button12.Size = new System.Drawing.Size(122, 45);
             this.button12.TabIndex = 14;
             this.button12.Text = "0";
             this.button12.UseVisualStyleBackColor = true;
@@ -204,9 +205,9 @@ namespace newton_cn
             // button14
             // 
             this.button14.Font = new System.Drawing.Font("굴림", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button14.Location = new System.Drawing.Point(114, 611);
+            this.button14.Location = new System.Drawing.Point(153, 189);
             this.button14.Name = "button14";
-            this.button14.Size = new System.Drawing.Size(41, 37);
+            this.button14.Size = new System.Drawing.Size(51, 43);
             this.button14.TabIndex = 16;
             this.button14.Text = "CLS";
             this.button14.UseVisualStyleBackColor = true;
@@ -215,9 +216,9 @@ namespace newton_cn
             // button13
             // 
             this.button13.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button13.Location = new System.Drawing.Point(201, 482);
+            this.button13.Location = new System.Drawing.Point(225, 149);
             this.button13.Name = "button13";
-            this.button13.Size = new System.Drawing.Size(135, 37);
+            this.button13.Size = new System.Drawing.Size(41, 37);
             this.button13.TabIndex = 17;
             this.button13.Text = "▲";
             this.button13.UseVisualStyleBackColor = true;
@@ -226,9 +227,9 @@ namespace newton_cn
             // button15
             // 
             this.button15.Font = new System.Drawing.Font("굴림", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
-            this.button15.Location = new System.Drawing.Point(201, 525);
+            this.button15.Location = new System.Drawing.Point(225, 195);
             this.button15.Name = "button15";
-            this.button15.Size = new System.Drawing.Size(135, 37);
+            this.button15.Size = new System.Drawing.Size(41, 37);
             this.button15.TabIndex = 18;
             this.button15.Text = "▼";
             this.button15.UseVisualStyleBackColor = true;
index dd99e494b025b1b9c876a1220aea0248e9433f7f..618c1ee9dcf5c36632d62c54a453e7aaf3bccaa7 100644 (file)
@@ -78,24 +78,30 @@ namespace newton_cn
         private void textBox1_TextChanged(object sender, EventArgs e)
         {
             listView1.Items.Clear();
-            string item_name = textBox1.Text;
+            if (textBox1.Text == "" || textBox1.Text == null)
+            {
+                return;
+            }
             DBConnector dbc = new DBConnector();
             List<Dictionary<string, string>> list = dbc.getCt(textBox1.Text);
 
-            for (int i = 0; i < list.Count; i++)
+            if (list.Count != 0)
             {
-                String[] item =
+                for (int i = 0; i < list.Count; i++)
                 {
+                    String[] item =
+                    {
                     list[i]["ct_name"],
                     list[i]["ct_phone"],
                     list[i]["ct_cphone"],
                     list[i]["ct_code"]
                 };
-                ListViewItem lvi = new ListViewItem(item);
-                listView1.Items.Add(lvi);
+                    ListViewItem lvi = new ListViewItem(item);
+                    listView1.Items.Add(lvi);
+                }
+                listView1.Items[0].Selected = true;
+                listView1.Focus();
             }
-            listView1.Items[0].Selected = true;
-            listView1.Focus();
 
         }
 
index 9c3adb5fb3a2e91d8b55e8980bf5709470231717..1fbf59fdac954b801ed57d23e2850f09d4c77db8 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ
index 6f5d824383074f6cfef0be7968eb9f0a695dd39e..7544e07869e238caee3e79714b150f4d567e1c3f 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ
index d86d9a71218cd17b49bb993503218b7825a85f48..fd251e6f53893a5879532d160647bf546dfc4746 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index afd52cb8f2233b2bac0233d7082591e04e2398fb..5e078e43a681528570aa4d4c351f8afd1f9d1724 100644 (file)
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/newton-cn.csproj.AssemblyReference.cache b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache
new file mode 100644 (file)
index 0000000..f5e894a
Binary files /dev/null and b/newton-cn/obj/Debug/newton-cn.csproj.AssemblyReference.cache differ
index 55c4473642b130cbedd28d3cda2e764624e18fd4..e9ac9518f6803978732c7279ddaf06eb8f8709e3 100644 (file)
@@ -37,3 +37,4 @@ z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.pd
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form7.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form8.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton_cn.Form9.resources
+z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Debug\newton-cn.csproj.AssemblyReference.cache
index f6200941b94c325b675f824c6964ad8e997d0334..df8201b524831caf48e469a49bd9a01728123913 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.csproj.GenerateResource.cache and b/newton-cn/obj/Debug/newton-cn.csproj.GenerateResource.cache differ
index 9c3adb5fb3a2e91d8b55e8980bf5709470231717..1fbf59fdac954b801ed57d23e2850f09d4c77db8 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ
index 6f5d824383074f6cfef0be7968eb9f0a695dd39e..7544e07869e238caee3e79714b150f4d567e1c3f 100644 (file)
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.csproj.AssemblyReference.cache b/newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache
deleted file mode 100644 (file)
index 654fe63..0000000
Binary files a/newton-cn/obj/Release/newton-cn.csproj.AssemblyReference.cache and /dev/null differ
index 39a8f947760e941e3653d6bd3b42de7aa6bb837b..e9b1a2e4bd25eee85fc69b965d88cfa3649d742d 100644 (file)
@@ -36,5 +36,4 @@ z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form6.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form7.resources
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form8.resources
-z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.AssemblyReference.cache
 z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.Form9.resources
index f6200941b94c325b675f824c6964ad8e997d0334..1943ed77f0cf0784e5f0a6bd14716d6798a7cfea 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.csproj.GenerateResource.cache and b/newton-cn/obj/Release/newton-cn.csproj.GenerateResource.cache differ
index d86d9a71218cd17b49bb993503218b7825a85f48..fd251e6f53893a5879532d160647bf546dfc4746 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index afd52cb8f2233b2bac0233d7082591e04e2398fb..5e078e43a681528570aa4d4c351f8afd1f9d1724 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ