Click here to Skip to main content
15,921,250 members
Home / Discussions / C#
   

C#

 
AnswerRe: Arraylist between classes Pin
ChandruIT17-Jan-07 20:23
ChandruIT17-Jan-07 20:23 
GeneralRe: Arraylist between classes Pin
J4amieC17-Jan-07 22:08
J4amieC17-Jan-07 22:08 
Questionpost build event to create a directory Pin
Praveen Raghuvanshi17-Jan-07 19:08
professionalPraveen Raghuvanshi17-Jan-07 19:08 
AnswerRe: post build event to create a directory Pin
Stefan Troschuetz17-Jan-07 21:22
Stefan Troschuetz17-Jan-07 21:22 
QuestionHow to remove a method from CollectionBase Pin
Radgar17-Jan-07 19:02
Radgar17-Jan-07 19:02 
AnswerRe: How to remove a method from CollectionBase Pin
Guffa17-Jan-07 19:49
Guffa17-Jan-07 19:49 
AnswerRe: How to remove a method from CollectionBase Pin
Phillip M. Hoff17-Jan-07 19:57
Phillip M. Hoff17-Jan-07 19:57 
GeneralRe: How to remove a method from CollectionBase Pin
Radgar17-Jan-07 20:58
Radgar17-Jan-07 20:58 
QuestionWebclient/Webrequest Problem Pin
Planker17-Jan-07 18:45
Planker17-Jan-07 18:45 
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 

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.