}//Row Double click

        private void RBCreate_CheckedChanged(object sender, EventArgs e)
        {
            BtnAdd.Enabled    = true;
            BtnUpdate.Enabled = false;
            TextBoxClearEvent();
            CmbFarmer.Focus();
        }
        private void FarmerCreationForm_Load(object sender, EventArgs e)
        {
            GetfarmerToCombo();
            GridRefresh();
            GetFieldOffCombo();
            GetAreaToCombo();
            RBCreate.Checked = true;
            ToolTip tip = new ToolTip();

            tip.SetToolTip(BtnImportExcel, "Export to excel");
            tip.SetToolTip(ChkEnableSearch, "Check to enable search");
            CmbFarmer.Select();
        }
 private void CmbFOfficer_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         if (CmbFOfficer.SelectedValue != null)
         {
             if (RBCreate.Checked == true)
             {
                 BtnAdd_Click(sender, e);
                 e.Handled = true;
                 CmbFarmer.Select();
             }
             else if (RBEdit.Checked == true)
             {
                 BtnUpdate_Click(sender, e);
                 e.Handled = true;
             }
         }
         else
         {
             MessageBox.Show("Fill the 'Field Officer' to continue...!", "Input Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         }
     }
 }