示例#1
0
 /// <summary>
 /// Sets up/sends information to load the Spreadsheet GUI
 /// </summary>
 private void HandleLoadSpreadsheet()
 {
     for (int r = 0; r < 99; r++)
     {
         for (int c = 0; c < 26; c++)
         {
             window.SetCellValue(r, c, sheet.GetCellValue(getCellName(r, c)).ToString());
         }
     }
     window.NameBox = selectedCell;
     window.SetCellSelection(getColumn(selectedCell), getRow(selectedCell));
 }