protected void EventRaised()
        {
            lock (lockEvent)
            {
                m_lblDescMessage.Invalidate();
                m_lblDateMessage.Invalidate();

                int type = UpdateStatusString();
                switch (type)
                {
                case -1:
                    this.m_lblMainState.ForeColor = System.Drawing.Color.Red;
                    break;

                case 1:
                    this.m_lblMainState.ForeColor = System.Drawing.Color.Yellow;
                    break;

                case 0:
                default:
                    //this.m_lblMainState.ForeColor = System.Drawing.Color.Black;
                    break;
                }
            }
        }
예제 #2
0
 protected void EventRaised()
 {
     lock (lockEvent)
     {
         UpdateStatusString();
         m_lblDescError.Invalidate();
         m_lblDateError.Invalidate();
     }
 }