摘要: private void InitGroupBox() { for (int k = 0; k < 16;k++ ) { PictureBox pic = new PictureBox(); int i = k % 4; int j = k / 4; pic.Name = k.ToString(); pic.Top = 50 + j * 201; pic.Left = 50+i * 251;...阅读全文
09 2008 档案
摘要: private void addChildren(string GroupName) { //首先判断是否选定组件中节点的位置 if (this.groupTreeView.SelectedNode == null) { MessageBox.Show("请选择一个节点", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Information); } e...阅读全文
摘要: class TreeView2Xml { private const string _SubFolder = "Xml"; private const string _DecodeConfigName = "TreeView.xml"; public static void Save(TreeView tv ) { try { XmlDocument doc = new XmlDocument()...阅读全文

