private void tsbDisplay_Click(object sender, EventArgs e)
{
NewContract renew = new NewContract();
renew.txtEnumber.Text = this.dgvEmpList.CurrentRow.Cells["Enumber"].Value.ToString();
renew.txtEname.Text = this.dgvEmpList.CurrentRow.Cells["Ename"].Value.ToString();
this.Close();
}
see image