/// <summary> /// redirecting to loan details form /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks></remarks> private void btnPFLoan_Click(object sender, EventArgs e) { this.Close(); Loan_Details1 ld = new Loan_Details1(localEmpID, localEmpName, localPFLoan, locationtype); ld.Show(); }
/// <summary> /// Handles the Click event of the btnBack control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> /// <remarks></remarks> private void btnBack_Click(object sender, EventArgs e) { this.Close(); Loan_Details1 ld = new Loan_Details1(localEmpId, localEmpName, localLoanType, locationType); //redirecting to Loan details form ld.Show(); }