标签:
int start = richTextBox1.GetCharIndexFromPosition(new Point(0, 0)); int end = richTextBox1.GetCharIndexFromPosition(new Point(richTextBox1.ClientSize.Width, richTextBox1.ClientSize.Height-1)); var displayedText = richTextBox1.Text.Substring(start,end-start); MessageBox.Show(displayedText);
Created by colleague Dayong Wang 20150828
标签:
原文地址:http://www.cnblogs.com/jiceberg420/p/4765641.html