private void InvokeTreeGridViewImageIndex(TreeGridView treeGridView, int value) { treeGridView.BeginInvoke((MethodInvoker) delegate { treeGridView.Nodes[0].ImageIndex = value; }); }
private void InvokeTreeGridViewText(TreeGridView treeGridView, string text) { treeGridView.BeginInvoke((MethodInvoker) delegate { treeGridView.Nodes[0].Cells[0].Value = text; }); }