1234567891011121314151617181920 |
- using NX_ModelClassLibrary.CustomEvent;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace NX_CommonClassLibrary
- {
- public class ShowLogToFrmHelper
- {
- //定义一个委托类型的事件
- public event EventHandler<ShowLogToFrmEventArgs> OnShowLogToForm;
- public void ShowLog(ShowLogToFrmEventArgs e)
- {
- OnShowLogToForm?.Invoke(this, e);
- }
- }
- }
|