Ejemplo n.º 1
0
 public WindowSmartView()
 {
     InitializeComponent();
     Configuration = new WindowSkinConfiguration()
     {
         MaxHeight = WpfScreen.MaxHeight,
         MaxWidth  = 300,
         MinHeight = 400,
         MinWidth  = 300,
         ShowSystemMenuOnRightClick = false,
         ShowTitleBar             = false,
         ShowWindowControls       = false,
         NeedsMovingHelp          = true,
         ShowFullscreenDialogs    = false,
         IsResizable              = false,
         SupportsCustomBackground = false,
         SupportsMinimizingToTray = false
     };
 }
Ejemplo n.º 2
0
        public WindowAdvancedView()
        {
            InitializeComponent();

            Configuration = new WindowSkinConfiguration()
            {
                MaxHeight = double.PositiveInfinity,
                MaxWidth  = double.PositiveInfinity,
                MinHeight = 500,
                MinWidth  = 850,
                ShowSystemMenuOnRightClick = true,
                ShowTitleBar             = false,
                ShowWindowControls       = true,
                NeedsMovingHelp          = true,
                ShowFullscreenDialogs    = true,
                IsResizable              = true,
                SupportsCustomBackground = true,
                SupportsMinimizingToTray = true
            };

            SettingsViewModel.Instance.Load();
        }