コード例 #1
0
        private void PatientInformation_Load(object sender, EventArgs e)
        {
            Name_Patient.SelectedValueChanged -= Name_Patient_SelectedValueChanged1;
            MyFunction.FillComboBox(Name_Patient, PatientInfo.GetPatients(), "اسم", "الرمز");
            Name_Patient.SelectedValueChanged += Name_Patient_SelectedValueChanged1;


            MyFunction.FillComboBox(Insurance, PatientInfo.GetInsurance(), "الجهة_الضامنة", "الرمز");
            MyFunction.FillComboBox(MedcineID, PatientInfo.GetMedicine(), "اسم", "رمز");
            MyFunction.FillComboBox(InfectionDiseases, PatientInfo.GetInfectiousDeseases(), "المرض", "الرمز");
        }