parametrizedthreadstart C#

94

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;
}

Comments

Submit
0 Comments