Click here to Skip to main content
15,905,914 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows Forms Streaming? How? Pin
led mike12-Nov-07 7:57
led mike12-Nov-07 7:57 
GeneralC# Course Syllabus Pin
Brady Kelly12-Nov-07 5:49
Brady Kelly12-Nov-07 5:49 
GeneralRe: C# Course Syllabus Pin
Colin Angus Mackay12-Nov-07 6:10
Colin Angus Mackay12-Nov-07 6:10 
GeneralRe: Problems in .net socket Pin
Justin Perez12-Nov-07 5:42
Justin Perez12-Nov-07 5:42 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi12-Nov-07 5:47
nayabsiddiqi12-Nov-07 5:47 
QuestionDrag and Drop FROM a ListBox to the desktop Pin
eggsy8412-Nov-07 5:39
eggsy8412-Nov-07 5:39 
AnswerRe: Drag and Drop FROM a ListBox to the desktop Pin
Skippums12-Nov-07 9:26
Skippums12-Nov-07 9:26 
GeneralRe: Drag and Drop FROM a ListBox to the desktop Pin
eggsy8412-Nov-07 22:44
eggsy8412-Nov-07 22:44 
GeneralRe: Drag and Drop FROM a ListBox to the desktop Pin
eggsy8412-Nov-07 22:45
eggsy8412-Nov-07 22:45 
GeneralRe: Drag and Drop FROM a ListBox to the desktop Pin
Skippums13-Nov-07 4:58
Skippums13-Nov-07 4:58 
GeneralRe: Drag and Drop FROM a ListBox to the desktop Pin
eggsy8413-Nov-07 5:23
eggsy8413-Nov-07 5:23 
QuestionMultithreaded windows service Pin
Vijay Kulavade12-Nov-07 5:35
Vijay Kulavade12-Nov-07 5:35 
AnswerRe: Multithreaded windows service Pin
Guinness4Strength12-Nov-07 6:52
Guinness4Strength12-Nov-07 6:52 
QuestionProblems in .net socket Pin
nayabsiddiqi12-Nov-07 4:51
nayabsiddiqi12-Nov-07 4:51 
AnswerRe: Problems in .net socket Pin
Justin Perez12-Nov-07 5:13
Justin Perez12-Nov-07 5:13 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi12-Nov-07 5:39
nayabsiddiqi12-Nov-07 5:39 
AnswerRe: Problems in .net socket Pin
Ennis Ray Lynch, Jr.12-Nov-07 6:41
Ennis Ray Lynch, Jr.12-Nov-07 6:41 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi13-Nov-07 1:19
nayabsiddiqi13-Nov-07 1:19 
AnswerRe: Problems in .net socket Pin
Guinness4Strength12-Nov-07 7:08
Guinness4Strength12-Nov-07 7:08 
GeneralRe: Problems in .net socket Pin
nayabsiddiqi13-Nov-07 1:22
nayabsiddiqi13-Nov-07 1:22 
QuestionUser located controls Pin
Ron Modesitt12-Nov-07 4:29
Ron Modesitt12-Nov-07 4:29 
AnswerRe: User located controls Pin
Guinness4Strength12-Nov-07 7:05
Guinness4Strength12-Nov-07 7:05 
This is probably not a rookie task Wink | ;)

Just as a starting point I would begin by monitoring the Mouse Button Click events as follows:
In the Mouse Button Down event I would record the coordinates of the mouse pointer and the control being clicked. Then in the button Up event I would check the coordinates of the mouse again. If the delta between the starting and new locations are greater than, say, the size of the control oringall clicked (or some other specific value) then set the Location property of the control to the new coordinates. This approach will not create the dragging effect visually but it should move the controls for you.

Good Luck.



GeneralRe: User located controls Pin
Ron Modesitt12-Nov-07 8:33
Ron Modesitt12-Nov-07 8:33 
Questionleft panel Pin
md_refay12-Nov-07 3:37
md_refay12-Nov-07 3:37 
AnswerRe: left panel Pin
leppie12-Nov-07 3:52
leppie12-Nov-07 3:52 

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.