Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

action delegate c#

  private void ShowContentThreadSafe(int level)
  {
            
      if (UcView.TreeList.InvokeRequired)
       {
          	UcView.TreeList?.Invoke(new Action1<int>(a => ShowContent(level)));
       }
       else
        	ShowContent(level);
            
   }
Source by dotnetpattern.com #
 
PREVIOUS NEXT
Tagged: #action #delegate
ADD COMMENT
Topic
Name
3+1 =