示例#1
0
文件: Form1.cs 项目: shambin/GRUT
        private void testCopy()
        {
            getArgosFile();
            ExcelApplication bob = new ExcelApplication(baseExcelFilename);

            bob.makeStudentCopies(lstViewer);
        }
示例#2
0
文件: Form1.cs 项目: shambin/GRUT
 private void createRosterFromArgosExcel()
 {
     if (baseExcelFilename == null)
     {
         MessageBox.Show("OOPS, no argos file selected");
     }
     else if (baseExcelFileType == EXCEL)
     {
         ExcelApplication bob = new ExcelApplication(baseExcelFilename);
         //                   MessageBox.Show(bob.word);
         //                   bob.word = baseExcelFileType;
         //                   MessageBox.Show(bob.word);
         bob.createRoster(/*lstViewer,*/ rosterFileName);
     }
     else if (baseExcelFileType == TEXT)
     {
         MessageBox.Show("Processing argos text file ");
         createRosterFromTextFile();
     }
     else
     {
         MessageBox.Show("OOPS, there be DRAGONS here ");
     }
 }