string ip = string.Empty;
MethodInvoker method = delegate
{
ip = txtOutgoingIP.Text;
};
if (InvokeRequired)
BeginInvoke(method);
else
method.Invoke();
No comments:
Post a Comment