/// <summary> /// Handles the 1 event of the btnPaySlips_Click 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 btnPaySlips_Click_1(object sender, EventArgs e) { this.Close(); Pay_Slip1 ObjPS = new Pay_Slip1(localEmpId, localEmpName, locationType); ObjPS.Show(); }
private void btnBack_Click_1(object sender, EventArgs e) { Pay_Slip1 ps = new Pay_Slip1(localEmpId, localEmpName, locationType); ps.Show(); this.Close(); }