Exemple #1
0
        public MainWindow(string token, string name)
        {
            this.name = name;
            StudentInfoHandler.ACCESS_TOKEN = token;
            AlertLogic.ACCESS_TOKEN         = token;
            InitializeComponent();

            TotalSetUp().Wait();

            UpdateComboBox();

            new NotificationIcon(this);

            altTimer = new AlertTimer(this);
            altTimer.StartTimer();
            AlertLogic.currentList = totalAssignments;
        }
Exemple #2
0
        private void VariableSetups(string token, string name)
        {
            this.name = name;
            StudentInfoHandler.ACCESS_TOKEN = token;
            AlertLogic.ACCESS_TOKEN         = token;
            InitializeComponent();

            TotalSetUp().Wait();

            UpdateComboBox();

            new NotificationIcon(this);

            altTimer = new AlertTimer(this);
            altTimer.StartTimer();
            AlertLogic.currentList = totalAssignments;
            PC = new ProcessControl(this);

            MainCalendar.IsTodayHighlighted = true;


            AssignmentDateBinding();
        }