Click here to Skip to main content
15,906,463 members
Home / Discussions / C#
   

C#

 
AnswerRe: Possibilities for 'Out of Memory Exception' Pin
Nouman Bhatti23-Sep-07 19:23
Nouman Bhatti23-Sep-07 19:23 
GeneralRe: Possibilities for 'Out of Memory Exception' Pin
Harkamal Singh23-Sep-07 20:46
Harkamal Singh23-Sep-07 20:46 
GeneralRe: Possibilities for 'Out of Memory Exception' Pin
Rudolf Jan24-Sep-07 0:16
Rudolf Jan24-Sep-07 0:16 
QuestionExporting text in textboxes to Excel Sheet in C# Pin
iet200023-Sep-07 18:21
iet200023-Sep-07 18:21 
AnswerRe: Exporting text in textboxes to Excel Sheet in C# Pin
MarkB77723-Sep-07 19:00
MarkB77723-Sep-07 19:00 
QuestionI set the Anthor property of a control,why it not work? Pin
supercsharp123-Sep-07 16:49
supercsharp123-Sep-07 16:49 
Questionprinting encrypted byte array to a barcode and scan Pin
bttds23-Sep-07 15:45
bttds23-Sep-07 15:45 
AnswerRe: printing encrypted byte array to a barcode and scan Pin
Christian Graus23-Sep-07 15:56
protectorChristian Graus23-Sep-07 15:56 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
bttds23-Sep-07 16:24
bttds23-Sep-07 16:24 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
Christian Graus23-Sep-07 16:41
protectorChristian Graus23-Sep-07 16:41 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
bttds23-Sep-07 17:26
bttds23-Sep-07 17:26 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
Christian Graus23-Sep-07 18:50
protectorChristian Graus23-Sep-07 18:50 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
Luc Pattyn24-Sep-07 0:08
sitebuilderLuc Pattyn24-Sep-07 0:08 
GeneralRe: printing encrypted byte array to a barcode and scan Pin
bttds25-Sep-07 15:32
bttds25-Sep-07 15:32 
QuestionMCAD and MCSD Pin
samymoenis23-Sep-07 14:36
samymoenis23-Sep-07 14:36 
AnswerRe: MCAD and MCSD Pin
Christian Graus23-Sep-07 15:08
protectorChristian Graus23-Sep-07 15:08 
GeneralRe: MCAD and MCSD Pin
StyleGuide24-Sep-07 0:17
StyleGuide24-Sep-07 0:17 
QuestionTaking User input and getting back to the previous control Pin
Dino2Dino23-Sep-07 13:52
Dino2Dino23-Sep-07 13:52 
AnswerRe: Taking User input and getting back to the previous control Pin
I.explore.code23-Sep-07 19:30
I.explore.code23-Sep-07 19:30 
GeneralRe: Taking User input and getting back to the previous control Pin
Dino2Dino24-Sep-07 13:45
Dino2Dino24-Sep-07 13:45 
QuestionPLEASE HELP! drawing squares/collision detection Pin
MasterSharp23-Sep-07 12:29
MasterSharp23-Sep-07 12:29 
AnswerRe: PLEASE HELP! drawing squares/collision detection Pin
Christian Graus23-Sep-07 12:45
protectorChristian Graus23-Sep-07 12:45 
It's really easy. First of all, in your onpaint, do two DrawRectangle calls on the graphics object. Then, you take each point that is a corner of one rectangle, and call the PtInRect method to see if it occurs inside the other rectangle. If any of htem do, then they intersect.

I'm going on memory, I may have some method names wrong, but those methods all exist, and will do what you want.

It's when you want to work out if irregular shapes intersect that you have issues.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: PLEASE HELP! drawing squares/collision detection Pin
MasterSharp23-Sep-07 12:53
MasterSharp23-Sep-07 12:53 
GeneralRe: PLEASE HELP! drawing squares/collision detection Pin
Christian Graus23-Sep-07 13:00
protectorChristian Graus23-Sep-07 13:00 
GeneralRe: PLEASE HELP! drawing squares/collision detection Pin
MasterSharp23-Sep-07 13:09
MasterSharp23-Sep-07 13:09 

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.