/// <summary>
 /// This method will start the replay sequence. All it does is set a flag bit,
 /// as the real startup of the replay sequence is handled by the KEY_LOGGER_KEY_PRESSED_EVENT method
 /// once the user presses the insert key.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void REPLAY_SEQUENCE_START(object sender, EventArgs e) //Logged and documented.
 {
     EVENTS.LOG_MESSAGE(1, "ENTER");
     KEY_LOGGER.START_KEY_LOGGER(); //Start the logger in the FORBES library.
     REPLAY_SEQUENCE_ACTIVE = true;
     EVENTS.LOG_MESSAGE(1, "EXIT_SUCCESS");
 }
 /// <summary>
 /// This method will start the key logger. Keys will be recorded when the KEY_PRESSED event is raised.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void RECORD_SEQUENCE_START(object sender, EventArgs e) //Logged and documented.
 {
     EVENTS.LOG_MESSAGE(1, "ENTER");
     KEY_LOGGER.START_KEY_LOGGER(); //Start the keylogger in the FORBES library.
     EVENTS.LOG_MESSAGE(3, "Key logger started.");
     BTN_RECORD_START.Enabled = false;
     BTN_RECORD_STOP.Enabled  = true;
     SEQUENCE_LIST.Clear();
     SEQUENCE_DATATABLE.Clear();
     EVENTS.LOG_MESSAGE(3, "Cleared sequence tables.");
     RECORD_SEQUENCE_ACTIVE = true;
     EVENTS.LOG_MESSAGE(1, "EXIT_SUCCESS");
 }
 private void KEY_LOGGER_START(object sender, EventArgs e) //Starts the keylogger.
 {
     KEY_LOGGER.START_KEY_LOGGER();
 }