Convert WindowProvider to use generic type

This commit is contained in:
John Lewin 2018-10-02 15:51:38 -07:00
parent f79f4c50e8
commit 734666f742
2 changed files with 2 additions and 3 deletions

View file

@ -59,8 +59,7 @@ namespace MatterHackers.MatterControl
Thread.CurrentThread.CurrentUICulture = CultureInfo.InvariantCulture;
// Set default Agg providers
AggContext.Config.ProviderTypes.SystemWindow = "MatterHackers.Agg.UI.OpenGLSystemWindow, agg_platform_win32";
AggContext.Config.ProviderTypes.SystemWindowProvider = "MatterHackers.Agg.UI.WinformsSystemWindowProvider, agg_platform_win32";
AggContext.Config.ProviderTypes.SystemWindowProvider = "MatterHackers.Agg.UI.WinformsSystemWindowProvider`1[[MatterHackers.Agg.UI.OpenGLSystemWindow, agg_platform_win32]], agg_platform_win32";
//AggContext.Config.ProviderTypes.SystemWindowProvider = "MatterHackers.MatterControl.WinformsSingleWindowProvider, MatterControl.Winforms";
string userProfilePath = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);