Пример #1
0
        // M E N U   B U T T O N S
        private void TrasactionButton_Click(object sender, RoutedEventArgs e)
        {
            TransactionsView transactionWindow = new TransactionsView();

            this.Main.NavigationService.Navigate(transactionWindow);
            //tv.InitializeComponent();
            //tv.ShowDialog();
            TransactionsButton.Visibility = Visibility.Visible;
            RoomEditor.Visibility         = Visibility.Hidden;
            MenuButtons.Visibility        = Visibility.Hidden;
        }
Пример #2
0
 private void TransactionButton_Click(object sender, RoutedEventArgs e)
 {
     this.Close();
     TransactionsView tv = new TransactionsView();
     //rmw.NavigationService.Navigate(new Uri("TransactionView.xaml", UriKind.RelativeOrAbsolute));
 }