private void richTextBox1_ContentsResized(object sender, ContentsResizedEventArgs e) { richTextBox1.Height = e.NewRectangle.Height+10; }
http://bbs.csdn.net/topics/340062877