private void AllBTN_Click(object sender, EventArgs e) { try { foreach (TreeNode node in NodesTV.Nodes) { SetCheckState(node, true); } } catch (Exception exception) { GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception); } }