1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| namespace HStation.WinFrmUI
| {
| /// <summary>
| /// 页面同步事件集
| /// </summary>
| public class PageDataSync<T> where T : class, new()
| {
| public delegate void PageDataSyncHandler(DocumentPage page, ePageDataOperation operation, T t);
|
| public static event PageDataSyncHandler DataOperationEvent;
|
| public static void Commit(DocumentPage page, ePageDataOperation operation, T t)
| {
| DataOperationEvent?.Invoke(page, operation, t);
| }
| }
| }
|
|