private void OnFrame(object sender, RoutedEventArgs e) { var w = new FramesWindow(); w.ShowDialog(); }