回复 1楼xiafu568的帖子
可以通过 ActiveSheetIndex 设置,参考代码如下:
- public MainWindow()
- {
- InitializeComponent();
- this.gcSpreadSheet1.Sheets.Add(new GrapeCity.Windows.SpreadSheet.Data.Worksheet());
- this.gcSpreadSheet1.Sheets.Add(new GrapeCity.Windows.SpreadSheet.Data.Worksheet());
- this.gcSpreadSheet1.ActiveSheetIndex = 1;
- }
复制代码 |