Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
QuestionWindows Forms - Text Box Pin
surfman1927-Aug-05 11:49
surfman1927-Aug-05 11:49 
AnswerRe: Windows Forms - Text Box Pin
leppie27-Aug-05 13:21
leppie27-Aug-05 13:21 
AnswerRe: Windows Forms - Text Box Pin
Mohamad Al Husseiny27-Aug-05 14:00
Mohamad Al Husseiny27-Aug-05 14:00 
GeneralRe: Windows Forms - Text Box Pin
surfman1927-Aug-05 14:05
surfman1927-Aug-05 14:05 
GeneralRe: Windows Forms - Text Box Pin
Mohamad Al Husseiny27-Aug-05 14:12
Mohamad Al Husseiny27-Aug-05 14:12 
GeneralRe: Windows Forms - Text Box Pin
Anonymous28-Aug-05 0:45
Anonymous28-Aug-05 0:45 
GeneralRe: Windows Forms - Text Box Pin
Luis Alonso Ramos27-Aug-05 19:50
Luis Alonso Ramos27-Aug-05 19:50 
AnswerRe: Windows Forms - Text Box Pin
Mohamad Al Husseiny28-Aug-05 2:11
Mohamad Al Husseiny28-Aug-05 2:11 
If you want to select Hello word and change underline
programatically you can write some thing like
int pos=richTextBox1.Text.IndexOf("Hello");
if(pos != -1)
{
    richTextBox1.Select(pos,"Hello".Length);
    richTextBox1.SelectionFont=new Font  (richTextBox1.SelectionFont, 
richTextBox1.SelectionFont.Style ^ FontStyle.Underline);
}

if you want to select all Hello words in string and change its style modefiy the code and use loop

MCAD

-- modified at 8:16 Sunday 28th August, 2005
QuestionThread in C# Pin
surfman1927-Aug-05 11:34
surfman1927-Aug-05 11:34 
AnswerRe: Thread in C# Pin
Mohamad Al Husseiny27-Aug-05 12:28
Mohamad Al Husseiny27-Aug-05 12:28 
GeneralRe: Thread in C# Pin
surfman1927-Aug-05 12:37
surfman1927-Aug-05 12:37 
GeneralRe: Thread in C# Pin
surfman1927-Aug-05 12:56
surfman1927-Aug-05 12:56 
AnswerRe: Thread in C# Pin
S. Senthil Kumar27-Aug-05 19:37
S. Senthil Kumar27-Aug-05 19:37 
QuestionCalling an OpenCV function Pin
E6AD27-Aug-05 10:30
E6AD27-Aug-05 10:30 
AnswerRe: Calling an OpenCV function Pin
Mohamad Al Husseiny27-Aug-05 11:29
Mohamad Al Husseiny27-Aug-05 11:29 
GeneralRe: Calling an OpenCV function Pin
Anonymous27-Aug-05 12:25
Anonymous27-Aug-05 12:25 
QuestionTutorial on writing and reading configuration file Pin
Fredy27-Aug-05 10:06
Fredy27-Aug-05 10:06 
AnswerRe: Tutorial on writing and reading configuration file Pin
Mohamad Al Husseiny27-Aug-05 10:23
Mohamad Al Husseiny27-Aug-05 10:23 
AnswerRe: Tutorial on writing and reading configuration file Pin
Fredy27-Aug-05 10:58
Fredy27-Aug-05 10:58 
QuestionEncryption/Decryption Pin
just4ulove727-Aug-05 7:16
just4ulove727-Aug-05 7:16 
AnswerRe: Encryption/Decryption Pin
Dave Shaw27-Aug-05 8:33
Dave Shaw27-Aug-05 8:33 
GeneralRe: Encryption/Decryption Pin
just4ulove727-Aug-05 8:37
just4ulove727-Aug-05 8:37 
QuestionDynamicaly moving controls at runtime Pin
Mutty27-Aug-05 6:13
Mutty27-Aug-05 6:13 
AnswerRe: Dynamicaly moving controls at runtime Pin
[Marc]27-Aug-05 6:18
[Marc]27-Aug-05 6:18 
GeneralRe: Dynamicaly moving controls at runtime Pin
Mutty27-Aug-05 6:49
Mutty27-Aug-05 6:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.