From: newton-cn Date: Thu, 29 Jan 2026 08:15:38 +0000 (+0900) Subject: dddd X-Git-Url: https://git.insang.kr/gitweb/?a=commitdiff_plain;h=1a22fa41c07308807ce4b5a1e922dfce2bd29134;p=newton-cn_pos.git dddd --- diff --git a/.vs/newton-cn/v16/.suo b/.vs/newton-cn/v16/.suo index 3708141..53cf44c 100644 Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ diff --git a/newton-cn/Form9.cs b/newton-cn/Form9.cs index 603be68..9dd6e5c 100644 --- a/newton-cn/Form9.cs +++ b/newton-cn/Form9.cs @@ -141,6 +141,8 @@ namespace newton_cn Thread th = new Thread(ts); th.Start();*/ + /*Application.OpenForms["Form9"].Close(); + string phone = textBox1.Text; MouseEvent1 me = new MouseEvent1(); @@ -149,12 +151,30 @@ namespace newton_cn Clipboard.SetText("a' or ct_cphone like '%" + phone + "' or ct_phone like '%" + phone + "' or 1 like 'a"); SendKeys.SendWait("^v"); // ^ = Ctrl Clipboard.SetText(""); - Thread.Sleep(500); + Thread.Sleep(2000); SendKeys.SendWait("{ENTER}"); - Thread.Sleep(500); - SendKeys.SendWait("^{DEL}"); + Thread.Sleep(2000); + SendKeys.SendWait("^{DEL}");*/ + + var form9 = Application.OpenForms["Form9"]; + if (form9 != null) + { + form9.Activate(); + Thread.Sleep(100); + + string phone = textBox1.Text; + Clipboard.SetText("a' or ct_cphone like '%" + phone + "' or ct_phone like '%" + phone + "' or 1 like 'a"); + SendKeys.SendWait("^v"); + Clipboard.SetText(""); + + Thread.Sleep(200); + SendKeys.SendWait("{ENTER}"); + Thread.Sleep(200); + SendKeys.SendWait("^{DEL}"); + + form9.Close(); + } - Application.OpenForms["Form9"].Close(); } private void listView1_SelectedIndexChanged(object sender, EventArgs e) diff --git a/newton-cn/bin/Release/newton-cn.exe b/newton-cn/bin/Release/newton-cn.exe index 4d0c49c..6085b02 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 0c9f560..2ebd3d4 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/Release/newton-cn.exe b/newton-cn/obj/Release/newton-cn.exe index 4d0c49c..6085b02 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 0c9f560..2ebd3d4 100644 Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ