Beispiel #1
0
        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();
        }
Beispiel #2
0
        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;
        }
Beispiel #3
0
 void LoadInfos()
 {
     lblMedName.Text    = medicineName;
     lblOnSchedule.Text = ss.GetScheduleInfo().noOfSch.ToString();
 }