********************************************************************************************************* WARNING: The component "Extended WPF Toolkit" you are currently using is governed by the Xceed Community License Agreement and permits NON-commercial use only. By continuing using this version, you are confirming that this component is only being used for a non-commercial purpose. If you are using this component in a commercial application, please contact Xceed's sales team by email at sales@xceed.com or visit https://xceed.com/en/our-products/product/toolkit-plus-for-wpf to purchase a subscription license. *************************************************************************************************************
privatestaticvoidOnCurrentDomainAssemblyLoad(object? sender, AssemblyLoadEventArgs args) { if (args.LoadedAssembly.GetName().Name != "Xceed.Wpf.Toolkit") return;
var type = args.LoadedAssembly.GetType("Xceed.Wpf.Toolkit.Core.Message", false); var field = type?.GetField("m_shown", BindingFlags.NonPublic | BindingFlags.Static); field?.SetValue(null, true); }