Answers for "click the button and open new window in wpf mvvm"

C#
3

how to make a button open window in wpf

private void Button_Click(object sender, RoutedEventArgs e)
{
    window2 win2 = new window2();
    win2.Show();
    this.Close();
}
Posted by: Guest on January-21-2020

Code answers related to "click the button and open new window in wpf mvvm"

C# Answers by Framework

Browse Popular Code Answers by Language