private void btnSchdelue_MouseDown(object sender, MouseButtonEventArgs e) { MedicineScheduleInfo medicineSchedule = new MedicineScheduleInfo(medName); ScheduleQuickWindow frm = new ScheduleQuickWindow(medName); frm.ShowDialog(); Schedule = medicineSchedule.GetScheduleInfo().noOfSch; HighLigthSchWithColor(); }
void LoadAgain() { MedicineScheduleInfo ss = new MedicineScheduleInfo(lblMedicine.Text); Schedule = ss.GetScheduleInfo().noOfSch; Medicine thisMed = new Medicine(lblMedicine.Text).MediShortInfo(); StockedP = thisMed.medicineOverAllInfo.stocked; PriceP = thisMed.medicineOverAllInfo.currentPrice; BatchP = thisMed.medicineOverAllInfo.batchs; BatchEP = thisMed.medicineOverAllInfo.expiredB; Schedule = thisMed.medicineScheduleInfo.noOfSch; }
void LoadInfos() { lblMedName.Text = medicineName; lblOnSchedule.Text = ss.GetScheduleInfo().noOfSch.ToString(); }