2015-11-29から1日間の記事一覧

C# Process名指定でプロセスの稼働時間やIDを取得。一定時間以上稼働しているものをkillする。

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics;…

C# Timer機能を使って、一定時間おきに処理を発生させる。なんちゃってアラームの実装

Timerこっンポー念とは、Tickと呼ばれるイベントを一定時間ごとに発生させる。 intervalで周期を設定する(ミリ秒) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.L…