ui/wpf/UIcore/Toolkit.cs

changeset 108
77254bd6dccb
parent 107
b34bd1557c6c
child 109
c3dfcb8f0be7
--- a/ui/wpf/UIcore/Toolkit.cs	Sat Apr 05 17:57:04 2025 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading;
-using System.Threading.Tasks;
-using System.Windows;
-
-namespace UI
-{
-    public class EventCallback
-    {
-        public IntPtr Object;
-        public Action<IntPtr> Action;
-
-        public EventCallback(IntPtr uiobj, Action<IntPtr> action)
-        {
-            Object = uiobj;
-            Action = action;
-        }
-
-        public void Callback(object sender, RoutedEventArgs a)
-        {
-            Action.Invoke(Object);
-        }
-    }
-}

mercurial