]> insang Git - newton-cn_pos.git/commitdiff
dddd
authornewton-cn <insang@kakao.com>
Thu, 29 Jan 2026 08:27:17 +0000 (17:27 +0900)
committernewton-cn <insang@kakao.com>
Thu, 29 Jan 2026 08:27:17 +0000 (17:27 +0900)
.vs/newton-cn/v16/.suo
newton-cn/Form9.cs
newton-cn/bin/Release/newton-cn.exe
newton-cn/bin/Release/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.exe
newton-cn/obj/Release/newton-cn.pdb

index b4740fc6786a28736c8055bc0777d9c45a24fc49..87318ad311c8de8999bee3a60f58b0a12e5c82a7 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index 5972d3ca3a98730e613a3f95ded426f3194b3211..172f20d8189e538e7972ced3e3239ed24b2ef2cc 100644 (file)
@@ -109,38 +109,6 @@ namespace newton_cn
 
         private void button2_Click(object sender, EventArgs e)
         {
-            /*int pr= 0;
-            int kind= 0;
-            ListView.SelectedListViewItemCollection selected = listView1.SelectedItems;
-            foreach(ListViewItem item in selected)
-            {
-                
-                for (int i=0; i<listView1.Columns.Count; i++)
-                {
-                    if (i == 4)
-                    {
-                        pr = Int32.Parse(item.SubItems[i].Text);
-                    }
-                    else if (i == 5)
-                    {
-                        kind = Int32.Parse(item.SubItems[i].Text);
-                    }
-                    
-                }
-            }
-
-            if (pr == 0 && kind == 0)
-            {
-                MessageBox.Show("찾을 제품이 선택되지 않았습니다.");
-                textBox1.Focus();
-                return;
-            }
-            Application.OpenForms["Form2"].Close();
-            MouseEvent1 me = new MouseEvent1(pr, kind, 1);
-            ThreadStart ts = new ThreadStart(me.find);
-            Thread th = new Thread(ts);
-            th.Start();*/
-
 
             string phone = textBox1.Text;
 
@@ -148,13 +116,38 @@ namespace newton_cn
 
             MouseEvent1 me = new MouseEvent1();
             me.ctclick();
-            // 키보드 입력처럼 전송
+
+            /*// 키보드 입력처럼 전송
             Clipboard.SetText("a' or ct_cphone like '%" + phone + "' or ct_phone like '%" + phone + "' or 1 like 'a");
             SendKeys.SendWait("^v");  // ^ = Ctrl
-            
+            sleep 100
             SendKeys.SendWait("{ENTER}");
-            
-            SendKeys.SendWait("^{DEL}");
+            sleep 100
+            SendKeys.SendWait("^{DEL}");*/
+
+            // 키보드 입력처럼 전송
+            Clipboard.SetText("a' or ct_cphone like '%" + phone + "' or ct_phone like '%" + phone + "' or 1 like 'a");
+            SendKeys.SendWait("^v");
+
+            // 0.1초 기다린 뒤 ENTER 실행, 그 다음 0.1초 후 Ctrl+DEL
+            var timer = new System.Windows.Forms.Timer();
+            int step = 0;
+            timer.Interval = 100; // 0.1초
+            timer.Tick += (_, __) =>
+            {
+                if (step == 0)
+                {
+                    SendKeys.SendWait("{ENTER}");
+                    step++;
+                }
+                else if (step == 1)
+                {
+                    SendKeys.SendWait("^{DEL}");
+                    timer.Stop();
+                    timer.Dispose();
+                }
+            };
+            timer.Start();
 
         }
 
index c19c16352c8839a9e309b05246f4c56991880c6d..7be5bcf996fb0fcbe8b1e04212ef44d30dfcc6c0 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index 4893830015e2d3b87b86e850a340db35fe17a153..2bc1b825f85cdb4196905614e80bb3b0e156c86f 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/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 7ef1806118d79d71ca4a14695d3a1dfb58f59a12..e9b1a2e4bd25eee85fc69b965d88cfa3649d742d 100644 (file)
@@ -37,4 +37,3 @@ z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton_cn.
 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.Form9.resources
-z:\바탕 화면\insang\workspace\newton-cn_pos\newton-cn\obj\Release\newton-cn.csproj.AssemblyReference.cache
index c19c16352c8839a9e309b05246f4c56991880c6d..7be5bcf996fb0fcbe8b1e04212ef44d30dfcc6c0 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index 4893830015e2d3b87b86e850a340db35fe17a153..2bc1b825f85cdb4196905614e80bb3b0e156c86f 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ