Click here to Skip to main content
15,885,904 members
Home / Discussions / C#
   

C#

 
Questionpassword policy using c# Pin
forest4ever7-Jun-16 20:33
forest4ever7-Jun-16 20:33 
AnswerRe: password policy using c# Pin
Garth J Lancaster7-Jun-16 20:44
professionalGarth J Lancaster7-Jun-16 20:44 
AnswerRe: password policy using c# Pin
Mycroft Holmes7-Jun-16 22:19
professionalMycroft Holmes7-Jun-16 22:19 
AnswerRe: password policy using c# Pin
OriginalGriff7-Jun-16 22:28
mveOriginalGriff7-Jun-16 22:28 
QuestionSet window on top from ShellExecute? Pin
kenw2327-Jun-16 11:25
kenw2327-Jun-16 11:25 
AnswerRe: Set window on top from ShellExecute? Pin
Eddy Vluggen7-Jun-16 12:10
professionalEddy Vluggen7-Jun-16 12:10 
AnswerRe: Set window on top from ShellExecute? Pin
BillWoodruff8-Jun-16 7:26
professionalBillWoodruff8-Jun-16 7:26 
QuestionHow can I format a text selection in bold AND italic? Pin
Member 119167356-Jun-16 23:23
Member 119167356-Jun-16 23:23 
What the suject says...

I can format the selection to bold and to italic. but when I want the text bold and italic the formation is set to regular automatically.

Thats my code:
C#
newfont = FontStyle.Bold & FontStyle.Italic;
richTextBox1.SelectionFont = new Font(currentfont.FontFamily, currentfont.Size, newfont);

AnswerRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff6-Jun-16 23:39
mveOriginalGriff6-Jun-16 23:39 
GeneralRe: How can I format a text selection in bold AND italic? Pin
Member 119167357-Jun-16 0:02
Member 119167357-Jun-16 0:02 
GeneralRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff7-Jun-16 0:20
mveOriginalGriff7-Jun-16 0:20 
GeneralRe: How can I format a text selection in bold AND italic? Pin
Member 119167357-Jun-16 0:23
Member 119167357-Jun-16 0:23 
GeneralRe: How can I format a text selection in bold AND italic? Pin
OriginalGriff7-Jun-16 0:45
mveOriginalGriff7-Jun-16 0:45 
Questionsend an acknowledgement in serial port listner Pin
Member 125557476-Jun-16 21:00
Member 125557476-Jun-16 21:00 
AnswerRe: send an acknowledgement in serial port listner Pin
Richard MacCutchan6-Jun-16 21:16
mveRichard MacCutchan6-Jun-16 21:16 
GeneralRe: send an acknowledgement in serial port listner Pin
OriginalGriff6-Jun-16 21:56
mveOriginalGriff6-Jun-16 21:56 
GeneralRe: send an acknowledgement in serial port listner Pin
Richard MacCutchan6-Jun-16 22:11
mveRichard MacCutchan6-Jun-16 22:11 
QuestionC# windows application with SQL Server Pin
Zeyad Jalil6-Jun-16 0:12
professionalZeyad Jalil6-Jun-16 0:12 
AnswerRe: C# windows application with SQL Server Pin
Richard MacCutchan6-Jun-16 0:42
mveRichard MacCutchan6-Jun-16 0:42 
GeneralRe: C# windows application with SQL Server Pin
Zeyad Jalil6-Jun-16 0:50
professionalZeyad Jalil6-Jun-16 0:50 
GeneralRe: C# windows application with SQL Server Pin
Richard MacCutchan6-Jun-16 1:10
mveRichard MacCutchan6-Jun-16 1:10 
AnswerRe: C# windows application with SQL Server Pin
Dave Kreskowiak6-Jun-16 3:05
mveDave Kreskowiak6-Jun-16 3:05 
RantRe: C# windows application with SQL Server Pin
Mycroft Holmes6-Jun-16 14:21
professionalMycroft Holmes6-Jun-16 14:21 
GeneralRe: C# windows application with SQL Server Pin
Dave Kreskowiak6-Jun-16 18:36
mveDave Kreskowiak6-Jun-16 18:36 
QuestionWhy can't I get any answers to the questions I put. Pin
Member 117408555-Jun-16 3:09
Member 117408555-Jun-16 3:09 

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.