Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string code = this.inventoryid.Text;
            pop    frm  = new pop();

            frm.showdi(ref code, "select inventory_id as 'الكود',inventoryName as 'الاسم' FROM inventory_inventory;", "المخازن");
            this.inventoryid.Text = code;
        }
Exemplo n.º 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            string code = this.op_id.Text;
            pop    frm  = new pop();

            frm.showdi(ref code, "select operation_id as 'كود العملية',type as 'نوع العملية ' FROM Inventory_inventoryOperation;", "العمليات علي الاصناف");
            this.op_id.Text = code;
        }
Exemplo n.º 3
0
        private void button4_Click(object sender, EventArgs e)
        {
            string name = this.textBox6.Text;
            pop    frm  = new pop();

            frm.showdi(ref name, "SELECT code as 'الكود',arabic_name as ' الاسم العربي',latin_name as 'الاسم اللاتينى' FROM asset", "الأصول");
            this.textBox6.Text = name;
        }
Exemplo n.º 4
0
        //انده البوب
        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;
        }
Exemplo n.º 5
0
        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;
        }
Exemplo n.º 6
0
        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;
        }
Exemplo n.º 7
0
        private void button2_Click(object sender, EventArgs e)
        {
            string code = this.textBox1.Text;

            pop frm = new pop();

            frm.showdi(ref code, "select wm_code  as ' كود المغسلة ',wm_name as 'اسم المغسلة' from washing_machine;", "اجهزة المغسلة");

            this.textBox1.Text = code;
        }
Exemplo n.º 8
0
        private void button1_Click(object sender, EventArgs e)
        {
            string code = this.textBox2.Text;

            pop frm = new pop();

            frm.showdi(ref code, "select emp_id  as ' كود العامل ',name as 'اسم الموظف' from employee;", "الموظفين");

            this.textBox2.Text = code;
        }
Exemplo n.º 9
0
        private void button1_Click(object sender, EventArgs e)
        {
            string code = this.deviceText.Text;

            pop frm = new pop();

            frm.showdi(ref code, "SELECT * FROM heartExaminationDvices;", "الأجهزة");

            this.deviceText.Text = code;
        }
Exemplo n.º 10
0
        private void button1_Click(object sender, EventArgs e)
        {
            string code = this.textBox2.Text;

            pop frm = new pop();

            frm.showdi(ref code, "select wm_code as 'كود الجهاز', wm_name as 'اسم الجهاز', max_temp as ' حرارة الجهاز', wm_type as 'نوع الجهاز', description as 'وصف الجهاز', colors as 'لون الجهاز', condition as 'حالة الجهاز' from washing_machine", "اجهزة المغسلة");

            this.textBox2.Text = code;
        }
Exemplo n.º 11
0
        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;
        }
Exemplo n.º 12
0
        private void button2_Click(object sender, EventArgs e)
        {
            string code = this.empId.Text;


            pop frm = new pop();

            frm.showdi(ref code, "select wm_employee_id as ' كود عامل المغسلة',emplyee_name as 'اسم العامل ' from wm_employees;", "موظفي المغسلة");

            this.empId.Text = code;
        }