Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Width = SystemInformation.PrimaryMonitorSize.Width;
- int Height = SystemInformation.PrimaryMonitorSize.Height;
- protected override void OnStartup(StartupEventArgs e)
- {
- base.OnStartup(e);
- ...
- }
- Window window = (условие) ? new Window1() : new Window2();
- window.Show();
Add Comment
Please, Sign In to add comment