摘要:
public static int jj=4; public static string[,] Chess = new string[jj, 3]; //声明一个二维数组. //1.面板名 //2.button名 //3.显隐 private void Form1_Load(object sende 阅读全文
摘要:
private async void Browser_FrameLoadEnd(object sender, FrameLoadEndEventArgs e) { CookieVisitor visitor = new CookieVisitor(); visitor.SendCookie += v 阅读全文
摘要:
var cookieManager = Cef.GetGlobalCookieManager(); cookieManager.SetCookieAsync("http://127.0.0.1:5000", new Cookie() { Name = "aaa", Value = "bbb", }) 阅读全文
摘要:
#region 内存回收 [DllImport("kernel32.dll", EntryPoint = "SetProcessWorkingSetSize")] public static extern int SetProcessWorkingSetSize(IntPtr process, in 阅读全文
摘要:
public class CustomResourceRequestHandler : ResourceRequestHandler { protected override CefReturnValue OnBeforeResourceLoad(IWebBrowser chromiumWebBro 阅读全文
摘要:
Point p = this.Location; Form2 form2 = new Form2(p); int l2 = this.Width/2 - form2.Width / 2; int t2 = this.Height/2 - form2.Height / 2; int l = p.X + 阅读全文
摘要:
转载于https://zhidao.baidu.com/question/360469626552901972.html paperkey的回答 public class Form1 { private void button_Click(object sender, EventArgs e) { 阅读全文
摘要:
devexpress 每次运行都会弹出注册窗口 解决办法: 执行或打包前Properties ->license.licx 清空devexpress相关数据 阅读全文
摘要:
/// <summary> /// 获取当前时间戳,10位,秒 /// </summary> /// <returns></returns> public string GetTimeStamp() { TimeSpan ts = DateTime.Now - new DateTime(1970, 阅读全文
摘要:
https://blog.csdn.net/qq_36240878/article/details/84024369 阅读全文