07 2013 档案
摘要:编辑控件 1 public abstract partial class TEditorBase : UserControl 2 where TEntity:Yom.Extend.Entity.EntityBase 3 where TRepository : Yom.Extend.Repository.RepositoryBaseRepository 4 where TSqlStrConstruct : Huawei.Data.SqlStrConstruct 5 { 6 protected TReposito...
阅读全文
摘要:1 public partial class WinFormPager : UserControl 2 { 3 const int PAGE_INDEX_START = 1; 4 /// 5 /// 当前页 6 /// 7 public int CurrentPage 8 { 9 get; 10 set; 11 } 12 /// 13 /// 每页显示条数 14 ...
阅读全文
摘要:1 public class WebBrowserAssistant 2 { 3 System.Windows.Forms.WebBrowser wb; 4 public WebBrowserAssistant(System.Windows.Forms.WebBrowser wb) { 5 this.wb = wb; 6 } 7 public bool SetElementValue(string id,string value) { 8 this.wb.Document....
阅读全文
摘要:删除一个程序了后 竟然上不了网了运行下列命令重启后就可以了实在是救了我系统一命命令如下:netsh winsock reset
阅读全文
摘要:public class LotusManager { public static int bodyMaxLength, length; public static List GetEmails(string psw,StringBuilder itemInfo,Action onEMailGet) { Domino.NotesSession ns = new Domino.NotesSession(); if (ns != null) { try { ...
阅读全文
摘要:1 using (OleDbConnection connection = new OleDbConnection(GetConnectionString())) 2 { 3 connection.Open(); 4 5 // See MSDN's "OLE DB Schema Collections (ADO.NET)" for the Microsoft Jet OLE DB Provider 6 // ...
阅读全文

浙公网安备 33010602011771号