SVN-Revision: r899
This commit is contained in:
wyf
2025-07-31 06:35:41 +00:00
parent 3f019ad059
commit ed6a289601
6 changed files with 43 additions and 4 deletions
@@ -77,4 +77,17 @@ namespace Lskj.Control.BrowserSetting
}
else if (message.Name.Equals("OpenOnRightClick"))
{
string arg0 = message.Arguments.GetString(0);
string arg1 = message.Arguments.GetString(1);
string arg2 = message.Arguments.GetString(2);
string arg3 = message.Arguments.GetString(3);
if (ERPInfo.Instance.MainControl.InvokeRequired)
{
ERPInfo.Instance.MainControl.Invoke(new Action(() =>
{
BsOpenModuleHandler.OpenRightModule(arg0, arg1, arg2, arg3);
}));
}
else
{
BsOpenModuleHandler.OpenRightModule(arg0, ar
@@ -55,6 +55,14 @@ namespace Lskj.Control.BrowserSetting
outexception = null;
outtrn = true;
}
else if (name == "CloseWin" && arguments.Length == 0)
{
CefProcessMessage cefProcessMessage = CefProcessMessage.Create("CloseWin");
V8Context.GetFrame().SendProcessMessage(CefProcessId.Browser, cefProcessMessage);
outreturnValue = CefV8Value.CreateUndefined();
outexception = null;
outtrn = true;
}
else
{
outreturnValue = null;
@@ -16,4 +16,8 @@ namespace Lskj.Control.BrowserSetting
var boundObject;
if (!boundObject)
boundObject = {};
(function()
{
boundObject.OpenModule = function(menuId, menuName, dllName, modelFlag, urlParams)
{
native f