Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to decide whether control is initialized within IDE form designer? Pin
Vasek30-Jan-03 22:25
Vasek30-Jan-03 22:25 
Questionhow to convert a jpeg into tiff Pin
coralie30-Jan-03 4:15
coralie30-Jan-03 4:15 
AnswerRe: how to convert a jpeg into tiff Pin
Stephane Rodriguez.30-Jan-03 8:27
Stephane Rodriguez.30-Jan-03 8:27 
QuestionHow to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 2:53
Furty30-Jan-03 2:53 
AnswerRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:04
Philip Fitzsimons30-Jan-03 3:04 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Furty30-Jan-03 3:21
Furty30-Jan-03 3:21 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Philip Fitzsimons30-Jan-03 3:28
Philip Fitzsimons30-Jan-03 3:28 
GeneralRe: How to find the location of a control relative to it's containing form? Pin
Furty31-Jan-03 17:08
Furty31-Jan-03 17:08 
Thanks for the tips Philip - after stopping one level before the MDI parent I still had a problem where the MDI child form was reporting negative location values. The final code I came up with looks like this:

int x = Left;<br />
for (Control thisParent = Parent; thisParent != null; thisParent = thisParent.Parent)<br />
{<br />
	if (thisParent.Parent != null && thisParent.Left > 0)<br />
		x += thisParent.Left;<br />
}<br />
<br />
int y = Top;<br />
for (Control thisParent = Parent; thisParent != null; thisParent = thisParent.Parent)<br />
{<br />
	if (thisParent.Parent != null && thisParent.Top > 0)<br />
		y += thisParent.Top;<br />
}

GeneralVS.Net Add-in help needed Pin
PSainsbury30-Jan-03 1:55
PSainsbury30-Jan-03 1:55 
QuestionHow to generate a graphic in the c# asp .net? Pin
zoltix29-Jan-03 22:33
zoltix29-Jan-03 22:33 
AnswerRe: How to generate a graphic in the c# asp .net? Pin
leppie30-Jan-03 6:08
leppie30-Jan-03 6:08 
GeneralRe: How to generate a graphic in the c# asp .net? Pin
zoltix30-Jan-03 6:20
zoltix30-Jan-03 6:20 
GeneralRe: How to generate a graphic in the c# asp .net? Pin
leppie30-Jan-03 9:37
leppie30-Jan-03 9:37 
GeneralRe: How to generate a graphic in the c# asp .net? Pin
zoltix30-Jan-03 12:50
zoltix30-Jan-03 12:50 
AnswerRe: How to generate a graphic in the c# asp .net? Pin
Nick Parker30-Jan-03 16:06
protectorNick Parker30-Jan-03 16:06 
Generalspell check system Pin
jtmtv1829-Jan-03 21:31
jtmtv1829-Jan-03 21:31 
GeneralPassing string to C dll from c# Pin
suresh_sathya29-Jan-03 19:53
suresh_sathya29-Jan-03 19:53 
GeneralRe: Passing string to C dll from c# Pin
Stephane Rodriguez.30-Jan-03 10:27
Stephane Rodriguez.30-Jan-03 10:27 
GeneralC#, IWebBrowser2, and JScript Pin
Patrick Hill29-Jan-03 14:32
Patrick Hill29-Jan-03 14:32 
GeneralCrownWood magic Popup Menu Pin
jtmtv1829-Jan-03 11:45
jtmtv1829-Jan-03 11:45 
GeneralRe: CrownWood magic Popup Menu Pin
leppie29-Jan-03 11:57
leppie29-Jan-03 11:57 
GeneralCrownWood magic Popup Menu - Still cant get it.. any ideas? Pin
jtmtv1829-Jan-03 12:05
jtmtv1829-Jan-03 12:05 
GeneralPerforming Bulk Insert from C# Pin
Darryl Borden29-Jan-03 11:24
Darryl Borden29-Jan-03 11:24 
GeneralRe: Performing Bulk Insert from C# Pin
Nick Parker30-Jan-03 16:09
protectorNick Parker30-Jan-03 16:09 
GeneralCommand Line compile problem Pin
Patrick Hill29-Jan-03 11:03
Patrick Hill29-Jan-03 11:03 

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.