Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
GeneralRe: Paint.NET Pin
MasterSharp14-Oct-07 7:22
MasterSharp14-Oct-07 7:22 
GeneralRe: Paint.NET Pin
lmoelleb14-Oct-07 7:32
lmoelleb14-Oct-07 7:32 
AnswerRe: Paint.NET Pin
Pete O'Hanlon14-Oct-07 10:13
mvePete O'Hanlon14-Oct-07 10:13 
GeneralRe: Paint.NET Pin
MasterSharp14-Oct-07 10:15
MasterSharp14-Oct-07 10:15 
GeneralRe: Paint.NET Pin
Pete O'Hanlon14-Oct-07 10:21
mvePete O'Hanlon14-Oct-07 10:21 
AnswerRe: Paint.NET Pin
Christian Graus14-Oct-07 11:41
protectorChristian Graus14-Oct-07 11:41 
QuestionWindows collision Pin
MasterSharp14-Oct-07 5:53
MasterSharp14-Oct-07 5:53 
AnswerRe: Windows collision Pin
Kristian Sixhøj14-Oct-07 6:46
Kristian Sixhøj14-Oct-07 6:46 
Look at the picturebox1.Bounds.IntersectsWith() function.

Here's an example I made long time ago:
if (pictureBox1.Bounds.IntersectsWith(pictureBox2.Bounds))
{
    MessageBox.Show("Collision!");
}



Virtual1ty
"Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

GeneralRe: Windows collision Pin
MasterSharp14-Oct-07 6:55
MasterSharp14-Oct-07 6:55 
GeneralRe: Windows collision Pin
Kristian Sixhøj14-Oct-07 7:16
Kristian Sixhøj14-Oct-07 7:16 
GeneralRe: Windows collision Pin
MasterSharp14-Oct-07 7:19
MasterSharp14-Oct-07 7:19 
GeneralRe: Windows collision Pin
Kristian Sixhøj14-Oct-07 7:21
Kristian Sixhøj14-Oct-07 7:21 
GeneralRe: Windows collision Pin
MasterSharp14-Oct-07 7:23
MasterSharp14-Oct-07 7:23 
GeneralRe: Windows collision Pin
Kristian Sixhøj14-Oct-07 7:27
Kristian Sixhøj14-Oct-07 7:27 
GeneralRe: Windows collision Pin
MasterSharp14-Oct-07 7:30
MasterSharp14-Oct-07 7:30 
Generalcarrer gudiance Pin
sid_si14-Oct-07 4:56
sid_si14-Oct-07 4:56 
GeneralRe: carrer gudiance Pin
J4amieC14-Oct-07 5:15
J4amieC14-Oct-07 5:15 
GeneralRe: carrer gudiance Pin
sid_si14-Oct-07 5:25
sid_si14-Oct-07 5:25 
Questionhow to write? Pin
s4_sabahatf14-Oct-07 4:24
s4_sabahatf14-Oct-07 4:24 
AnswerRe: how to write? Pin
Roger CS14-Oct-07 6:14
Roger CS14-Oct-07 6:14 
QuestionOleDB Pin
s4_sabahatf14-Oct-07 4:10
s4_sabahatf14-Oct-07 4:10 
AnswerRe: OleDB Pin
Hesham Amin14-Oct-07 4:31
Hesham Amin14-Oct-07 4:31 
QuestionMethod timeout Pin
martin_hughes14-Oct-07 3:40
martin_hughes14-Oct-07 3:40 
AnswerRe: Method timeout Pin
TJoe15-Oct-07 4:07
TJoe15-Oct-07 4:07 
QuestionToolTip Pin
half-life14-Oct-07 2:51
half-life14-Oct-07 2:51 

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.