private void btnEnterPlayerData_Click(object sender, RoutedEventArgs e) { wUd = new WindowUserData(); wUd.lbUsers.DataContext = Data.Users; this.Hide(); wUd.ShowDialog(); this.Show(); }