Esempio n. 1
0
 private void Diseases_load(object sender, EventArgs e)
 {
     //LOCK OUR TEXT BOXES
     Block_or_Unlock_Textbox(false);
     Hide_Show_Buttons(false);
     currentTreat = new TreatmentDTO();
     treatBus     = new TreatmentBUS();
     currentTreat = null;
     LoadAll();
     name_suggestion();
     quantity_suggestion();
 }
Esempio n. 2
0
        private void MedicalRecord_Load(object sender, EventArgs e)
        {
            InitializeDB();
            Insert_Value_Usage();

            medBus       = new MedicineBUS();
            patBus       = new PatientBUS();
            treatBus     = new TreatmentBUS();
            medReBUS     = new MedicalRecord_BUS();
            Bill_BUS     = new bill_BUS();
            billItem_BUS = new billItem_BUS();

            dateEdit1.DateTime = DateTime.Today;
            get_patientnname();
            get_disease();
            get_symtom();
            dateEdit1.Enabled     = false;
            disCmb.SelectedIndex  = -1;
            nameCmb.SelectedIndex = -1;
        }