diff --git a/OpenBullet/MainDialog.xaml.cs b/OpenBullet/MainDialog.xaml.cs index c353404..eab6ab2 100644 --- a/OpenBullet/MainDialog.xaml.cs +++ b/OpenBullet/MainDialog.xaml.cs @@ -12,6 +12,8 @@ namespace OpenBullet { InitializeComponent(); + WindowStartupLocation = WindowStartupLocation.CenterScreen; + Content = content; Title = title; } diff --git a/OpenBullet/MainWindow.xaml.cs b/OpenBullet/MainWindow.xaml.cs index 22307e1..e4d54c0 100644 --- a/OpenBullet/MainWindow.xaml.cs +++ b/OpenBullet/MainWindow.xaml.cs @@ -54,6 +54,8 @@ namespace OpenBullet InitializeComponent(); + WindowStartupLocation = WindowStartupLocation.CenterScreen; + Title = title; titleLabel.Content = title;