|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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,
- }
- }
|