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);
}
}