如果不知道有什么用,那么你删除它。这样就知道有什么用了。如果删除了还是不知道有什么用,那么说明它没用。其它的,google足够了。
解决方案 »
- C# winform 如何列举出 XP 已安装的所有语音,及如何选择其中之一
- 【讨论】MFC和C#.Net的学习难度
- vs2010比vs2008更占用资源吗?机器比较老,能有2008,用2010会吃力吗?
- ArrayList元素做差问题!
- 字符串转换为其它类型...
- 帅哥们帮帮忙..cmd.ExecuteReader()这个出了问题..
- asp.net生成execel文件打开时,薄名和title名都是乱码。
- 如何使网页的关闭按牛为灰色?不能用(在线等)
- 大家来谈谈学习.net的一些方法,看看大家的学习方法有什么不同.
- 高分求关于文件上传下载的类。
- 按ctrl+F5和直接按F5运行的区别?
- 高手来看看下面代码怎么修改
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); [DllImport("user32.dll")]
public static extern IntPtr SetForegroundWindow(IntPtr hWnd); private void button10_Click(object sender, EventArgs e)
{
IntPtr calculatorHandle = FindWindow(null , "计算器");
if (calculatorHandle == IntPtr.Zero)
{
MessageBox.Show("Calculator is not running.");
return;
}
SetForegroundWindow(calculatorHandle);
SendKeys.SendWait("111");
SendKeys.SendWait("*");
SendKeys.SendWait("11");
SendKeys.SendWait("=");
} [DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y); private void button10_Click(object sender, EventArgs e)
{
SetCursorPos(800, 600);
}