Beispiel #1
0
        private TreeNode CreaNuovoSenderJob(string nome)
        {
            var job = AppRepo.AddSenderJob(nome);

            AddNodes(new[] { job });
            return(treeView1.Nodes.OfType <TreeNode>().Single(x => x.Tag == job.Id));
        }