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

index 74574db3dc2443c36988276321f3c258a331468b..8a6554e674391c3610c3f299d73e517b92a59423 100644 (file)
Binary files a/.vs/newton-cn/v16/.suo and b/.vs/newton-cn/v16/.suo differ
index 9bc6e138abe685d15239be0ee23b63059c6fc070..84687806174c51271e971ed91d9216b0c346cba5 100644 (file)
@@ -14,24 +14,6 @@ namespace newton_cn
 {
     public partial class Form9 : Form
     {
-        class ImeHelper
-        {
-            [DllImport("user32.dll")]
-            private static extern IntPtr GetKeyboardLayout(uint idThread);
-
-            [DllImport("user32.dll")]
-            private static extern IntPtr LoadKeyboardLayout(string pwszKLID, uint Flags);
-
-            [DllImport("user32.dll")]
-            private static extern int ActivateKeyboardLayout(IntPtr hkl, uint Flags);
-
-            public static void SwitchToEnglish()
-            {
-                // 0x409 = en-US
-                IntPtr hkl = LoadKeyboardLayout("00000409", 1);
-                ActivateKeyboardLayout(hkl, 0);
-            }
-        }
 
 
         [DllImport("user32.dll")]
@@ -165,14 +147,12 @@ namespace newton_cn
             me.ctclick();
             // 키보드 입력처럼 전송
             Thread.Sleep(2000);
-            ImeHelper.SwitchToEnglish();
-            SendKeys.SendWait("a' or ct_code='" + phone + "' or 1 like 'a");
-            SendKeys.SendWait("{HANGUL}"); // 한/영 키
+            Clipboard.SetText("a' or ct_code='" + phone + "' or 1 like 'a");
+            SendKeys.SendWait("^v");  // ^ = Ctrl
             Thread.Sleep(1000);
             SendKeys.SendWait("{ENTER}");
             Thread.Sleep(1000);
             SendKeys.SendWait("^{DEL}");
-            Thread.Sleep(1000);
         }
 
         private void listView1_SelectedIndexChanged(object sender, EventArgs e)
index 712f537d4a2883eb4d4c0a19c7938c3ea93adcd6..9675cfd3a1dee35f4892e18dbdd907750baaa9fc 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.exe and b/newton-cn/bin/Debug/newton-cn.exe differ
index 2e519fc068115e3ebb14d04813fd7451b76a5efe..08db36a432a5b7f8174ec8fe6f7df80fa0c17260 100644 (file)
Binary files a/newton-cn/bin/Debug/newton-cn.pdb and b/newton-cn/bin/Debug/newton-cn.pdb differ
index 23947e971c467c80658edb54eb8fa13c3c4fb3d3..496ed0905e40835537325b7ff9b8cc70b3e9b911 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.exe and b/newton-cn/bin/Release/newton-cn.exe differ
index 1395c6d0fa5b31dcb258dbd3b14b12c5555225ae..d91e6c6191870bb2ba410cf5efc9b980ec8044c1 100644 (file)
Binary files a/newton-cn/bin/Release/newton-cn.pdb and b/newton-cn/bin/Release/newton-cn.pdb differ
index 4aa4474e03c12076696163027ae99ce4701bd7f6..8b0e09087e6f0eb27e0ec89ccf71e852d2e2307f 100644 (file)
Binary files a/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/newton-cn/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
index 712f537d4a2883eb4d4c0a19c7938c3ea93adcd6..9675cfd3a1dee35f4892e18dbdd907750baaa9fc 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.exe and b/newton-cn/obj/Debug/newton-cn.exe differ
index 2e519fc068115e3ebb14d04813fd7451b76a5efe..08db36a432a5b7f8174ec8fe6f7df80fa0c17260 100644 (file)
Binary files a/newton-cn/obj/Debug/newton-cn.pdb and b/newton-cn/obj/Debug/newton-cn.pdb differ
index 23947e971c467c80658edb54eb8fa13c3c4fb3d3..496ed0905e40835537325b7ff9b8cc70b3e9b911 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.exe and b/newton-cn/obj/Release/newton-cn.exe differ
index 1395c6d0fa5b31dcb258dbd3b14b12c5555225ae..d91e6c6191870bb2ba410cf5efc9b980ec8044c1 100644 (file)
Binary files a/newton-cn/obj/Release/newton-cn.pdb and b/newton-cn/obj/Release/newton-cn.pdb differ