示例#1
0
        public void AddSession()
        {
            PerformanceSessionViewModel newSessionVM = new PerformanceSessionViewModel();

            LogDataReceivedEvent    += newSessionVM.OnLogDataReceived;
            ADBLogDataReceivedEvent += newSessionVM.OnADBLogDataReceived;
            SessionViewModelCollection.Add(newSessionVM);
        }
示例#2
0
        public void AddSession()
        {
            PerformanceSessionViewModel newSessionVM = new PerformanceSessionViewModel();

            LogDataReceivedEvent    += newSessionVM.OnLogDataReceived;
            ADBLogDataReceivedEvent += newSessionVM.OnADBLogDataReceived;
            SessionViewModelCollection.Add(newSessionVM);

            PerformanceAnalyzerViewModel performanceAnalyzerVM = new PerformanceAnalyzerViewModel();

            SessionExplorerVM.Add(performanceAnalyzerVM);
            Documents.Add(performanceAnalyzerVM);
        }