ToString() public method

public ToString ( ) : string
return string
コード例 #1
0
ファイル: Form1.cs プロジェクト: pebblecode/ChatQuiz
 private void PrintLine(ChatMessage message)
 {
     this.textBox1.AppendText(message.ToString());
     this.textBox1.SelectionStart  = this.textBox1.Text.Length - 1;
     this.textBox1.SelectionLength = 0;
     this.textBox1.ScrollToCaret();
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: pebblecode/ChatQuiz
 private void PrintLine(ChatMessage message)
 {
     this.textBox1.AppendText(message.ToString());
     this.textBox1.SelectionStart = this.textBox1.Text.Length - 1;
     this.textBox1.SelectionLength = 0;
     this.textBox1.ScrollToCaret();
 }