private void Window_Loaded(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.Sheets[0].Cells[1,1].Text = "Last Name";
gcSpreadSheet1.Sheets[0].Cells[1, 2].Text = "Value";
gcSpreadSheet1.Sheets[0].Cells[2, 1].Text = "Smith";
gcSpreadSheet1.Sheets[0].Cells[2, 2].Value = 50;
gcSpreadSheet1.Sheets[0].Cells[3, 1].Text = "Vil";
gcSpreadSheet1.Sheets[0].Cells[3, 2].Value = 10;
gcSpreadSheet1.Sheets[0].Cells[4, 1].Text = "Press";
gcSpreadSheet1.Sheets[0].Cells[4, 2].Value = 78;
gcSpreadSheet1.Sheets[0].AddTable("Table1", 1, 1, 5, 2);
gcSpreadSheet1.Invalidate();
}
private void button1_Click(object sender, RoutedEventArgs e)
{
//listBox1.Items.Add(gcSpreadSheet1.Sheets[0].FindTable(1, 1).Name.ToString());
//listBox1.Items.Add(gcSpreadSheet1.Sheets[0].FindTable("Table1").ShowHeader.ToString());
//gcSpreadSheet1.Sheets[0].RemoveTable("Table1");
//gcSpreadSheet1.Sheets[0].MoveTable("Table1", 3, 2);
//gcSpreadSheet1.Sheets[0].ResizeTable("Table1", 6, 3);
gcSpreadSheet1.Invalidate();
}