Shuxia Ning
2024-08-12 d2cee56db11f0ee475e9f9dbdc8bfd03ad982e18
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);
        }
    }
}