/// <summary> /// 创建窗口 /// </summary> public static IContentWindow Create(UIElement content, string title) { var win = new ContentWindow(); win.Content = content; win.Title = title; return(win); }
/// <summary> /// 创建窗口 /// </summary> public static IContentWindow Create(UIElement content, string title, bool isAllowsTransparency) { var win = new ContentWindow(); win.Content = content; win.Title = title; win.AllowsTransparency = isAllowsTransparency; return(win); }