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