Test Creation DesktopApp

This commit is contained in:
2019-03-09 14:03:25 +01:00
parent e8fd116eab
commit ac9614a70a
34 changed files with 1131 additions and 189 deletions

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Windows;
namespace LaDOSE.DesktopApp.Utils
{
public static class WpfUtil
{
public static void AddUI<T>(this ICollection<T> collection, T item)
{
Action<T> addMethod = collection.Add;
Application.Current.Dispatcher.BeginInvoke(addMethod, item);
}
}
}