/// <summary>
 /// This method turns off the REPLAY_SEQUENCE_ACTIVE flag and stops the keylogger.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void REPLAY_SEQUENCE_STOP(object sender, EventArgs e) //Logged and documented.
 {
     EVENTS.LOG_MESSAGE(1, "ENTER");
     KEY_LOGGER.STOP_KEY_LOGGER(); //Stop the logger in the FORBES library.
     REPLAY_SEQUENCE_ACTIVE = false;
     EVENTS.LOG_MESSAGE(1, "EXIT_SUCCESS");
 }
        /// <summary>
        /// This method will stop the key logger record session.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void RECORD_SEQUENCE_STOP(object sender, EventArgs e) //Logged and documented.

        {
            EVENTS.LOG_MESSAGE(1, "ENTER");
            BTN_RECORD_START.Enabled = true;
            BTN_RECORD_STOP.Enabled  = false;
            RECORD_SEQUENCE_ACTIVE   = false;
            KEY_LOGGER.STOP_KEY_LOGGER(); //Stop the keylogger in the FORBES library.
            EVENTS.LOG_MESSAGE(1, "EXIT_SUCCESS");
        }
 private void KEY_LOGGER_STOP(object sender, EventArgs e) //Not currently used.
 {
     KEY_LOGGER.STOP_KEY_LOGGER();
 }