![]() |
| 這一盤有30片 $150 吃到有點想吐. 在後壁湖那邊 |
2012年6月18日 星期一
2012年6月15日 星期五
2012年6月10日 星期日
2012年6月6日 星期三
C# 判斷程式執行 check if a process is running?
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
if (System.Diagnostics.Process.GetProcessesByName(Application.ProductName).Length <= 1)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
else
{
MessageBox.Show("running...");
}
}
}
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
if (System.Diagnostics.Process.GetProcessesByName(Application.ProductName).Length <= 1)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
else
{
MessageBox.Show("running...");
}
}
}
2012年5月30日 星期三
2012年5月20日 星期日
寶石魚 Jade Perch (Scortum barcoo)
訂閱:
文章 (Atom)
