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

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