Esempio n. 1
0
        private void OnShowBooksList(object sender, ExecutedRoutedEventArgs e)
        {
            var booksUI = new BooksUC();

            userControls.Add(new UIControlInfo {
                Title = "Books List", Content = booksUI
            });
        }
Esempio n. 2
0
        private void OnShowBooks(object sender, RoutedEventArgs e)
        {
            var booksUI = new BooksUC();

            this.tabControl1.SelectedIndex = this.tabControl1.Items.Add(new TabItem {
                Header = "Books", Content = booksUI
            });
        }
Esempio n. 3
0
 private void OnShowBooksList(object sender, ExecutedRoutedEventArgs e)
 {
     var booksUI = new BooksUC();
     userControls.Add(new UIControlInfo { Title = "Books List", Content = booksUI });
 }
Esempio n. 4
0
 private void OnShowBooks(object sender, RoutedEventArgs e)
 {
     var booksUI = new BooksUC();
     this.tabControl1.SelectedIndex = this.tabControl1.Items.Add(new TabItem { Header = "Books", Content = booksUI });
 }