private void Button_Click(object sender, RoutedEventArgs e) { ApplicationPropertiesHelper.SetProperty("PropertyKey", tbxUserText.Text); Window2 window2 = new Window2(); window2.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { ApplicationPropertiesHelper.SetProperty("PropertyKey", tbxUserText.Text); (new AnotherWindow()).ShowDialog(); }