示例#1
0
 protected void msg(string patten, params object[] vals)
 {
     if (noticeEvent != null)
     {
         myNoticeEvent notice = new myNoticeEvent(SubEvent);
         notice.BeginInvoke(msgType(), string.Format(patten, vals), null, null);
     }
 }
示例#2
0
 /// <summary>
 /// 显示消息
 /// </summary>
 /// <param name="mg">消息内容</param>
 protected void msg(string mg)
 {
     if (noticeEvent != null)
     {
         myNoticeEvent notice = new myNoticeEvent(SubEvent);
         notice.BeginInvoke(msgType(), mg, null, null);
     }
 }