Click here to Skip to main content
15,898,942 members
Home / Discussions / C#
   

C#

 
GeneralRe: double vs float in performance Pin
Paul Conrad27-Sep-07 4:41
professionalPaul Conrad27-Sep-07 4:41 
AnswerRe: double vs float in performance Pin
Guffa22-Sep-07 5:23
Guffa22-Sep-07 5:23 
AnswerRe: double vs float in performance Pin
Nissim Salomon22-Sep-07 11:03
Nissim Salomon22-Sep-07 11:03 
GeneralRe: double vs float in performance Pin
small_programmer22-Sep-07 20:25
small_programmer22-Sep-07 20:25 
Questionwindows service send xml to web application Pin
adhakshinamoorthy22-Sep-07 0:22
adhakshinamoorthy22-Sep-07 0:22 
QuestionFocusing on a control problem Pin
KeironN22-Sep-07 0:15
KeironN22-Sep-07 0:15 
AnswerRe: Focusing on a control problem Pin
Lutosław22-Sep-07 2:32
Lutosław22-Sep-07 2:32 
GeneralRe: Focusing on a control problem Pin
KeironN24-Sep-07 3:03
KeironN24-Sep-07 3:03 
The code is like this:

<br />
LineControl newLineControl = GetControlForLine(newLine);<br />
MessageBox.Show("try now");					<br />
newLineControl.Dialogue.Focus(); // Dialogue is a TextBox	<br />


I tried adding newLineControl.Focus() before newLineControl.Dialogue.Focus() as suggested, but it didn't make a difference.

I tried logging when each control gets and loses focus, and got the following result when clicking on a LineControl (my user control):
TextBox got focus
LineControl got focus

..then away from it:
TextBox lost focus
LineControl lost focus

This was the same regardless of whether the MessageBox.Show() line was included, yet when that line is included, newLineControl.Dialogue.Focus() works, and when it isn't, it doesn't. Any ideas? Very confused.
QuestionExporting text in textboxes to Excel Sheet in C# Pin
iet200021-Sep-07 23:38
iet200021-Sep-07 23:38 
AnswerRe: Exporting text in textboxes to Excel Sheet in C# Pin
Paul Conrad23-Sep-07 6:41
professionalPaul Conrad23-Sep-07 6:41 
Questionconnection to an exe Pin
varun.g21-Sep-07 23:15
varun.g21-Sep-07 23:15 
AnswerRe: connection to an exe Pin
Paul Conrad23-Sep-07 6:42
professionalPaul Conrad23-Sep-07 6:42 
QuestionHow to monitor Internet Speed and Connection State Using C# Pin
aliusmankhan21-Sep-07 22:28
aliusmankhan21-Sep-07 22:28 
Questioncode for displaying the read file from .dwg file [modified] Pin
ramyanaidu21-Sep-07 22:00
ramyanaidu21-Sep-07 22:00 
AnswerRe: code for displaying the read file from .dwg file Pin
Lutosław22-Sep-07 2:18
Lutosław22-Sep-07 2:18 
Questioncode for reading data from .DWG file and write to an excel file Pin
ramyanaidu21-Sep-07 21:39
ramyanaidu21-Sep-07 21:39 
QuestionUsing hyper terminal /telnet in c#.net windows PinPopular
praveenkumar palla21-Sep-07 21:38
praveenkumar palla21-Sep-07 21:38 
AnswerRe: Using hyper terminal /telnet in c#.net windows Pin
Vijayms854-May-11 11:50
Vijayms854-May-11 11:50 
QuestionZipping entire folder using c# Pin
George Mathew21-Sep-07 20:59
George Mathew21-Sep-07 20:59 
AnswerRe: Zipping entire folder using c# Pin
Giorgi Dalakishvili21-Sep-07 22:05
mentorGiorgi Dalakishvili21-Sep-07 22:05 
Questionplz ,how can i make? Pin
prog_mohmmed8621-Sep-07 20:59
prog_mohmmed8621-Sep-07 20:59 
AnswerRe: plz ,how can i make? Pin
Colin Angus Mackay22-Sep-07 1:00
Colin Angus Mackay22-Sep-07 1:00 
GeneralRe: plz ,how can i make? Pin
Paul Conrad22-Sep-07 5:22
professionalPaul Conrad22-Sep-07 5:22 
GeneralRe: plz ,how can i make? Pin
Colin Angus Mackay22-Sep-07 6:14
Colin Angus Mackay22-Sep-07 6:14 
GeneralRe: plz ,how can i make? Pin
Paul Conrad22-Sep-07 6:34
professionalPaul Conrad22-Sep-07 6:34 

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.