예제 #1
0
파일: WinForms.cs 프로젝트: yonder/CryMono
 /// <summary>
 /// Appends a number of Environment.NewLine strings to the current text of a text box.
 /// </summary>
 /// <param name="textBox"></param>
 /// <param name="count"></param>
 public static void NewLine(this TextBoxBase textBox, int count = 1)
 {
     for (var i = 0; i < count; i++)
     {
         textBox.Append(Environment.NewLine);
     }
 }