提交当前本机整理版本
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user