System.Windows.Forms.TextView.SetSingleLine C# (CSharp) Method

SetSingleLine() public method

public SetSingleLine ( ) : void
return void
		public void SetSingleLine()
		{
			if(this.Value.Contains("\n"))
				this.Value = this.Value.Replace("\n","");	
		}