【C++】GacLib——ListView.ViewSwitching
摘要:http://www.gaclib.net/Demos/Controls.ListView.ViewSwitching/Demo.html#FILESYSTEMINFORMATION_H
阅读全文
WPF中的WebBrowser
摘要:MainWindow.xaml.cs//新窗口事件 { Uri uri = new Uri(textBox_uri.Text); System.Windows.Forms.Integration....
阅读全文
转几篇WPF文章
摘要:How to view word document in WPF application (CSVSTOViewWordInWPF) WPF 浏览PDF 文件 如何保存RichTextBox的文本到数据库?以及如何对RichTextBox的Document做绑定? 使用ViewModel模式来简化WPF的TreeView
阅读全文
WPF中禁止WebBrowser控件打开新窗口
摘要:一、针对纯WPF的WebBrowser控件: Suppress Script Errors In WPF WebBrowser public static class WebBrowserExtensions { public static void SuppressScriptErrors(this WebBrowser web...
阅读全文
【转】A Windows Explorer in a user control
摘要:http://www.codeproject.com/Articles/14570/A-Windows-Explorer-in-a-user-control
阅读全文
【转】Drag and Drop files from Windows Explorer toWindows Form
摘要:http://www.codeproject.com/Articles/3598/Drag-and-Drop-files-from-Windows-Explorer-to-Windo
阅读全文
【转】How to view word document in WPF application
摘要:How to view word document in WPF application (CSVSTOViewWordInWPF) Introduction The Sample demonstrates how to view word document in WPF application. WPF does not support to view Word documents dire...
阅读全文
【转】C#路径/文件/目录/I/O常见操作汇总
摘要:文件操作是程序中非常基础和重要的内容,而路径、文件、目录以及I/O都是在进行文件操作时的常见主题,这里想把这些常见的问题作个总结,对于每个问题,尽量提供一些解决方案,即使没有你想要的答案,也希望能提供给你一点有益的思路,如果你有好的建议,恳请能够留言,使这些内容更加完善。 主要内容: 一、路径的相关操作, 如判断路径是否合法,路径类型,路径的特定部分,合并路径,系统文件夹路径等内容; ...
阅读全文
为项目引用类库
摘要:1.Microsoft.Office.Interop.Word解决方案资源管理器界面,右键项目->添加->引用->COM,搜索word->复选框选中"Microsoft Word 14.0 Object Library"->确定usingMicrosoft.Office.Interop.Word;u...
阅读全文