using System;
using System.Collections.Generic;
using System.Text;
namespace Shared.Phone.UserCenter
{
///
/// 做成一个存在于右上角的菜单控件
///
public class TopRightMenuControl : FrameLayout
{
///
/// 框框控件
///
private FrameLayout frameLine = null;
///
/// 行高度
///
private int RowHeight = 100;
///
/// 行宽度
///
private int RowWidth = 310;
///
/// 线的高度
///
private int LineHeight = 1;
///
/// 菜单数计数
///
private int menuCount = 0;
///
/// 做成一个存在于右上角的菜单控件
///
/// 父容器控件
/// 一共有几行
public TopRightMenuControl(FrameLayout frame, int i_RowCount)
{
//初始化画面的控件
this.InitFormControl(frame, i_RowCount);
}
///
/// 添加菜单行
///
/// 显示的文字
/// 单击菜单执行的事件
/// 调用action所传递的参数
/// 单击的时候,关闭菜单
public void AddRowMenu(string TextValue, Action