public JobExecuteResultBalloonTip(IJobExecuteResult executeResult) { InitializeComponent(); _vm = executeResult; DataContext = _vm; }
/// <summary> /// ジョブ結果通知バルーンを表示します。 /// </summary> /// <param name="executeResult">ジョブ実行結果</param> public void NotifyJobResult(IJobExecuteResult executeResult) { var balloon = new JobExecuteResultBalloonTip(executeResult); _taskbarIcon.ShowCustomBalloon(balloon, _config.NotifyConfiguration.PopupAnimationType, (int?)_config.NotifyConfiguration.PopupTimeout?.TotalMilliseconds); }