29Wx状态初始化

This commit is contained in:
wule committed 2026-06-11 15:17:50 +08:00
1 parent 9fd5579fcd
commit 40c702883c
322 files changed
+155553

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
using AllBase;
using CefSharp.WinForms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _29WxOrder
{
public class BoundJs
{
public static ChromiumWebBrowser OwnerBrowser;
//public SearchSameForm SearchForm;
public BoundJs(ChromiumWebBrowser OwnerBrowserx/*, SearchSameForm searchForm*/)//构造与JS交互的方法
{
OwnerBrowser = OwnerBrowserx;
//SearchForm = searchForm;
}
public void myfunc(string aniContent)
{
BaseClass.AntiContent = aniContent;
//try
//{
// JavascriptResponse task = await OwnerBrowser.GetBrowser().MainFrame.EvaluateScriptAsync(PinDuoDuoAntiJs.PinDuoDuo_0anA);
// BaseClass.AntiContent = task.Result.ToString();
//}
//catch (Exception)
//{
// //throw;
//}
}
public void addproId(string upId)
{
//SearchForm.SetUpProductId(upId);
}
}
}