上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 63 下一页
摘要: public static bool FindAndKillProcessByName(string name) { //Parameter check if (0 == name.Length) { return false; } //Find the named process and terminate it foreach (Process winProc in Process.GetProcesses()) { //use equals for the task in case we kill //a wrong process if (winProc.ProcessName... 阅读全文
posted @ 2013-04-08 18:49 Predator 阅读(149) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Threading;namespace ThreadApp{ class Program { private static int item = 0; [STAThread]//该特性一般用来标志程序的入口函数,对于一般的方法设置没有任何的影响,如下面输出的结果 private static void D... 阅读全文
posted @ 2013-04-06 21:14 Predator 阅读(275) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Dynamic;//添加引用命名空间namespace ConTest{ class Dynamic { public static void Main() { dynamic person = new ExpandoObject(); person.Name = "ganquanfu"; person... 阅读全文
posted @ 2013-04-06 12:35 Predator 阅读(231) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;namespace EditCell{ public partial class EditCell : UserControl { private string txtValue; ... 阅读全文
posted @ 2013-04-05 08:46 Predator 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 63 下一页