private void Button2_Click(object sender, EventArgs e)
 {
     if (dataGridView1.CurrentRow != null)
     {
         ID_supplier  = Convert.ToInt32(dataGridView1[0, dataGridView1.CurrentRow.Index].Value);
         Title        = dataGridView1[1, dataGridView1.CurrentRow.Index].Value.ToString();
         TIN          = Convert.ToDecimal(dataGridView1[2, dataGridView1.CurrentRow.Index].Value);
         CIO          = Convert.ToDecimal(dataGridView1[3, dataGridView1.CurrentRow.Index].Value);
         FIO_director = dataGridView1[4, dataGridView1.CurrentRow.Index].Value.ToString();
         Country      = dataGridView1[5, dataGridView1.CurrentRow.Index].Value.ToString();
         City         = dataGridView1[6, dataGridView1.CurrentRow.Index].Value.ToString();
         Street       = dataGridView1[7, dataGridView1.CurrentRow.Index].Value.ToString();
         House        = dataGridView1[8, dataGridView1.CurrentRow.Index].Value.ToString();
         Telephone    = dataGridView1[9, dataGridView1.CurrentRow.Index].Value.ToString();
         Email        = dataGridView1[10, dataGridView1.CurrentRow.Index].Value.ToString();
         InsertOrEdit = "Редактировать";
         AddingAndEditingSupplier f = new AddingAndEditingSupplier();
         f.Owner = this;
         f.Show();
     }
     else
     {
         MessageBox.Show("Не выбрана страна для переименования.", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        private void Button1_Click(object sender, EventArgs e)
        {
            InsertOrEdit = "Добавить";
            AddingAndEditingSupplier f = new AddingAndEditingSupplier();

            f.Owner = this;
            f.Show();
        }