Ejemplo n.º 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
            });
        }
Ejemplo n.º 2
0
        private void OnShowBooksGrid(object sender, ExecutedRoutedEventArgs e)
        {
            var booksGrid = new DataGridUC();

            userControls.Add(new UIControlInfo {
                Title = "Books Grid", Content = booksGrid
            });
        }
Ejemplo n.º 3
0
 private void OnShowBooksGrid(object sender, ExecutedRoutedEventArgs e)
 {
     var booksGrid = new DataGridUC();
     userControls.Add(new UIControlInfo { Title = "Books Grid", Content = booksGrid });
 }
Ejemplo n.º 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 });
 }