コード例 #1
0
        /// <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();
            Leave_Record ObjLR = new Leave_Record(localEmpId, localEmpName, locationtype);

            ObjLR.Show();
        }
コード例 #2
0
        /// <summary>
        /// Handles the Click event of the btnLeaveHistory 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 btnLeaveHistory_Click(object sender, EventArgs e)
        {
            this.Close();
            Leave_Record ObjLR = new Leave_Record(LocalEmpId, localEmpName, locationType);

            ObjLR.Show();//redirecting to Leave Record form with ID and Name
        }