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

            w.ShowDialog();
        }