提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
+35 -1
View File
@@ -227,4 +227,38 @@ namespace Lskj.Main
key.SetValue("", $"\"{exePath}\" \"%1\"");
}
}
catch (Exception ex
catch (Exception ex)
{
}
}
private static void Unregister()
{
Registry.CurrentUser.DeleteSubKeyTree(@"Software\Classes\lserp", false);
}
#endregion
//public static Form GetForm()
//{
// Form X = new CEFdemo.Form1();
// return X;
//}
public class Messager : IMessageFilter
{
public bool PreFilterMessage(ref Message m)
{
//如果检测到有鼠标或则键盘的消息,则使计数为0.....
if (m.Msg == 0x0200 || m.Msg == 0x0201 || m.Msg == 0x0204 || m.Msg == 0x0207)
{
Manager.isAwaitTime = 0;
}
if (m.Msg == 0x0100 && m.WParam != new IntPtr(0x0000001b) && Lskj.Model.ERPInfo.Instance.IsExecute)
{
return true;
}
return false;
}
}
}
}