|
- using System.ComponentModel;
-
- namespace BPASmartClient.MessageName
- {
- /// <summary>
- /// 消息名称管理中心
- /// 特性:Description,消息备注
- /// Browsable,是否使用
- /// 消息发送案例:
- /// Class_InnerMessageBus.GetInstance().PostMessage(this, MessageName.xxx, "12321");
- /// 接收数据案例:
- /// Class_InnerMessageBus.GetInstance().ListenMessage(this, MessageName.xxx, "xxnameHandler");
- /// public void xxnameHandler(object sender, InnerMessageEventArgs e) { }
- /// </summary>
- public class MessageName
- {
- #region XX消息
- /// <summary>
- /// xxx消息
- ///
- /// </summary>
- [Description("消息备注"),Browsable(true)]
- public static string xxx = "xxx";
- #endregion
- }
- }
|