コード例 #1
0
ファイル: SheetReader.cs プロジェクト: PlGGS/EDGE-Scheduler
        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");
        }
コード例 #2
0
ファイル: Scheduler.cs プロジェクト: PlGGS/EDGE-Scheduler
 public Scheduler(Panel panel, DataGridView dgvAvailability, SheetReader sheetReader)
 {
     this.panel           = panel;
     this.dgvAvailability = dgvAvailability;
     this.sheetReader     = sheetReader;
     Students             = new Dictionary <string, GreenTeamStudent>();
 }
コード例 #3
0
ファイル: frmMain.cs プロジェクト: PlGGS/EDGE-Scheduler
        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;
        }