private void FillEvent(TreeNode InsertNode) { if (m_RecordPlayer == null) { return; } if (InsertNode == null) { return; } string strFuncName = null; int nInfo = 0; m_RecordPlayer.GetFirstEvent(out strFuncName, out nInfo); while (strFuncName != null) { TreeNode node = new TreeNode(strFuncName); node.Tag = nInfo; InsertNode.Nodes.Add(node); m_RecordPlayer.GetNextEvent(out strFuncName, out nInfo); } }