0
我正在使用WPF SplashScreen-Class(在System.Windows命名空间中定义)。构造函数需要一个'resourceName'参数。用户控件WPF飞溅屏幕
是否有机会指定UserControl而不是图像文件?如果这是不可能的:有没有办法将UserControl保存到图像文件中?
// Assembly WindowsBase.dll, v2.0.50727
using System;
using System.Reflection;
using System.Security;
namespace System.Windows
{
public class SplashScreen
{
public SplashScreen(string resourceName);
[SecurityCritical]
public SplashScreen(Assembly resourceAssembly, string resourceName);
[SecurityCritical]
public void Close(TimeSpan fadeoutDuration);
[SecurityCritical]
public void Show(bool autoClose);
}
}