[Solved] Display a text file onto a text block which is already within the app [closed]

This code loaded file from your project directory and show it in TextBlock with a name textBlock var rs = Application.GetResourceStream(new Uri(“file.txt”, UriKind.Relative)); StreamReader sr = new StreamReader(rs.Stream); textBlock.Text = sr.ReadToEnd(); Where file.txt saved like Content in your project 1 solved Display a text file onto a text block which is already within the app … Read more

[Solved] Chat Conversation page design in windows phone using c#?

do we have any readymade controls which handles this ? You mean a control that would cover chat-like functionality ? No, never heard of it. Just bind your messages (observable collection) to the listbox’s ItemsSource property. You will have to check every X seconds for a new messages and add them to collection. solved Chat … Read more