uint m_uiTickCount;                               ///<!-- Timer ticks counting                                        -->


        //-------------------------------//
        //         CONSTRUCTOR           //
        //-------------------------------//
        #region Constuctor

        /// <summary>
        /// Class constructor
        /// </summary>
        public LedMatrixContol()
        {
            //---------------------------------------------------
            // Initialisations

            // Double bufferisation
            SetStyle(ControlStyles.DoubleBuffer |
                     ControlStyles.UserPaint |
                     ControlStyles.AllPaintingInWmPaint, true);

            // Size
            m_iNbLedLines   = 16;
            m_iNbLedRows    = 64;
            m_dLedSizeCoeff = 0.8;

            // Color
            m_bOnBrush  = new SolidBrush(Color.Red);
            m_bOffBrush = new SolidBrush(Color.DarkGray);

            // Style
            m_lsLedStyle = LedSyle.Round;

            // Led collection
            m_lItemList         = new List <LedMatrixItem>();
            m_llLedPropertyList = new List <List <LedProperty> >();

            // Timer
            m_tTimer          = new System.Windows.Forms.Timer();
            m_tTimer.Interval = 70;
            m_tTimer.Tick    += new EventHandler(m_tTimer_Tick);
            m_uiTickCount     = 0;

            // Id count
            m_iItemIdCount = -1;


            //---------------------------------------------------
            // Construction

            // Place the leds on the control
            SetMatrixSize(m_iNbLedLines, m_iNbLedRows);
            this.Size = new Size(400, 180);
            // Set the font collection
            LoadFontCollectionFromResource("SeeSharpTools.JY.GUI.Resources.LedMatrixSymbolFile.xml");
            //  SeeSharpTools.JY.GUI.Resources.LedMatrixSymbolFile.xml
            // GuiTest.Properties.Resources.resources
        }
        uint m_uiTickCount;                               ///<!-- Timer ticks counting                                        -->


        //-------------------------------//
        //         CONSTRUCTOR           //
        //-------------------------------//
        #region Constuctor

        /// <summary>
        /// Class constructor
        /// </summary>
        public LedMatrixControl()
        {
            //---------------------------------------------------
            // Initialisations

            // Double bufferisation
            SetStyle(ControlStyles.DoubleBuffer |
                     ControlStyles.UserPaint |
                     ControlStyles.AllPaintingInWmPaint, true);

            // Size
            m_iNbLedLines   = 16;
            m_iNbLedRows    = 64;
            m_dLedSizeCoeff = 0.67;

            // Color
            m_bOnBrush  = new SolidBrush(Color.Red);
            m_bOffBrush = new SolidBrush(Color.DarkGray);

            // Style
            m_lsLedStyle = LedSyle.Round;

            // Led collection
            m_lItemList         = new List <LedMatrixItem>();
            m_llLedPropertyList = new List <List <LedProperty> >();

            // Timer
            m_tTimer          = new System.Windows.Forms.Timer();
            m_tTimer.Interval = 70;
            m_tTimer.Tick    += new EventHandler(m_tTimer_Tick);
            m_uiTickCount     = 0;

            // Id count
            m_iItemIdCount = -1;


            //---------------------------------------------------
            // Construction

            // Place the leds on the control
            SetMatrixSize(m_iNbLedLines, m_iNbLedRows);
        }
        //-------------------------------//
        //        MODIFICATORS           //
        //-------------------------------//
        #region Modificators

        /// <summary>
        /// Set the style of the led
        /// </summary>
        /// <param name="p_lsLedSyle">Led style</param>
        public void SetLedStyle(LedSyle p_lsLedSyle)
        {
            m_lsLedStyle = p_lsLedSyle;
            this.Refresh();
        }