Click here to Skip to main content
15,892,927 members
Home / Discussions / C#
   

C#

 
Questionstring Pin
arkiboys23-Mar-09 23:43
arkiboys23-Mar-09 23:43 
AnswerRe: string Pin
Sunil Lanke24-Mar-09 0:09
Sunil Lanke24-Mar-09 0:09 
AnswerRe: string Pin
Sunil Lanke24-Mar-09 0:16
Sunil Lanke24-Mar-09 0:16 
AnswerRe: string Pin
musefan24-Mar-09 0:27
musefan24-Mar-09 0:27 
QuestionLumenWorks.Framework.IO.Csv (CSV Reader) Pin
saku6923-Mar-09 23:23
saku6923-Mar-09 23:23 
AnswerRe: LumenWorks.Framework.IO.Csv (CSV Reader) Pin
saku6924-Mar-09 0:46
saku6924-Mar-09 0:46 
QuestionHow to detect if a user leaves a control while holding a Mousebutton down? Pin
Megidolaon23-Mar-09 22:48
Megidolaon23-Mar-09 22:48 
AnswerRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
musefan23-Mar-09 22:57
musefan23-Mar-09 22:57 
OK so for the sake of argument lets say you have a 3x3 grid of these pictureboxes numbered from 1 (top-left) to 9 (bottom-right).

If im correct what you are saying is that if you mouse down on (1) then move out the grid round to (3) then (2) does not become selected? obviously this should be the case.

Well to solve you could simply write you own algorithm to detect which boxes are selected and then fill in the gaps. Or, more simply, you can create a rectangle object using the mouse down position, and the mouse up position (i.e. a selection rectangle) then you can do a collision detection with the selection rectangle on all the pictureBoxes, any collisions should make the picturebox selected

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
Megidolaon24-Mar-09 1:52
Megidolaon24-Mar-09 1:52 
GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? Pin
King Julien24-Mar-09 3:32
King Julien24-Mar-09 3:32 
GeneralRe: How to detect if a user leaves a control while holding a Mousebutton down? [modified] Pin
Megidolaon24-Mar-09 21:48
Megidolaon24-Mar-09 21:48 
Question.Net error..... Pin
S K Y23-Mar-09 22:40
S K Y23-Mar-09 22:40 
AnswerRe: .Net error..... Pin
Eddy Vluggen23-Mar-09 23:20
professionalEddy Vluggen23-Mar-09 23:20 
Questionexcel sheet Pin
Mangesh Tomar23-Mar-09 22:37
Mangesh Tomar23-Mar-09 22:37 
AnswerRe: excel sheet Pin
Nagy Vilmos23-Mar-09 23:01
professionalNagy Vilmos23-Mar-09 23:01 
QuestionPersiaDevelopers.com Pin
Majid Shahabfar23-Mar-09 22:13
Majid Shahabfar23-Mar-09 22:13 
AnswerRe: PersiaDevelopers.com Pin
Eddy Vluggen23-Mar-09 22:35
professionalEddy Vluggen23-Mar-09 22:35 
QuestionRetrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 21:59
CodingLover23-Mar-09 21:59 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code23-Mar-09 22:13
12Code23-Mar-09 22:13 
QuestionRe: Retrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 22:19
CodingLover23-Mar-09 22:19 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code23-Mar-09 23:42
12Code23-Mar-09 23:42 
QuestionRe: Retrieve items from the last index on Dictionary. Pin
CodingLover23-Mar-09 23:53
CodingLover23-Mar-09 23:53 
AnswerRe: Retrieve items from the last index on Dictionary. Pin
12Code24-Mar-09 0:07
12Code24-Mar-09 0:07 
GeneralRe: Retrieve items from the last index on Dictionary. Pin
CodingLover24-Mar-09 0:41
CodingLover24-Mar-09 0:41 
GeneralRe: Retrieve items from the last index on Dictionary. Pin
12Code24-Mar-09 17:03
12Code24-Mar-09 17: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.