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

sql server - python to mssql encoding problem -

java - SNMP4J General Variable Binding Error -

c# - BasicHttpBinding equivalent CustomBinding using WCF Client and PHP WebService -