public void SetUpTree(TreeViewMapping tvm) { if (TreeViewAccounting.InvokeRequired) { DelegateTreeWithInput d = new DelegateTreeWithInput(SetUpTree); this.Invoke(d, new object[] { tvm }); } else { TreeViewAccounting.SetUpTree(tvm); } }
public void SetUpTree(TreeViewMapping tvm) { if (TreeViewAccounting.InvokeRequired) { DelegateTreeWithInput d = new DelegateTreeWithInput(SetUpTree); this.Invoke(d, new object[] { tvm }); } else { TreeViewAccounting.SetUpTree(tvm); } }