/// <summary>
        /// 引发 <see cref="RunExternalProcess" /> 事件
        /// </summary>
        /// <param name="ea">包含此事件的参数</param>
        protected virtual void OnRunExternalProcess(RunExternalProcessEventArgs ea)
        {
            var handler = RunExternalProcess;

            if (handler != null)
            {
                handler(this, ea);
            }
        }
예제 #2
0
		/// <summary>
		/// 引发 <see cref="RunExternalProcess" /> 事件
		/// </summary>
		/// <param name="ea">包含此事件的参数</param>
		protected virtual void OnRunExternalProcess(RunExternalProcessEventArgs ea)
		{
			var handler = RunExternalProcess;
			if (handler != null)
				handler(this, ea);
		}