Check out example codes for "open new window c# wpf". It will help you in understanding the concepts better.

Code Example 1

private void Button_Click(object sender, RoutedEventArgs e)
{
    window2 win2 = new window2();
    win2.Show();
}

Learn ReactJs, React Native from akashmittal.com