Esempio n. 1
0
 private void laboratory_Load(object sender, EventArgs e)
 {
     profile();
     timer1.Start();
     AlertTimer.Start();
     checkPatientTimer.Start();
 }
Esempio n. 2
0
 private void doctor_Load(object sender, EventArgs e)
 {
     profile();
     timer1.Start();
     AlertTimer.Start();
     ReloadTheUnsolvePatient();
     openTreatmentTimer.Start();
 }
Esempio n. 3
0
 private void SetNewTimer(int duration)
 {
     TimerRef = new AlertTimer(duration);
     if (!TimerRef)
     {
         throw new TypeInitializationException("AlertTimer", null);
     }
 }
Esempio n. 4
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;
        }
Esempio n. 5
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();
        }