Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

parametrizedthreadstart C#

//Change your thread initialization to:
var t = new Thread(new ParameterizedThreadStart(myMethod));
t.Start(myGrid);


//And also the method to:
public void myMethod(object myGrid)
{
    var grid = (UltraGrid)myGrid;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #parametrizedthreadstart
ADD COMMENT
Topic
Name
1+1 =