|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.MessageName.发送消息Model
- {
- /// <summary>
- /// 事件消息【发送端】Model配置
- /// </summary>
- public class EventSendMessage: MessageBase
- {
- /// <summary>
- /// 控件名称
- /// </summary>
- public string ControlName { get; set; }
- /// <summary>
- /// 控件标题
- /// </summary>
- public string ControlTitle { get; set; }
- /// <summary>
- /// 控件触发源
- /// </summary>
- public object ControlSource { get; set; }
- /// <summary>
- /// 控件状态
- /// </summary>
- public string ControlStatus { get; set; }
- /// <summary>
- /// 控件类型
- /// </summary>
- public ControlEventType EventType { get; set; }
-
- }
- /// <summary>
- /// 控件类型
- /// </summary>
- public enum ControlEventType
- {
- /// <summary>
- /// 单击
- /// </summary>
- Click,
- /// <summary>
- /// 左键按下
- /// </summary>
- MouseLeftButtonDown,
- /// <summary>
- /// 文本改变事件
- /// </summary>
- TextChanged,
- /// <summary>
- /// 选中
- /// </summary>
- Checked,
- /// <summary>
- /// 取消选中
- /// </summary>
- Unchecked,
- }
- }
|