public IList <IList <object> > Submissions; //TODO make forms that appear if these ranges are not defined in your spreadsheet public SheetReader(DataGridView dgvTimes) { this.dgvTimes = dgvTimes; Columns = SheetReader.ReadRange("Columns"); Submissions = SheetReader.ReadRange("Submissions"); }
public Scheduler(Panel panel, DataGridView dgvAvailability, SheetReader sheetReader) { this.panel = panel; this.dgvAvailability = dgvAvailability; this.sheetReader = sheetReader; Students = new Dictionary <string, GreenTeamStudent>(); }
public frmMain() { InitializeComponent(); this.Icon = Properties.Resources.Icon; frmLoading = new frmLoading(); frmLoading.Show(); sheetReader = new SheetReader(dgvTimes); scheduler = new Scheduler(scrMain.Panel1, dgvAvailability, sheetReader); Properties.Settings.Default.ExecutableDirectoryPath = AppDomain.CurrentDomain.BaseDirectory; Properties.Settings.Default.Save(); dtpStart.Format = DateTimePickerFormat.Time; dtpStart.ShowUpDown = true; dtpEnd.Format = DateTimePickerFormat.Time; dtpEnd.ShowUpDown = true; }