private void SetupButton_Click(object sender, RoutedEventArgs e) { Setup setupWindow = new Setup(); setupWindow.ShowDialog(); }