Пример #1
0
        public void tmrShow_Tick(object sender, EventArgs e)
        {
            try
            {
                this.tmrShow.Stop();

                if (PlayApp.ExecutePlayList != null)
                {
                    if (PlayApp.ExecutePlayList.PlayListState == PlayListStateType.Stop)
                    {
                        CloseMessage();
                        return;
                    }
                }

                ThreadShow();

                ImageApp.MyDrawMessage(this.messageControls[0]);
            }
            catch (Exception ex)
            {
                LogApp.OutputErrorLog("MessageForm", "tmrMessage_Tick", ex);
            }
            finally
            {
                this.tmrShow.Start();
            }
        }