/// <summary>
        /// Sobre carga del Evento Load para configuración de controls
        /// </summary>
        /// <param name="e"></param>
        protected override void OnLoad(EventArgs e)
        {
            if (m_lightingTextBox)
            {
                SetColorTextBox(this);
            }

            SetListBox(this);
            SetEnterEventTextBox(this);

            try
            {
                Common.LogApplicationItem.UserControlName = this.Name;
                base.OnLoad(e);
            }
            catch (Exception ex)
            {
                try
                {
                    Common.LogApplicationItem.ErrorDescription = "Error al cargar User Control " + ex.ToString();
                    Common.LogApplicationItem.StackTrace       = ex.StackTrace;
                    LogsApplicationBL.AddLogApplication(Common.LogApplicationItem);
                }
                catch { }
            }
        }
 public static void AddMessageToLog(Exception ex)
 {
     try
     {
         Common.LogApplicationItem.ErrorDescription = ex.ToString();
         Common.LogApplicationItem.StackTrace       = ex.StackTrace;
         LogsApplicationBL.AddLogApplication(Common.LogApplicationItem);
     }
     catch { }
 }