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";
}
}