private void btnNew_Click(object sender, EventArgs e)
        {
            var form   = new AddCorralForm();
            var result = form.ShowDialog();

            if (result == DialogResult.Yes)
            {
                corralTableAdapter.Fill(farmManageDataSet.Corral);
            }
        }
        private void dgvList_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }
            var form = new AddCorralForm();

            form.CorralID = Convert.ToInt32(((DataRowView)corralBindingSource[e.RowIndex]).Row[0]);
            var result = form.ShowDialog();

            if (DialogResult.Yes == result)
            {
                corralTableAdapter.Fill(farmManageDataSet.Corral);
            }
        }