private void btnEditar_Click(object sender, EventArgs e)
        {
            frmAddSuplier frm = new frmAddSuplier();

            if (dataGridView1.SelectedRows.Count > 0)
            {
                frm.txtid.Text      = dataGridView1.CurrentRow.Cells[0].Value.ToString();
                frm.txt_name.Text   = dataGridView1.CurrentRow.Cells[1].Value.ToString();
                frm.txt_branch.Text = dataGridView1.CurrentRow.Cells[2].Value.ToString();
                frm.txt_telph.Text  = dataGridView1.CurrentRow.Cells[3].Value.ToString();
                frm.txt_descr.Text  = dataGridView1.CurrentRow.Cells[4].Value.ToString();

                frm.ShowDialog();
            }
            else
            {
                MessageBox.Show("تعديله قم باختيار الصف المراد ");
            }
        }
        private void btnNuevo_Click(object sender, EventArgs e)
        {
            frmAddSuplier frm = new frmAddSuplier();

            frm.ShowDialog();
        }