private void OpenPlayerDatabase(object sender = null, RoutedEventArgs e = null)
        {
            Window w = new PlayerDatabase.PlayerDatabaseWindow();

            w.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            w.Owner = this;
            w.Show();
        }
Exemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Window w = new PlayerDatabase.PlayerDatabaseWindow();

            w.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            w.Owner = this;
            w.Show();
        }