using System; using System.Collections.Generic; namespace Shared.Phone.UserCenter { /// /// 做成一个点击能够显示选中状态背景色的FrameLayout /// public class StatuFrameLayout : FrameLayout { /// /// Mouse up event. /// public delegate void _MouseUpEvent(object sender, MouseEventArgs e); /// /// 单击弹起事件 /// public _MouseUpEvent MouseUpEvent; /// /// 状态设置前的事件 /// public delegate void _SelectStatuEventBefore(bool select); /// /// 状态设置前的事件 /// public _SelectStatuEventBefore SelectStatuEventBefore; /// /// 单击按下的坐标 /// private System.Drawing.PointF downPoint = new System.Drawing.PointF(); /// /// 子控件列表 /// private List