//انده البوب private void button1_Click(object sender, EventArgs e) { string code = this.employee_id.Text; string name = this.manager.Text; pop frm = new pop(); frm.showdidi(ref code, ref name, "SELECT emp_id as 'الكود',name as 'الاسم' FROM employee", "الموظفين"); this.manager.Text = name; this.employee_id.Text = code; }
private void button2_Click(object sender, EventArgs e) { string code = this.textBox6.Text; string name = this.textBox1.Text; pop frm = new pop(); frm.showdidi(ref code, ref name, "SELECT patient_id as 'كود المريض',patient_name as 'اسم المريض' FROM Registeration_patientRegisteration;", "المرضي"); this.textBox1.Text = name; this.textBox6.Text = code; }
private void button1_Click(object sender, EventArgs e) { string code = this.textBox3.Text; string name = this.textBox4.Text; pop frm = new pop(); frm.showdidi(ref code, ref name, "SELECT doc_ssn as 'كود الطبيب',full_name as 'اسم الطبيب' FROM Doctors;", "الأطباء"); this.textBox4.Text = name; this.textBox3.Text = code; }
private void button1_Click_1(object sender, EventArgs e) { string code = this.service.Text; string name = this.opOrderType.Text; pop frm = new pop(); frm.showdidi(ref code, ref name, "select order_id as ' كود الخدمة ',services_name as 'اسم الخدمة' from WM_coversPrep;", "الخدمات"); this.opOrderType.Text = name; this.service.Text = code; }