namespace VideoBrowser.Test.TestHelpers { using System.Windows; /// /// Defines the . /// internal static class WindowFactory { #region Methods /// /// The CreateAndShow. /// /// The view. internal static void CreateAndShow(FrameworkElement view) { var window = new Window { Content = view, MinWidth = 600, MinHeight = 400, SizeToContent = SizeToContent.WidthAndHeight }; window.ShowDialog(); } #endregion Methods } }