示例#1
0
文件: SideTab.cs 项目: zyouhua/nvwa
        public SideTab()
        {
            mMemberStreams = new List<MemberStream>();
            mSideTabItems = new List<SideTabItem>();

            mPointItem = new SideTabItem();
            mPointItem._setName(@"选择");
            mPointItem._setId(@"selectPointor");
            mPointItem._setMail("*****@*****.**");
            mPointItem._setSideTabItemStatus(SideTabItemStatus_.mChoosed_);
            string imageUrl_ = @"rid://window.optimal.selectImageUrl";
            mPointItem._setImageUrl(imageUrl_);
            mSideTabItems.Add(mPointItem);

            mSideTabStatus = SideTabStatus_.mNormal_;
            mSideTabImageUrl = null;
            mSideTabImage = null;
            mSelectedItem = null;
            mChoosedItem = mPointItem;
            mSideTabName = null;
            mScrollIndex = 0;
            mVisible = true;
            mSideBar = null;
        }
示例#2
0
文件: SideTab.cs 项目: zyouhua/nvwa
 public void _setChoosedItem(SideTabItem nSideTabItem)
 {
     if (null != mChoosedItem)
     {
         mChoosedItem._setSideTabItemStatus(SideTabItemStatus_.mNormal_);
     }
     mChoosedItem = nSideTabItem;
     if (null != mChoosedItem)
     {
         mChoosedItem._setSideTabItemStatus(SideTabItemStatus_.mChoosed_);
     }
 }
示例#3
0
文件: SideTab.cs 项目: zyouhua/nvwa
 public void _setSelectedItem(SideTabItem nSideTabItem)
 {
     if (null != mSelectedItem && mSelectedItem != mChoosedItem)
     {
         mSelectedItem._setSideTabItemStatus(SideTabItemStatus_.mNormal_);
     }
     mSelectedItem = nSideTabItem;
     if (null != mSelectedItem && mSelectedItem != mChoosedItem)
     {
         mSelectedItem._setSideTabItemStatus(SideTabItemStatus_.mSelected_);
     }
 }
示例#4
0
文件: SideTab.cs 项目: zyouhua/weilai
 public void _setChoosedItem(SideTabItem nSideTabItem)
 {
     if (null != mChoosedItem)
     {
         mChoosedItem._setSideTabItemStatus(SideTabItemStatus_.mNormal_);
     }
     if (null == nSideTabItem)
     {
         mChoosedItem = mPointItem;
     }
     else
     {
         mChoosedItem = nSideTabItem;
     }
     if (null != mChoosedItem)
     {
         mChoosedItem._setSideTabItemStatus(SideTabItemStatus_.mChoosed_);
     }
 }