摘要:
在winform中有一个控件可以显示html的内容,该控件就是webbrowser,设置它的DocumenText属性为HTML的内容即可。 在使用WebBrowser做UI的时候,我们有时不希望里面的链接被用户点击,更不希望弹出烦人的脚本错误提示框,也不希望用户能点出右键的IE菜单,要做到这些,其
阅读全文
posted @ 2017-05-20 22:03
huzige0265
阅读(171)
推荐(0)
编辑
摘要:
public class StringEventArgs : EventArgs //要继承EventArgs { public StringEventArgs(string aStrValue) { StrValue = aStrValue; } public string StrValue {
阅读全文
posted @ 2017-03-14 11:51
huzige0265
阅读(173)
推荐(0)
编辑
摘要:
using System; namespace CommonLib{ /// <summary> /// CommonCode 的摘要说明。 /// </summary> [Serializable] public class CommonCode { private string m_ID = s
阅读全文
posted @ 2017-03-14 11:33
huzige0265
阅读(487)
推荐(0)
编辑
摘要:
private List<GetNewDateDTO> Reflection() { object obj; Assembly assembly = Assembly.Load("NetGet.UI");//加载DLL,NetGet.UI 为类库名称 Type t = assembly.GetTyp
阅读全文
posted @ 2017-03-14 09:49
huzige0265
阅读(190)
推荐(0)
编辑
摘要:
/// <summary> /// 删除后定位到某一行 /// </summary> /// <param name="aCode"></param> /// <returns></returns> public int LocateRow(string aCode) { var list = bi
阅读全文
posted @ 2017-03-14 09:46
huzige0265
阅读(265)
推荐(0)
编辑