.Net Compact Framework 3.5 Information 搜集的关于该平台的一些信息汇总
microsoft官方介绍.aspx)
如果希望到安装文件目录中,则需要:
FileStream IconStream = new FileStream(".\\My Documents\\notify.ico",
FileMode.Open, FileAccess.Read);
".\\Program Files\PDA本地测试\\notify.ico"
所有从Control类继承的类都支持简单的数据属性绑定。此外,从ListControl继承的类(如ListBox和ComboBox)可以绑定到继承自IList或IListSource的对象(如ArrayList)。
在适合的情况下使用XmlNodeReader.Skip()方法.
XmlNodeReader reader = null;
try
{
//Create and load the XML document.
XmlDocument doc = new XmlDocument();
doc.LoadXml("<!-- sample XML -->" +
"<book>" +
"<title>Pride And Prejudice</title>" +
"<price>19.95</price>" +
"</book>");
//Load the XmlNodeReader
reader = new XmlNodeReader(doc);
reader.MoveToContent(); //Move to the book node.
reader.Read(); //Read the book start tag.
reader.Skip(); //Skip the title element.
Console.WriteLine(reader.ReadOuterXml()); //Read the price element.
}
finally
{
if (reader != null)
reader.Close();
}