摘要:
在DLL中封装了Form时使用了Devexpress控件.在程序运行时,主Exe程序可以显示使用的皮肤。可是,调用DLL中的窗口时无法显示皮肤的样式。还是原始的Windows窗口样式。方法:在dll窗体中加入skincontrol控件,然后uses ..., dxGDIPlusAPI,然后在窗体代码文件的后面加入下列代码initialization dxInitializeGDIPlus;finalization dxFinalizeGDIPlus;这样就OK了 阅读全文
摘要:
1 private DataSet LoadFile(string fileName) 2 { 3 DataSet ret = new DataSet(); 4 System.Data.OleDb.OleDbConnection myConnection = new System.Data.OleDb.OleDbConnection(); 5 //You should consider using "HDR=NO", to get numbered ColumnNames in your DataSet. 6 myConnection.Conn... 阅读全文
摘要:
http://sourceforge.net/projects/koogra/ 阅读全文