I have a window form that contain a listbox
and some richtextboxex
. listbox
contains some values. When I select any value from listbox
, richtextboxex
bind with data according to selected value.
I have to highlight some text which is bind to richtextbox
when I select a value from listbox, e.g.:
Just a friendly reminder that you have <<OverdueInvCount>> overdue invoice(s), with an overdue balance of <<OverdueInvTotal>>. If you have any questions about the amount you owe, please give us a call and we’ll be happy to discuss it. If you’ve already sent your payment, please disregard this reminder.
All data is coming from database.
I want to highlight <<OverdueInvCount>>
and <<OverdueInvTotal>>
these words.