/// <summary>
        /// This event is fired, when CQGCEL detects some abnormal discrepancy between data expected and data received.
        /// </summary>
        /// <param name="cqg_error">
        /// The object, in which the error has occurred.
        /// </param>
        /// <param name="error_description">
        /// The string, describing the error.
        /// </param>
        private void CEL_DataError(object cqg_error, string error_description)
        {
            try
            {
                if (cqg_error is FakeCQG.CQGError)
                {
                    FakeCQG.CQGError cqgErr = (FakeCQG.CQGError)cqg_error;

                    if (cqgErr.Code == 102)
                    {
                        error_description += " Restart the application.";
                    }
                    else if (cqgErr.Code == 125)
                    {
                        error_description += " Turn on CQG Client and restart the application.";
                    }
                }

                MessageBox.Show(error_description, "HistoricalSessions", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            catch (Exception ex)
            {
                modErrorHandler.ShowError("frmHistoricalSessions", "CEL_DataError", ex);
            }
        }
        /// <summary>
        /// This event is fired when the historical sessions are resolved or
        /// when some error has occurred during the historical sessions request processing.
        /// </summary>
        /// <param name="sessColl">
        /// Reference to resolved CQGSessionsCollection
        /// </param>
        /// <param name="request">
        /// Reference to CQGHistoricalSessionsRequest
        /// </param>
        /// <param name="cqg_error">
        /// CQGError object describing the last error occurred during the historical sessions
        /// request processing or Nothing/Invalid_Error in case of no error.
        /// CQGCEL.IsValid(Invalid_Error) returns False.
        /// </param>
        private void CEL_HistoricalSessionsResolved(FakeCQG.CQGSessionsCollection sessColl,
                                                    FakeCQG.CQGHistoricalSessionsRequest request,
                                                    FakeCQG.CQGError error)
        {
            string status = (error != null) ? "Failed" : "Succeeded";

            // clear all records
            ClearRecords();

            if (error != null)
            {
                lblError.Text = error.Description;
            }

            lblStatus.Text = status;

            // Dump all data
            DumpAllData(sessColl);
        }