private void CallbackLoadExperiment(object sender, HeavyTaskResponse response) { double load = controller.miHospital.loadExperiment; gridPatients1.setLoad(load); if (load == 1) { stop = true; } }
private void CallbackActualiceProgess(object sender, HeavyTaskResponse response) { int advance = controller.miHospital.advance; startApp1.loading(advance); if (advance == 70) { stop = true; loadMain(); filterOptions1.setAccuracy(); } }
private void CallbackLoadExcel(object sender, HeavyTaskResponse response) { filterOptions1.eneableAll(false); gridPatients1.enableAll(false); buttonsOptions1.enableButtons(false); if (gridPatients1.exported) { filterOptions1.eneableAll(true); gridPatients1.enableAll(true); buttonsOptions1.enableButtons(true); gridPatients1.exported = false; stop = true; } }