private void btnUpdate_Click(object sender, EventArgs e)
        {
            DepartmentAdd departmentAdd = new DepartmentAdd(true, dataGridViewDep.CurrentRow.Cells[0].Value.ToString());

            byte[]       image = (byte[])classDepartment.GET_DEP_IMAGE(dataGridViewDep.CurrentRow.Cells[0].Value.ToString()).Rows[0][0];
            MemoryStream ms    = new MemoryStream(image);

            departmentAdd.pbxDepImg.Image           = Image.FromStream(ms);
            departmentAdd.txtDepName.Text           = dataGridViewDep.CurrentRow.Cells[1].Value.ToString();
            departmentAdd.comboDir.SelectedText     = dataGridViewDep.CurrentRow.Cells[2].Value.ToString();
            departmentAdd.comboDepType.SelectedText = dataGridViewDep.CurrentRow.Cells[3].Value.ToString();
            departmentAdd.txtDepAddress.Text        = dataGridViewDep.CurrentRow.Cells[4].Value.ToString();
            departmentAdd.txtDepPhone.Text          = dataGridViewDep.CurrentRow.Cells[5].Value.ToString();
            departmentAdd.txtDepEmail.Text          = dataGridViewDep.CurrentRow.Cells[6].Value.ToString();
            departmentAdd.txtFax.Text = dataGridViewDep.CurrentRow.Cells[7].Value.ToString();
            departmentAdd.Text        = "تعديل مرفق";
            departmentAdd.btnAdd.Text = "تعديل";
            departmentAdd.ShowDialog();
        }
        private void btnInsert_Click(object sender, EventArgs e)
        {
            DepartmentAdd departmentAdd = new DepartmentAdd();

            departmentAdd.ShowDialog();
        }