Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }
Exemplo n.º 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;
     }
 }