public static StatusText FromString(string sFromStr, List<JsonObject> ljnUrls = null) { StatusText stFinal = new StatusText(); stFinal.m_ltstWords = StatusTextElement.ListFromString(sFromStr, ljnUrls); return stFinal; }
public static StatusText FromString(string sFromStr, List <JsonObject> ljnUrls = null) { StatusText stFinal = new StatusText(); stFinal.m_ltstWords = StatusTextElement.ListFromString(sFromStr, ljnUrls); return(stFinal); }
public void UpdateFromStatus(Status stStatus) { m_stStatusText = stStatus.StatusText; m_bAlreadyUpdating = true; rtbTextBox.Rtf = m_stStatusText.ToRTF(m_fntFont); m_bAlreadyUpdating = false; }
private void UpdateText(string sNewText) { if (! m_bAlreadyUpdating) { m_bAlreadyUpdating = true; int iStart = rtbTextBox.SelectionStart; m_stStatusText = StatusText.FromString(sNewText); rtbTextBox.Rtf = m_stStatusText.ToRTF(m_fntFont); rtbTextBox.SelectionStart = iStart; m_bAlreadyUpdating = false; } }