Click here to Skip to main content
15,910,358 members
Home / Discussions / C#
   

C#

 
AnswerRe: Timer that simply records the duration of a process Pin
Dave Kreskowiak29-Sep-05 8:10
mveDave Kreskowiak29-Sep-05 8:10 
QuestionTest for Interface? Pin
Russell Jones29-Sep-05 3:43
Russell Jones29-Sep-05 3:43 
AnswerRe: Test for Interface? Pin
Stefan Troschuetz29-Sep-05 4:54
Stefan Troschuetz29-Sep-05 4:54 
GeneralRe: Test for Interface? Pin
Anonymous29-Sep-05 6:16
Anonymous29-Sep-05 6:16 
QuestionDetect running threads Pin
WillemM29-Sep-05 3:20
WillemM29-Sep-05 3:20 
AnswerRe: Detect running threads Pin
Tom Larsen29-Sep-05 9:43
Tom Larsen29-Sep-05 9:43 
GeneralRe: Detect running threads Pin
WillemM29-Sep-05 20:50
WillemM29-Sep-05 20:50 
QuestionTroubles with parsing data from on function to another Pin
Yannielsen29-Sep-05 2:01
Yannielsen29-Sep-05 2:01 
Hi,

I have a class where i'm creating a ButtonArray. Once i have created some elements in this array i want to access each of them in order to move them around in a panel. However i can't seem to get the information from the Move() funtion to be used in the MouseUpHandler which is the one handling the release of a button press (dropping the button at a new location).

Could anyone please help me out here, and please do say if you need more code than i have provided.


public void MouseUpHandler(object sender, System.Windows.Forms.MouseEventArgs e)
{
this.Move((System.Windows.Forms.Button) sender).Tag), host, _iXCoorRelative, _iYCoorRelative);
}

public void Move(object sender, System.Windows.Forms.Control host, int _iXCoorRelative, int _iYCoorRelative)
{
ButtonArray btnArray = new ButtonArray(host);
btnArray[Convert.ToInt32(((System.Windows.Forms.Button) sender).Tag)].Location = new System.Drawing.Point (_iXCoorRelative, _iYCoorRelative);
}
AnswerRe: Troubles with parsing data from on function to another Pin
Guffa29-Sep-05 6:43
Guffa29-Sep-05 6:43 
Questioncreate a Divx player Pin
Sasuko29-Sep-05 1:40
Sasuko29-Sep-05 1:40 
QuestionCOM and COM+ in C# Pin
mohd rafi28-Sep-05 23:34
mohd rafi28-Sep-05 23:34 
AnswerRe: COM and COM+ in C# Pin
Mohamad Al Husseiny29-Sep-05 8:51
Mohamad Al Husseiny29-Sep-05 8:51 
Questionconnect to Mobile Device through bluetooth Pin
Member 231569328-Sep-05 22:55
Member 231569328-Sep-05 22:55 
Questionstarted thread to wait till the other thread finishes Pin
ksanju100028-Sep-05 22:12
ksanju100028-Sep-05 22:12 
AnswerRe: started thread to wait till the other thread finishes Pin
S. Senthil Kumar28-Sep-05 22:40
S. Senthil Kumar28-Sep-05 22:40 
QuestionRegistering a Windows Service Pin
lata07mahi28-Sep-05 22:11
lata07mahi28-Sep-05 22:11 
AnswerRe: Registering a Windows Service Pin
Anonymous29-Sep-05 3:36
Anonymous29-Sep-05 3:36 
Questionhow to get voice data Pin
pakFari28-Sep-05 21:18
pakFari28-Sep-05 21:18 
Questioncheck for a child form's existence Pin
AesopTurtle28-Sep-05 21:07
AesopTurtle28-Sep-05 21:07 
AnswerRe: check for a child form's existence Pin
S. Senthil Kumar28-Sep-05 22:35
S. Senthil Kumar28-Sep-05 22:35 
GeneralRe: check for a child form's existence Pin
AesopTurtle28-Sep-05 23:58
AesopTurtle28-Sep-05 23:58 
QuestionFast Copy\Cast of an array Pin
Gilad Kapelushnik28-Sep-05 20:52
Gilad Kapelushnik28-Sep-05 20:52 
AnswerRe: Fast Copy\Cast of an array Pin
Guffa28-Sep-05 21:21
Guffa28-Sep-05 21:21 
GeneralRe: Fast Copy\Cast of an array Pin
leppie29-Sep-05 3:38
leppie29-Sep-05 3:38 
GeneralRe: Fast Copy\Cast of an array Pin
Guffa29-Sep-05 22:24
Guffa29-Sep-05 22:24 

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.