このページの自分メモ 方法 : .NET Framework ガイドラインに準拠したイベントを発行する WithDataCustomEventArgs.cs(カスタムイベントがデータ通信を行う場合のみ必要) using System; namespace EventDemo { /// <summary> /// データ送信を行うカスタムイベント /// </summary> class WithDataCustomEventArgs :EventArgs { private string _message; /// <summary> /// コンストラクタ /// </summary> /// <param name="s">イベントが送信するメッセージ</param> public WithDataCustomEventArgs(string s) { _message = s; }