- How to prefix the selected text with
and suffix with .
Eg.- If My selected text in webbrowser is "Hi Aisha " then On a click of a button in my tool strip that Text Replaced as Hi Aisha and rest of the text wich were not selected remain same .no Change only Insertion of the tag happen...
2. Add Spell Check to my Project In Windows Form

Sam HobbsPosted Jan 17, 2015, 3:47 PM
Aisha SrivastavaPosted Jan 9, 2015, 7:06 AM
In abv Code We have to insert the tag and Rest Text Remain Same(Unselected Text)
Aisha SrivastavaPosted Jan 9, 2015, 7:04 AM
Aisha SrivastavaPosted Jan 9, 2015, 6:39 AM
Manish Kumar ChoudharyPosted Jan 9, 2015, 5:38 AM
Hi Aisha Srivastava,
1. Go through following link it will help you
http://www.dotnetfunda.com/articles/show/2387/display-tooltip-on-labels-in-windows-forms
just add + selected text value + in tooltip string
2. Basically, you just need to set the SpellCheck.IsEnabled property to 'true'. Like this:
TextBox textBox = new TextBox();
textBox.SpellCheck.IsEnabled = true;
You can find this property in the System.Windows.Controls namespace, and reference it like this:
using System.Windows.Controls;
Editorial: I would strongly suggest using WPF over Winforms if that is an option you can explore. Winforms had its day once, but for more modern development, WPF is a much more powerful platform.
.