/// <summary>
        /// 实例化一个对象
        /// </summary>
        public UserVerticalProgress()
        {
            InitializeComponent();

            m_borderPen     = new Pen(Color.DimGray);
            m_backBrush     = new SolidBrush(Color.Transparent);
            m_foreBrush     = new SolidBrush(Color.Tomato);
            m_progressColor = Color.Tomato;
            m_borderColor   = Color.DimGray;

            m_formatCenter               = new StringFormat();
            m_formatCenter.Alignment     = StringAlignment.Center;
            m_formatCenter.LineAlignment = StringAlignment.Center;

            m_UpdateAction = new Action(UpdateRender);
            hybirdLock     = new Core.SimpleHybirdLock();

            DoubleBuffered = true;
        }
        /// <summary>
        /// 实例化一个仪表盘控件
        /// </summary>
        public UserGaugeChart( )
        {
            InitializeComponent( );


            pen_gauge_border           = new Pen(color_gauge_border);
            brush_gauge_pointer        = new SolidBrush(color_gauge_pointer);
            centerFormat               = new StringFormat( );
            centerFormat.Alignment     = StringAlignment.Center;
            centerFormat.LineAlignment = StringAlignment.Center;

            pen_gauge_alarm             = new Pen(Color.OrangeRed, 3f);
            pen_gauge_alarm.DashStyle   = DashStyle.Custom;
            pen_gauge_alarm.DashPattern = new float[] { 5, 1 };

            hybirdLock                 = new Core.SimpleHybirdLock( );
            m_UpdateAction             = new Action(Invalidate);
            timer_alarm_check          = new Timer( );
            timer_alarm_check.Tick    += Timer_alarm_check_Tick;
            timer_alarm_check.Interval = 1000;

            DoubleBuffered = true;
        }