private void updateInfo() { fancyModelMesh.IndexBlock tBlock = (fancyModelMesh.IndexBlock)Block; _TreeNode_Use32BitIndex.Text = String.Format("是否启用32位索引:{0}", tBlock.UseInt32Index); _TreeNode_IndexCount.Text = String.Format("索引数量:{0}", tBlock.IndexList.Count); }
private void ToolStripMenuItem_newIndex_Click(object sender, EventArgs e) { if (_File != null) { fancyModelMesh.Block tBlock = new fancyModelMesh.IndexBlock(); _File.BlockList.Add(tBlock); AddNode(tBlock); } }