do
{
} while (chat <= 0);
string content = new System.Net.WebClient().DownloadString("http://www.leestorage.99k.org/setting/news.txt");
{
Thread.Sleep(1000);
Chat_Box.Text(content);
}
}
Non-invocable member 'System.Windows.Controls.TextBox' cannot be used like a mothod.
Leeizazombie wrote:Im trying to change the text from my text box with the file on the website, for some reason the .Text part has an error:
Breakdown901 wrote:I've never used WPF language before, but try putting "string = content" and the rest of the string, in the same bit as the Thread.Sleep and Chat box, put it above them though.
Leeizazombie wrote:Hey i'm new to making these WPF applications, and I was wondering, how do I link my progressbar to my webbrowser? I know how to set up the web browser, but when I click links the progress bar should be there to show the user its working right? so how? o.o
private void searchUrl(object sender, RoutedEventArgs e)
{
String URLcontent = webaddress.Text;
browser.Navigate(URLcontent);
}
Users browsing this forum: No registered users and 8 guests