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