private void NewParty_Click(object sender, RoutedEventArgs e) { NewParty party = new NewParty(); party.ParentWindow = this; this.Hide(); party.Show(); updateData = true; }