I'm trying to update a labels text. When the original text contains multiple lines and I update the text to something with a single line the old multiple lines are still visible even when the text updates on the top line. Here is an example. How can I fix this?
PhotoText.Text = "Testing Some\nCode Out\nRight Now!"; //This shows 3 lines
PhotoText.Refresh();
Thread.Sleep(1000);
PhotoText.Text = "New Text!"; //This shows 1 lines
PhotoText.Refresh();
Thread.Sleep(1000);