Esempio n. 1
0
        // Remove the AppDomain ``e.AppDomain'' from the TreeView
        private void _on_appdomain_exit(Object sender,
                                        DebuggedAppDomainEventArgs e)
        {
            _history("AppDomain Exit: " + e.AppDomain.Name);
            AppDomainNode ad = m_procn.Get(e.AppDomain);

            m_procn.Remove(ad);
        }
Esempio n. 2
0
        // Remove the process ``e.Process'' from the TreeView.
        private void _on_process_exit(Object sender, DebuggedProcessEventArgs e)
        {
            ProcessNode dp = m_procn;

            m_procn = null;
            _history("Process Exit: " + dp.ProcessName);
            _history("--------");
            dp.Remove();
            _set_infopanel(m_dmesg);
            Trace.WriteLine("Current # nodes in tree: " + TreeView.Nodes.Count);
        }