Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I convert this string to the image? Pin
Mohammad Dayyan25-Jun-08 10:36
Mohammad Dayyan25-Jun-08 10:36 
QuestionUse Ctrl+F1 to cycle between MDI child windows Pin
AndrusM25-Jun-08 7:46
AndrusM25-Jun-08 7:46 
QuestionUsing Ctrl+E menu shortcut from readonly control Pin
AndrusM25-Jun-08 7:43
AndrusM25-Jun-08 7:43 
QuestionAdding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
lpaulding25-Jun-08 6:16
lpaulding25-Jun-08 6:16 
AnswerRe: Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
Igor Velikorossov25-Jun-08 6:34
Igor Velikorossov25-Jun-08 6:34 
GeneralRe: Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#) Pin
Abhijit Jana25-Jun-08 6:43
professionalAbhijit Jana25-Jun-08 6:43 
QuestionRegion left-most coordinate? Pin
Emil Müller25-Jun-08 6:08
Emil Müller25-Jun-08 6:08 
AnswerRe: Region left-most coordinate? Pin
Guffa25-Jun-08 7:31
Guffa25-Jun-08 7:31 
If you can't divide the bounds of the region into lines (so that you can use simple linear math to calculate the coordinate), you can use a binary search to call IsVisible as few times as possible.

Pick two points, one that you know is to the left of the region, and one that you know is inside the region. Calculate the point that is exactly in the middle of those two points. Use IsVisible to find out if that point is inside the region or not. If it is, use that as the new rightmost point, otherwise use it as the new leftmost point. Repeat the process until the distance between the points is small enough.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Region left-most coordinate? Pin
Luc Pattyn25-Jun-08 7:55
sitebuilderLuc Pattyn25-Jun-08 7:55 
GeneralRe: Region left-most coordinate? Pin
Emil Müller25-Jun-08 13:48
Emil Müller25-Jun-08 13:48 
Questionregular expression problem Pin
mahraja25-Jun-08 5:51
mahraja25-Jun-08 5:51 
AnswerRe: regular expression problem Pin
Igor Velikorossov25-Jun-08 6:30
Igor Velikorossov25-Jun-08 6:30 
GeneralRe: regular expression problem [modified] Pin
mahraja25-Jun-08 7:35
mahraja25-Jun-08 7:35 
AnswerRe: regular expression problem Pin
SomeGuyThatIsMe25-Jun-08 7:45
SomeGuyThatIsMe25-Jun-08 7:45 
Questionwhy my ticks always the same, please help thanks very much. Pin
matthew_net25-Jun-08 5:25
matthew_net25-Jun-08 5:25 
AnswerRe: why my ticks always the same, please help thanks very much. Pin
Mohammad Dayyan25-Jun-08 5:36
Mohammad Dayyan25-Jun-08 5:36 
GeneralRe: why my ticks always the same, please help thanks very much. Pin
matthew_net25-Jun-08 5:49
matthew_net25-Jun-08 5:49 
GeneralRe: why my ticks always the same, please help thanks very much. Pin
Luc Pattyn25-Jun-08 6:48
sitebuilderLuc Pattyn25-Jun-08 6:48 
GeneralRe: why my ticks always the same, please help thanks very much. Pin
Dan Neely25-Jun-08 7:08
Dan Neely25-Jun-08 7:08 
AnswerRe: why my ticks always the same, please help thanks very much. Pin
Dan Neely25-Jun-08 5:45
Dan Neely25-Jun-08 5:45 
GeneralRe: why my ticks always the same, please help thanks very much. Pin
matthew_net25-Jun-08 6:02
matthew_net25-Jun-08 6:02 
QuestionGDI / FPS Question Pin
Harvey Saayman25-Jun-08 4:32
Harvey Saayman25-Jun-08 4:32 
AnswerRe: GDI / FPS Question Pin
leppie25-Jun-08 5:00
leppie25-Jun-08 5:00 
GeneralRe: GDI / FPS Question Pin
Dan Neely25-Jun-08 5:12
Dan Neely25-Jun-08 5:12 
GeneralRe: GDI / FPS Question Pin
Harvey Saayman25-Jun-08 5:14
Harvey Saayman25-Jun-08 5:14 

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.