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