2020年5月17日 星期日

vb.net richtextbox跳到所選擇的line [RichTextBox jump to line]


1
2
3
4
5
        RichTextBox1.SelectionStart = RichTextBox1.GetFirstCharIndexFromLine(22)

        RichTextBox1.SelectionLength = RichTextBox1.Lines(22).Length

        RichTextBox1.SelectionBackColor = Color.Yellow

沒有留言:

張貼留言