Esempio n. 1
0
        private void Init()
        {
            var mainTab = new EventsTabViewModel(_events)
            {
                Header = "All Events",
                Icon   = "/icons/tabs/event.ico",
            };

            AddTab(mainTab, true);
            AddTab(new EventsTabViewModel(_events, evt => evt.Data is ProcessTraceData)
            {
                Header          = "Processes",
                Icon            = "/icons/tabs/processes.ico",
                IsProcessesOnly = true
            });

            AddTab(new EventsTabViewModel(_events, evt => evt.Data is ImageLoadTraceData)
            {
                Header       = "Images",
                Icon         = "/icons/tabs/image.ico",
                IsImagesOnly = true
            });

            AddTab(new EventsTabViewModel(_events, evt => evt.Data is ThreadTraceData)
            {
                Header        = "Threads",
                Icon          = "/icons/tabs/threads.ico",
                IsThreadsOnly = true
            });

            AddTab(new EventsTabViewModel(_events, evt => evt.Data is RegistryTraceData)
            {
                Header         = "Registry",
                Icon           = "/icons/tabs/registry.ico",
                IsRegistryOnly = true
            });

            AddTab(new EventsTabViewModel(_events, evt => evt.Type == EventType.AlpcReceiveMessage || evt.Type == EventType.AlpcSendMessage)
            {
                Header = "ALPC",
                Icon   = "/icons/tabs/alpc.ico"
            });
        }
Esempio n. 2
0
        private void Init()
        {
            var mainTab = new EventsTabViewModel(_events)
            {
                Header = "All Events",
                Icon   = "/icons/tabs/event.ico",
            };

            AddTab(mainTab, true);
            AddTab(new EventsTabViewModel(_events, evt => evt.Data is ProcessTraceData)
            {
                Header = "Processes",
                Icon   = "/icons/tabs/processes.ico",
            });

            AddTab(new EventsTabViewModel(_events, evt => evt.Data is ThreadTraceData)
            {
                Header = "Threads",
                Icon   = "/icons/tabs/threads.ico",
            });
        }