private string MyMethod(string inString)
{
if (this.InvokeRequired)
return (string)this.Invoke(new MethodInvoker(() => MyMethod(inString)));
else
{
string result = "";
// working code of MyMethod
return result;
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment