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
Post a Comment