Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
QuestionIntegrating Windows operating system with c# Pin
yashpunind17-Jan-07 18:27
yashpunind17-Jan-07 18:27 
AnswerRe: Integrating Windows operating system with c# Pin
Christian Graus17-Jan-07 20:07
protectorChristian Graus17-Jan-07 20:07 
QuestionAbout abstract class Pin
Ravi Shankar4317-Jan-07 18:14
Ravi Shankar4317-Jan-07 18:14 
AnswerRe: About abstract class Pin
Vinay Dornala17-Jan-07 18:55
Vinay Dornala17-Jan-07 18:55 
GeneralRe: About abstract class Pin
Ravi Shankar4317-Jan-07 19:02
Ravi Shankar4317-Jan-07 19:02 
Questionabout Abstract and Interface concept n C# Pin
Vinay Dornala17-Jan-07 18:03
Vinay Dornala17-Jan-07 18:03 
AnswerRe: about Abstract and Interface concept n C# Pin
jdkulkarni17-Jan-07 19:16
jdkulkarni17-Jan-07 19:16 
QuestionMoving Multiple Controls at runtime Pin
ArjunMunda17-Jan-07 17:26
ArjunMunda17-Jan-07 17:26 
I think this is going to be a hard one...I am using C#
I have this in each of my control's MouseDown and MouseMove events:

Private int Ox , Oy ;

Private Sub BackDiag_MouseDown(object sender, MouseEventArgs e)
{
Ox = e.X;
Oy = e.Y;
}

Private Sub BackDiag_MouseMove(object sender, MouseEventArgs e)
{

ControlName.Left = ControlName.Left + (e.X - Ox);
ControlName.Top = ControlName.Top + (e.Y - Oy);

}


I can click on any control with that code and move it around at run time and it works great. Now I want to be able to select multiple controls on my form at runtime and move them in the same manner. The ideal solution would be to be able to select them as a group by drawing a square around them with the mouse (like you do when selecting multiple icons on your desktop) and also be able to add to the selection 1 at a time by holding down ctrl and clicking on them with the mouse (also like you do with icons on the desktop) and move them around as a group. That may be asking to much, so if I can't have it that way, then 1 or the other will work.
If you have any questions, please ask.


Arjun Munda

QuestionDynamically creating objects using reflection Pin
mcd242417-Jan-07 17:01
mcd242417-Jan-07 17:01 
AnswerRe: Dynamically creating objects using reflection Pin
Phillip M. Hoff17-Jan-07 17:15
Phillip M. Hoff17-Jan-07 17:15 
GeneralRe: Dynamically creating objects using reflection Pin
mcd242417-Jan-07 17:22
mcd242417-Jan-07 17:22 
GeneralRe: Dynamically creating objects using reflection Pin
Phillip M. Hoff17-Jan-07 17:37
Phillip M. Hoff17-Jan-07 17:37 
GeneralRe: Dynamically creating objects using reflection Pin
mcd242417-Jan-07 18:07
mcd242417-Jan-07 18:07 
GeneralRe: Dynamically creating objects using reflection Pin
Phillip M. Hoff17-Jan-07 19:17
Phillip M. Hoff17-Jan-07 19:17 
GeneralRe: Dynamically creating objects using reflection Pin
Russell Jones17-Jan-07 23:00
Russell Jones17-Jan-07 23:00 
QuestionC# Dial-up manager Pin
oren201017-Jan-07 15:49
oren201017-Jan-07 15:49 
Questionget folder content form a webservice Pin
gcorgnet17-Jan-07 15:40
gcorgnet17-Jan-07 15:40 
AnswerRe: get folder content form a webservice Pin
mcd242417-Jan-07 17:10
mcd242417-Jan-07 17:10 
QuestionInconsistent Exceptions While Printing Pin
mfgalizia17-Jan-07 14:29
mfgalizia17-Jan-07 14:29 
AnswerRe: Inconsistent Exceptions While Printing Pin
Luc Pattyn17-Jan-07 16:24
sitebuilderLuc Pattyn17-Jan-07 16:24 
GeneralRe: Inconsistent Exceptions While Printing Pin
netJP12L18-Jan-07 4:53
netJP12L18-Jan-07 4:53 
GeneralRe: Inconsistent Exceptions While Printing Pin
mfgalizia18-Jan-07 11:28
mfgalizia18-Jan-07 11:28 
GeneralRe: Inconsistent Exceptions While Printing Pin
mfgalizia21-Jan-07 12:45
mfgalizia21-Jan-07 12:45 
GeneralRe: Inconsistent Exceptions While Printing Pin
mfgalizia21-Jan-07 13:23
mfgalizia21-Jan-07 13:23 
GeneralRe: Inconsistent Exceptions While Printing Pin
Luc Pattyn21-Jan-07 13:52
sitebuilderLuc Pattyn21-Jan-07 13: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.