摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); } [DllImport("USER32.DLL")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); //导入寻找windows窗体的方法 [DllImport("USER32.DLL")] publi... 阅读全文
posted @ 2013-03-05 08:31 程序之魂 阅读(264) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Microsoft.Win32;using Shell32;using System.Threading;using System.IO;namespace WindowsFormsApplication2{ public partial class MacModi... 阅读全文
posted @ 2013-03-05 08:20 程序之魂 阅读(1189) 评论(0) 推荐(0)