/// <summary> /// Handles the Click event of the btnLOP 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 btnLOP_Click(object sender, EventArgs e) { this.Close(); Loss_Of_Pay ObjLOP = new Loss_Of_Pay(LocalEmpId, localEmpName, locationType); ObjLOP.Show();//redirecting to Loss Of Pay form with ID and Name }
/// <summary> /// Redirecting to Loss Of Pay form with EmpId and EmpName /// </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(); Loss_Of_Pay ObjLOP = new Loss_Of_Pay(LocalEmpId, LocalEmpName, locationtype); ObjLOP.Show(); }