private void ChangeSub(Cursor cursor) { if (mother.InvokeRequired) { ChangeSubMethod aus = new ChangeSubMethod(ChangeSub); mother.Invoke(aus, new Cursor[] { cursor }); } else { mother.Cursor = cursor; } }
private void ChangeSub(Cursor cursor) { if (parent.InvokeRequired) { ChangeSubMethod aus = new ChangeSubMethod(ChangeSub); parent.Invoke(aus, new Cursor[] { cursor }); } else { parent.Cursor = cursor; } }