Answers for "c# adding an action"

C#
0

action delegate c#

private void ShowContentThreadSafe(int level)
  {
            
      if (UcView.TreeList.InvokeRequired)
       {
          	UcView.TreeList?.Invoke(new Action1<int>(a => ShowContent(level)));
       }
       else
        	ShowContent(level);
            
   }
Posted by: Guest on April-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language