Hi Cor,
* "Cor Ligthert" <no**********@planet.nl> scripsit:
A nice sample, much better than the samples Arne gave.
Although the VbNewLine sample from Arne is much easier to remember, is it in
my opinion in your way much easier to convert VB.net programs in future to
C#.
It's actually /not/ easier, because 'ControlChars' is part of the VB.NET
Runtime Library. I think you are referring to 'Encironment.NewLine'
which is part of the BCL.
\\\
Me.TextBox1.Text = _
"Hello" & ControlChars.NewLine & _
"World"
///
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>