private void btnTestCShrpGenerator_Click(object sender, RoutedEventArgs e) { TestLocation tester = new TestLocation(); tester.ShowDialog(); }