c# - Get currently selected line in RichTextBox -


i have richtextbox contains list of files. want open file when user double clicks on it.

how selected line in c#?

you can use richtextbox.getlinefromcharindex(). pass in selectionstart property value text box.


Comments

Popular posts from this blog

R List row name -

sql server - python to mssql encoding problem -

.net - Probably simple regex search -