上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Diagnostics; using System.Wind... 阅读全文
posted @ 2017-08-27 15:16 Dsp Tian 阅读(9734) 评论(0) 推荐(0)
摘要: using System; using System.IO; using System.Diagnostics; namespace ConsoleApplication { class Program { static void Main(string[] args) { string dst = "c:/123.exe"... 阅读全文
posted @ 2017-08-27 15:16 Dsp Tian 阅读(562) 评论(0) 推荐(0)
摘要: 1.this.Close(); 只是关闭当前窗口,若不是主窗体的话,是无法退出程序的,另外若有托管线程(非主线程),也无法干净地退出; 2.Application.Exit(); 强制所有消息中止,退出所有的窗体,但是若有托管线程(非主线程),也无法干净地退出; 3.Application.Exit 阅读全文
posted @ 2017-08-27 15:15 Dsp Tian 阅读(399) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Diagnostics; using System.Wind... 阅读全文
posted @ 2017-08-27 15:15 Dsp Tian 阅读(1098) 评论(0) 推荐(0)
摘要: using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace ConsoleApplication1 { class Program { public struct POINT { public int x... 阅读全文
posted @ 2017-08-27 15:14 Dsp Tian 阅读(834) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Wind... 阅读全文
posted @ 2017-08-27 15:14 Dsp Tian 阅读(1954) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Diagnostics; using System.Wind... 阅读全文
posted @ 2017-08-27 15:14 Dsp Tian 阅读(4924) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Wind... 阅读全文
posted @ 2017-08-27 15:13 Dsp Tian 阅读(774) 评论(0) 推荐(0)
摘要: using System; using System.Runtime.InteropServices; namespace ConsoleApplication { class Program { [DllImport("winmm.dll")] public static extern uint mciSendString(string lps... 阅读全文
posted @ 2017-08-27 15:12 Dsp Tian 阅读(776) 评论(0) 推荐(0)
摘要: 转自:http://www.cnblogs.com/netlyf/archive/2011/06/22/2086718.html 一、获取当前文件的路径 string str1=Process.GetCurrentProcess().MainModule.FileName;//可获得当前执行的exe 阅读全文
posted @ 2017-08-27 15:12 Dsp Tian 阅读(447) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 79 下一页