Beispiel #1
0
        private void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            DataContext = this;

            MainTable = new GenericTable <string, double, string>();

            MainTable.AddColumn("Col 1");
            MainTable.AddColumn("Col 2");
            MainTable.AddColumn("Col 3");

            MainTable.AddRow("Row 1");
            MainTable.AddRow("Row 2");
            MainTable.AddRow("Row 3");

            MainTable.Update();
        }