|
-
Jul 28th, 2006, 09:38 AM
#1
Thread Starter
PowerPoster
pass array to a control event
Can someone please have a look and help me figure this out. Thanks in advance for any help.
I need to access an array inside a control event.
I changed the valuechanged event declaration for a trackbar to:
private void trbXMin_ValueChanged(object sender, EventArgs e, double [,] arrOrig)
but now I get this error:
Error 1 No overload for 'trbXMin_ValueChanged' matches delegate 'System.EventHandler' C:\Documents and Settings\Mark\My Documents\Visual Studio 2005\Projects\Visualizer\Visualizer\frmMain.Designer.cs 96 42 Visualizer
highlighting this line:
this.trbXMin.ValueChanged += new System.EventHandler(this.trbXMin_ValueChanged);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|