winform
月光下的魔术师
这个作者很懒,什么都没留下…
展开
-
treeview节点拖动
private void treeView1_ItemDrag(object sender, ItemDragEventArgs e) { TreeNode tn = e.Item as TreeNode; if ((e.Button == MouseButtons.Left) && (tn != null) && (tn.Par原创 2014-05-21 11:08:55 · 2062 阅读 · 0 评论 -
C#获取Word文档结构图 并且转成Datatable表格
/// /// 获取Word文档结构图 /// /// 文 private void G(string FilePath) { object missing = System.Reflection.Missing.Value; object FileName =原创 2014-06-05 17:45:22 · 2505 阅读 · 0 评论 -
RichTextBox实现关键字自定义颜色显示(C#)
首先建立一个XML文件:csharp.xml private protected public namespace class for if else while switch case using get return null void int string float char this set new true false const static internal extends翻译 2016-07-06 13:22:41 · 4878 阅读 · 2 评论