msdn中有DllImport的帮助例子
ms-help://MS.VSCC.v80/dv_commoner/html/1702ec84-76f9-4a82-9043-9ab8acb8aa5e.htm
ms-help://MS.VSCC.v80/dv_commoner/html/1702ec84-76f9-4a82-9043-9ab8acb8aa5e.htm
解决方案 »
- dataGridView二次绑定数据源后,readOnly属性无法修改
- 在winform画图的问题?
- 这个程序怎么写??
- Dictionary.System.Collections.ICollection.CopyTo方法 怎么用?
- system.random.Next(参数1,参数2)里面的参数只能是int型的,而我想实现在1到INT64之间随机生成一个随机数,请问如何实现?
- 用C#怎么测试网页是不是能正常访问?
- 如何捕获datagrid控件的KeyPress或者KeyDown、KeyUp等事件--急
- 急,请大家帮忙,做一个给数组赋值的算法(简单)
- ASP.net 数组报错
- 高手问题:已知一个表结构,想要创建 一个和该表结构一样的表.请问应如和做呢?
- 100分求教,无刷新webpart功能。恭请老孟出马
- 图片下载问题
using System.Runtime.InteropServices;
class MainClass
{
[DllImport("User32.dll")]
public static extern int MessageBox(int h, string m, string c, int type); static int Main()
{
string myString;
Console.Write("Enter your message: ");
myString = Console.ReadLine();
return MessageBox(0, myString, "My Message Box", 0);
}
}