private void Btn_Menu(object sender, RoutedEventArgs e)
        {
            var menu = new Menu(this);

            menu.Activate();
            menu.Show();
        }
Exemple #2
0
        private void Btn_Menu(object sender, RoutedEventArgs e)
        {
            var mainWindow = App.Current.MainWindow as MainWindow;
            var menu       = new Menu(mainWindow);

            menu.Activate();
            menu.Show();
        }