After The End

2007年12月11日 #

Java的xpath示例程序

摘要: 代码示例来源于:http://www.ibm.com/developerworks/xml/library/x-javaxpathapi.html books.xml Code highlighting produced by Actipro CodeHighlighter (freeware)h... 阅读全文

posted @ 2007-12-11 16:06 zhanjh 阅读(2871) 评论(1) 推荐(0)

2007年11月30日 #

DirectoryInfo:文件搜索;XmlSerializer:xml串行化读入和存储;IComparer:Array排序

摘要: 一、文件搜索: 1 DirectoryInfodi = new DirectoryInfo(dataPath); 2 FileInfo[]xmlFiles = di.GetFiles( " *.xml " ); 二、xml串行化 1、读入 [XmlRoot( " MapItems " ,... 阅读全文

posted @ 2007-11-30 17:52 zhanjh 阅读(525) 评论(1) 推荐(0)

2007年7月13日 #

窗体控件的多线程操作

摘要: 下面代码不多,但是是我上个月花了很长时间才写出来,不现在回过头再研究研究,其实也不难。在其他的线程里,不能直接操作主窗体上的控件,必须通过IAsyncResult接口来调用(invoke)主窗口上的方法,来操作窗口上的控件。 public System.Threading.ThreadT_Hcp... 阅读全文

posted @ 2007-07-13 10:44 zhanjh 阅读(291) 评论(0) 推荐(0)

2007年7月2日 #

控件操作小结

摘要: 1.控件的拖动:以System.Windows.Forms.Panel控件为例:声明变量: Point mouse_offset; MouseDown事件: 1 private void panel1_MouseDown( object sender,MouseEventArgse) 2 { ... 阅读全文

posted @ 2007-07-02 12:17 zhanjh 阅读(341) 评论(0) 推荐(0)

2007年5月18日 #

通过Dataset操作xml数据(添加,删除,修改)

摘要: 1)cameralist.xml文件的主要内容: No.1 street No.2 street 篇幅原因只设置了一个站点。 2)cameralist.xsd文件内容: 用... 阅读全文

posted @ 2007-05-18 20:04 zhanjh 阅读(1070) 评论(0) 推荐(0)

导航

点击右上角即可分享
微信分享提示