private void onDoWork(string p_result, bool p_work)
 {
     if (ExecuteFinished != null)
     {
         ExecuteFinished.Invoke(this, new CommadResultEventArgs(p_result, p_work));
     }
 }
 /// <summary>
 /// コマンド終了イベントを実行する
 /// </summary>
 /// <param name="sender">イベント呼び出し元オブジェクト</param>
 /// <param name="e">イベント引数</param>
 /// <exception cref="NotImplementedException"></exception>
 private void Command_ExecuteFinished(object sender, EventArgs e)
 {
     //タイマの停止
     _timer.Stop();
     //ファイルパス
     _resultFilePath = _command.RecordPath;
     //キャンセ要求時
     if (_command.CancelRequest)
     {
         ExecuteCanceled?.Invoke(this, new EventArgs());
     }
     else
     {
         ExecuteFinished?.Invoke(this, new EventArgs());
     }
     //コマンドの破棄
     _command?.Dispose();
     Close();
 }