2018年5月13日

Brush

摘要: Brush是一个抽象类。以SolidBrush为例Color color = Color.FromArgb(255, 0, 0);Brush brush = new SolidBrush(color); 阅读全文

posted @ 2018-05-13 21:18 嘟嘟他爸 阅读(308) 评论(0) 推荐(0) 编辑

当页面完全加载完成后执行一个JS函数

摘要: 方法1.如下程序,当页面完全加载后执行openTheIndexPage()方法 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>Telecommunications 阅读全文

posted @ 2018-05-13 21:17 嘟嘟他爸 阅读(8842) 评论(0) 推荐(0) 编辑

CefSharp 与 JS 相互调用

摘要: 一. CefSharp调用 jsCefSharp.WinForms.ChromiumWebBrowser wb;方式1. ExecuteScriptAsync 方法使用方式与 js 的 eval方法一样,异步执行,无返回值。// xxx为js的方法名称wb.ExecuteScriptAsync("x 阅读全文

posted @ 2018-05-13 21:16 嘟嘟他爸 阅读(1368) 评论(0) 推荐(0) 编辑

导航