Rupert

::Me(C#,VC,MonoTouch,MonoforAndroid);

导航

上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 107 下一页

2013年9月22日

摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Threading;namespaceWinMilkProject.Project{publicpartialclassForm1 : Form {Thread myThread;publicintfrequency =0;//更新时间频率publicstaticbooli 阅读全文

posted @ 2013-09-22 17:21 ArRan 阅读(2441) 评论(0) 推荐(1)

2013年9月13日

摘要: usingSystem;usingSystem.IO;usingSystem.Threading;usingSystem.Diagnostics;usingSystem.Runtime.InteropServices;namespaceXDF.GamePlugInCommon{//////API的摘要说明。///publicsealedclassAPI{//wMsg参数常量值://WM_KEYDOWN按下一个键publicstaticintWM_KEYDOWN= 0x0100;//释放一个键publicstaticintWM_KEYUP= 0x0101;//按下某键,并已发出WM_KEYDOW 阅读全文

posted @ 2013-09-13 16:19 ArRan 阅读(305) 评论(0) 推荐(0)

2013年9月11日

摘要: 很简单的代码就可以实现C#调用EXE文件,如下:引入using System.Diagnostics;调用代码:Process.Start(exe文件名);或直接System.Diagnostics.Process.Start(exe文件名);C#如何判断程序调用的exe已结束二个方法:以运行系统记事本为例方法一:这种方法会阻塞当前进程,直到运行的外部程序退出System.Diagnostics.Process exep = System.Diagnostics.Process.Start(@"C:WindowsNotepad.exe");exep.WaitForExit( 阅读全文

posted @ 2013-09-11 16:10 ArRan 阅读(386) 评论(0) 推荐(0)

上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 107 下一页