private void CloseExistingSession() { if (this.splitContainer1.Panel2.Controls.Count > 0) { this.splitContainer1.Panel2.Controls.RemoveAt(0); } if (_miniDumpFile != null) { _miniDumpFile.Dispose(); } this.treeView1.Nodes[0].Text = "<No minidump loaded>"; }