Click here to Skip to main content
16,010,553 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# program doesnt run on some machines Pin
Ian Shlasko5-Aug-11 8:57
Ian Shlasko5-Aug-11 8:57 
AnswerRe: C# program doesnt run on some machines Pin
jschell5-Aug-11 11:42
jschell5-Aug-11 11:42 
AnswerRe: C# program doesnt run on some machines Pin
Dan Mos5-Aug-11 11:53
Dan Mos5-Aug-11 11:53 
GeneralRe: C# program doesnt run on some machines Pin
HighlanderGreen8-Aug-11 11:32
HighlanderGreen8-Aug-11 11:32 
QuestionDatagridView, COMBOBOX COLUMN, Event does not happen immediately, Pin
ThorTheBraveGod5-Aug-11 3:11
ThorTheBraveGod5-Aug-11 3:11 
QuestionLocation Translation Logic Pin
cjb1105-Aug-11 0:48
cjb1105-Aug-11 0:48 
AnswerRe: Location Translation Logic Pin
V.5-Aug-11 1:34
professionalV.5-Aug-11 1:34 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 1:40
cjb1105-Aug-11 1:40 
ah no, I've got a set of locations but if I were to directly add them to the panel they would be outside the bounds, clientbounds I think.

The locations were set it via in a unrelated coord space, I need to translate these cords so that they will be visible on the panels left/top 0,0 coord space.

I don't think it's a simple PointToClient/PointToScreen type thing...or at least I couldn't get that to work.

I think I need to use Point.Offset, but its working out the offset values that I'm struggling with.

Or maybe there's an alternative, can I change the panel's bounds? So that its the same as the bounds of these locations?

So my controls are in a rectangle (-x, -y, w, h), and I thought if I just move each location by +x1,+y1 then that should mean they would be visible on the panel which would be (0,0,pw,ph)

does that make any sense??? Smile | :)
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 1:46
professionalV.5-Aug-11 1:46 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 2:02
cjb1105-Aug-11 2:02 
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 2:11
professionalV.5-Aug-11 2:11 
GeneralRe: Location Translation Logic Pin
cjb1105-Aug-11 2:19
cjb1105-Aug-11 2:19 
GeneralRe: Location Translation Logic Pin
V.5-Aug-11 2:25
professionalV.5-Aug-11 2:25 
GeneralRe: Location Translation Logic Pin
cjb1106-Aug-11 0:29
cjb1106-Aug-11 0:29 
GeneralRe: Location Translation Logic Pin
V.6-Aug-11 0:50
professionalV.6-Aug-11 0:50 
AnswerRe: Location Translation Logic Pin
BillWoodruff6-Aug-11 9:12
professionalBillWoodruff6-Aug-11 9:12 
QuestionSomething for beginners Pin
Qlex4-Aug-11 22:39
Qlex4-Aug-11 22:39 
AnswerRe: Something for beginners Pin
Blue_Boy4-Aug-11 22:59
Blue_Boy4-Aug-11 22:59 
AnswerRe: Something for beginners Pin
Richard MacCutchan4-Aug-11 23:09
mveRichard MacCutchan4-Aug-11 23:09 
GeneralRe: Something for beginners Pin
Qlex4-Aug-11 23:53
Qlex4-Aug-11 23:53 
GeneralRe: Something for beginners Pin
Richard MacCutchan4-Aug-11 23:57
mveRichard MacCutchan4-Aug-11 23:57 
GeneralRe: Something for beginners Pin
Qlex5-Aug-11 0:22
Qlex5-Aug-11 0:22 
GeneralRe: Something for beginners Pin
Richard MacCutchan5-Aug-11 3:31
mveRichard MacCutchan5-Aug-11 3:31 
AnswerRe: Something for beginners Pin
V.5-Aug-11 3:01
professionalV.5-Aug-11 3:01 
GeneralRe: Something for beginners Pin
Qlex5-Aug-11 3:08
Qlex5-Aug-11 3:08 

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.