예제 #1
0
        public void ConvertStringToEnum(string i_TabName)
        {
            switch (i_TabName)
            {
            case k_Posts:
                TabType = eTab.Posts;
                break;

            case k_AboutUser:
                TabType = eTab.AboutUser;
                break;

            case k_FriendsList:
                TabType = eTab.FriendsList;
                break;

            case k_UserPhotos:
                TabType = eTab.UserPhotos;
                break;

            case k_CreateAlbum:
                TabType = eTab.CreateAlbum;
                break;
            }
        }
예제 #2
0
 public Tab()
 {
     TabType = eTab.None;
 }