上一页 1 ··· 70 71 72 73 74 75 76 77 78 ··· 82 下一页
摘要: //OBJECT OF MISSING "NULL VALUE" Object oMissing = System.Reflection.Missing.Value;//OBJECTS OF FALSE AND TRUEObject oTrue = true;Object oFalse = false; //CREATING OBJECTS OF WORD AND DOCUMENTWord.App... 阅读全文
posted @ 2010-01-08 22:59 greencolor 阅读(183) 评论(0) 推荐(0)
摘要: VSTO Runtime Assembly Name Changes from Beta 2 to RTMBeta 2 nameRTM nameMicrosoft.VisualStudio.Tools.Office.Common.dllMicrosoft.Office.Tools.Common.v9.0.dllMicrosoft.VisualStudio.Tools.Office.Excel.dl... 阅读全文
posted @ 2010-01-06 09:08 greencolor 阅读(162) 评论(0) 推荐(0)
摘要: sudo dpkg-reconfigure tzdata 阅读全文
posted @ 2010-01-05 14:58 greencolor 阅读(258) 评论(0) 推荐(0)
摘要: this.listView1.View = View.Details; this.listView1.Scrollable = true; this.listView1.MultiSelect = false; this.listView1.HeaderStyle = ColumnHeaderStyle.Nonclickable; this.listView1.Columns.Add("Chang... 阅读全文
posted @ 2010-01-02 12:36 greencolor 阅读(366) 评论(1) 推荐(0)
摘要: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("bookstore.xml"); XmlNodeList xnl = xmlDoc.SelectSingleNode("bookstore").ChildNodes; foreach (XmlNode xn in xnl) { XmlElement xe = (XmlElement)xn; i... 阅读全文
posted @ 2010-01-02 12:03 greencolor 阅读(253) 评论(0) 推荐(0)
摘要: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("bookstore.xml"); XmlNodeList nodeList = xmlDoc.SelectSingleNode("bookstore").ChildNodes;//获取bookstore节点的所有子节点 foreach (XmlNode xn in nodeList)//遍历... 阅读全文
posted @ 2010-01-02 12:02 greencolor 阅读(126) 评论(0) 推荐(0)
摘要: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("bookstore.xml"); XmlNode root = xmlDoc.SelectSingleNode("bookstore");//查找<bookstore> XmlElement xe1 = xmlDoc.CreateElement("book");//创建一个<... 阅读全文
posted @ 2010-01-02 12:01 greencolor 阅读(253) 评论(0) 推荐(0)
摘要: int totalline = textBox1.GetLineFromCharIndex(textBox1.Text.Length) + 1;//得到总行数。该行数会随着文本框的大小改变而改变;若只认回车符为一行(不考虑排版变化)请用 总行数=textBox1.Lines.Length;(记事本2是这种方式) int index = textBox1.GetFirstCharIndexOfCur... 阅读全文
posted @ 2010-01-01 23:10 greencolor 阅读(128) 评论(0) 推荐(0)
摘要: set the WordWrap = False;then in the textbox, a long sentence can be putas a single line 阅读全文
posted @ 2010-01-01 22:51 greencolor 阅读(149) 评论(0) 推荐(0)
摘要: COM: (COM component)Microsoft Office 12.0 Object LibraryActiveXC:\WINDOWS\assembly\GAC\Office\12.0.0.0__71e9bce111e9429c\Office.dllShow in Reference as:Microsoft.Office.CoreAssembly: (NET component)Mi... 阅读全文
posted @ 2010-01-01 16:04 greencolor 阅读(162) 评论(0) 推荐(0)
上一页 1 ··· 70 71 72 73 74 75 76 77 78 ··· 82 下一页