Click here to Skip to main content
15,891,248 members
Home / Discussions / C#
   

C#

 
AnswerRe: PInvoke Pin
Luc Pattyn19-Sep-10 3:23
sitebuilderLuc Pattyn19-Sep-10 3:23 
GeneralRe: PInvoke Pin
Saksida Bojan19-Sep-10 3:59
Saksida Bojan19-Sep-10 3:59 
AnswerRe: PInvoke Pin
Luc Pattyn19-Sep-10 4:16
sitebuilderLuc Pattyn19-Sep-10 4:16 
QuestionWhy i get an exception on this code ? ( code attached ) Pin
Yanshof18-Sep-10 21:53
Yanshof18-Sep-10 21:53 
AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Paul Michalik18-Sep-10 23:32
Paul Michalik18-Sep-10 23:32 
GeneralRe: Why i get an exception on this code ? ( code attached ) Pin
Yanshof18-Sep-10 23:49
Yanshof18-Sep-10 23:49 
AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Saksida Bojan19-Sep-10 1:19
Saksida Bojan19-Sep-10 1:19 
AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Manfred Rudolf Bihy19-Sep-10 22:11
professionalManfred Rudolf Bihy19-Sep-10 22:11 
What might have happened is that the picture box was set to stretch the image to fit it's size.
Then when you tried to get the pixel at e.x, e.y these values might well be larger than the true
picture size. In that case a transformation of picture box x,y to image x,y would need to be done.

Something along the lines of:
x' = e.x * image.width / picturebox.width
y' = e.y * image.height / picturebox.height

Questionexcel import wizard (fixed line) Pin
eyeshield2118-Sep-10 15:16
eyeshield2118-Sep-10 15:16 
QuestionAnyone have an RDLC Example with SQL Server 2008 R2 Pin
gmhanna18-Sep-10 7:01
gmhanna18-Sep-10 7:01 
AnswerRe: Anyone have an RDLC Example with SQL Server 2008 R2 Pin
Mycroft Holmes18-Sep-10 17:16
professionalMycroft Holmes18-Sep-10 17:16 
QuestionCustom look for NumericUpDown control Pin
Mazdak18-Sep-10 1:05
Mazdak18-Sep-10 1:05 
AnswerRe: Custom look for NumericUpDown control Pin
OriginalGriff18-Sep-10 6:13
mveOriginalGriff18-Sep-10 6:13 
GeneralRe: Custom look for NumericUpDown control Pin
Mazdak18-Sep-10 6:16
Mazdak18-Sep-10 6:16 
GeneralRe: Custom look for NumericUpDown control Pin
OriginalGriff18-Sep-10 6:25
mveOriginalGriff18-Sep-10 6:25 
QuestionHow can i define the ConcurrentQueue size ? Pin
Yanshof18-Sep-10 0:48
Yanshof18-Sep-10 0:48 
Questioncopy control with relative code Pin
behzadcp18-Sep-10 0:38
professionalbehzadcp18-Sep-10 0:38 
AnswerRe: copy control with relative code Pin
Saksida Bojan18-Sep-10 23:59
Saksida Bojan18-Sep-10 23:59 
QuestionpInvoke Struct Pin
Saksida Bojan17-Sep-10 22:18
Saksida Bojan17-Sep-10 22:18 
AnswerRe: pInvoke Struct Pin
#realJSOP18-Sep-10 1:03
mve#realJSOP18-Sep-10 1:03 
GeneralRe: pInvoke Struct Pin
Saksida Bojan18-Sep-10 2:13
Saksida Bojan18-Sep-10 2:13 
AnswerRe: pInvoke Struct Pin
DaveyM6918-Sep-10 5:05
professionalDaveyM6918-Sep-10 5:05 
AnswerRe: pInvoke Struct [modified] Pin
harold aptroot18-Sep-10 5:29
harold aptroot18-Sep-10 5:29 
GeneralRe: pInvoke Struct Pin
DaveyM6918-Sep-10 6:10
professionalDaveyM6918-Sep-10 6:10 
GeneralRe: pInvoke Struct Pin
harold aptroot18-Sep-10 6:47
harold aptroot18-Sep-10 6:47 

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.