Example #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            List <MessageModel> resultList = MysqlHelper.GetNewMessage(ApplicationContext.Credential.UserId);

            if (resultList.Count != 0)
            {
                foreach (MessageModel message in resultList)
                {
                    frmTaskbarNotifier tn = new frmTaskbarNotifier(message);
                    tn.ScrollShow();
                }
            }
        }
Example #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     List<MessageModel> resultList = MysqlHelper.GetNewMessage(ApplicationContext.Credential.UserId);
     if (resultList.Count != 0)
     {
         foreach (MessageModel message in resultList)
         {
             frmTaskbarNotifier tn = new frmTaskbarNotifier(message);
             tn.ScrollShow();
         }
     }
 }