c# Programming Glossary: secondcolor
Populate WinForms TreeView from DataTable http://stackoverflow.com/questions/805457/populate-winforms-treeview-from-datatable void ColorNodes TreeNode root Color firstColor Color secondColor root.ForeColor root.Index 2 0 firstColor secondColor foreach.. secondColor root.ForeColor root.Index 2 0 firstColor secondColor foreach TreeNode childNode in root.Nodes Color nextColor childNode.ForeColor.. childNode.ForeColor childNode.Index 2 0 firstColor secondColor if childNode.Nodes.Count 0 alternate colors for the next node..
|