private void BnOpenPinnedTabExample_Click(object sender, RoutedEventArgs e) { PinnedTabExampleWindow window = new PinnedTabExampleWindow(); window.Show(); }