今天用C#写了一个在Word中搜索指定的文本这样的一个应用程序,结果编译出现错误: “Could not load file or assembly ‘Microso
[更多…]-
[转] – C# Office编程——Word 错误类型:“系统找不到 Microsoft.Office.Interop.Word"
-
[轉] – C#: Lower Case All XML Tags with Regex
Sometimes when accepting an XML document from an uncontrolled source using Linq to XML, it’s useful
[更多…] -
c# – Windows Forms Events Lifecycle
See the Windows Forms Events Lifecycle: Move: This event occurs when the form is moved. Although by
[更多…] -
C# 防止WinForm重复运行
方法一:Process查找方法 1: using System; 2: using System.Collections.Generic; 3: using System.Windows
[更多…] -
[转] – C#中键盘事件在WndProc函数之前的处理流程
窗体和控件在WndProc处理函数处理键盘消息之前,都要进行预处理。本文就介绍在键盘事件被WndProc处理之前所经过的处理过程。 以下介绍是文本描述的示意介绍,和真正的代码流程(TranslateA
[更多…] -
[转] – 键盘输入工作原理
Windows 窗体通过引发键盘事件来处理键盘输入以响应 Windows 消息。大多数 Windows 窗体应用程序都通过处理键盘事件来以独占方式处理键盘输入。但是,必须了解键盘消息的工作方式,才能实
[更多…] -
C# 中的消息处理
[以下内容复制于网络] 在前面:要自定义WinForm界面控件,WndProc方法的重写恐怕是必不可少了,它是对系统消息的捕获和处理方法,自定义控件时,可以捕获重画,鼠标移动等消息,然后重画控件,从而
[更多…] -
c# 跨域(CROSS-DOMAIN)取得Document对象
1: // FREE code from CODECENTRIX 2: // http://www.codecentrix.com/ 3: // http://codecentrix.blogspot
[更多…] -
[转] – c# webbrowser跨域存取iframe的方法
這問題有點麻煩 在使用.net內建的webbrowser時如果同個document下有個frame 但是frame是跟主頁面是不同的domain 那存取frame的內容時會出問題 例如webBrows
[更多…] -
Introduction to MSHTML Editing
Introduction to MSHTML Editing The editor provided with MSHTML offers a “what you see is what
[更多…]