How can I show multiple lines of text on a button in .NET?
Solution:
Create a string and use the Environment.NewLine to create line breaks.
button1.Text = "Hello" + Environment.NewLine + "World";
A development blog from a hobby game programmer. Current tools are Visual Studio C# express 2008, Paint.NET, TortoiseSVN and a homemade unit test framework.
No comments:
Post a Comment