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

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -