1 2 3 4 5 6 7 |
($window = [System.Windows.Window] @{ Title = "Mi formulario" Height = 200 Width = 400 WindowStartupLocation = [System.Windows.WindowStartupLocation]::CenterScreen Background = [System.Windows.Media.Brushes]::Red }).ShowDialog() |