Exemple #1
0
        private void OnShowGrid(object sender, RoutedEventArgs e)
        {
            var gridUI = new DataGridUC();

            this.tabControl1.SelectedIndex = this.tabControl1.Items.Add(new TabItem {
                Header = "DataGrid", Content = gridUI
            });
        }
Exemple #2
0
        private void OnShowBooksGrid(object sender, ExecutedRoutedEventArgs e)
        {
            var booksGrid = new DataGridUC();

            userControls.Add(new UIControlInfo {
                Title = "Books Grid", Content = booksGrid
            });
        }
Exemple #3
0
 private void OnShowBooksGrid(object sender, ExecutedRoutedEventArgs e)
 {
     var booksGrid = new DataGridUC();
     userControls.Add(new UIControlInfo { Title = "Books Grid", Content = booksGrid });
 }
Exemple #4
0
 private void OnShowGrid(object sender, RoutedEventArgs e)
 {
     var gridUI = new DataGridUC();
     this.tabControl1.SelectedIndex = this.tabControl1.Items.Add(new TabItem { Header = "DataGrid", Content = gridUI });
 }