示例#1
0
文件: MessageBox.cs 项目: jpx/blazera
 void MessageTimer_Completed(EventTimer sender, EventTimer.EventTimerEventArgs e)
 {
     NextMessage();
 }
示例#2
0
文件: MessageBox.cs 项目: jpx/blazera
        protected void ActivateInteractiveMode(bool interactiveMode = true, double messageDelay = 0D)
        {
            InteractiveMode = interactiveMode;

            if (!InteractiveMode)
            {
                MessageTimer = new EventTimer(messageDelay);
                MessageTimer.Completed += new EventTimer.EventTimerEventHandler(MessageTimer_Completed);
            }
            else
                MessageTimer = null;
        }