Care.Views.Common.PostCommentView.ChangeUIByInputType C# (CSharp) Method

ChangeUIByInputType() private method

private ChangeUIByInputType ( ) : void
return void
        private void ChangeUIByInputType()
        {
            EntryType tp = m_itemViewModel.Type;
            if (tp == EntryType.SinaWeibo)
            {
                m_maxLenth = 140;
                WordMaxLength = "140";
                WordCount = (140 - StatusMessageBox.Text.Length).ToString();
                LogoSource = "../../Images/Thumb/weibologo.png";
            }
            else if (tp == EntryType.Renren)
            {
                m_maxLenth = 140;
                WordMaxLength = "140";
                WordCount = (140 - StatusMessageBox.Text.Length).ToString();
                LogoSource = "../../Images/Thumb/renren_logo.png";
            }
            else if (tp == EntryType.Douban)
            {
                m_maxLenth = 140;
                WordMaxLength = "140";
                WordCount = (140 - StatusMessageBox.Text.Length).ToString();
                LogoSource = "../../Images/Thumb/douban_logo.png";
            }
        }