When I click a button on my navigation bar, a new window opens. For instance:
private void btFinanzen_Click(object sender, RoutedEventArgs e) { Finanz mw = new Finanz(login); mw.Show(); }
Now I do not want to show this in a new window. Instead, I want it to appear in the same window. I tried the following:
private void btFinanzen_Click(object sender, RoutedEventArgs e) { Finanz mw = new Finanz(login);
but it failed. I have to say that now I have many different windows, and you want all of them to be displayed in one window - each, by clicking another button. How can i do this?
source share