예제 #1
0
        private void InitializeAnalyzeWindows()
        {
            commandStatistics      = new CommandStatistics(LogProvider);
            commandStatistics.Dock = DockStyle.Fill;
            childPanels.Add(commandStatistics);

            var commandStatisticsForm = CreateToolWindow(Resources.Form_Title_Commands);

            commandStatisticsForm.Controls.Add(commandStatistics);
            commandStatisticsForm.Show();
            childToolWindows.Add(commandStatisticsForm);


            lineChart                   = new LineChart(LogProvider);
            lineChart.Dock              = DockStyle.Fill;
            lineChart.ChartDoubleClick += lineChart_ChartDoubleClick;
            childPanels.Add(lineChart);

            var lineChartForm = CreateToolWindow(Resources.Form_Title_LineGraph);

            lineChartForm.Controls.Add(lineChart);
            lineChartForm.Show();
            childToolWindows.Add(lineChartForm);


            patterns      = new Patterns(LogProvider);
            patterns.Dock = DockStyle.Fill;
            patterns.PatternDoubleClick += pattern_ItemDoubleClick;
            childPanels.Add(patterns);

            var patternsForm = CreateToolWindow(Resources.Form_Title_Patterns);

            patternsForm.Controls.Add(patterns);
            patternsForm.Show();
            childToolWindows.Add(patternsForm);


            eventsList                   = new EventsList(LogProvider);
            eventsList.Dock              = DockStyle.Fill;
            lineChart.ChartDoubleClick  += eventsList.LineChart_ChartDoubleClick;
            patterns.PatternDoubleClick += eventsList.Pattern_ItemDoubleClick;
            childPanels.Add(eventsList);

            var eventsListForm = CreateToolWindow(Resources.Form_Title_EventsList);

            eventsListForm.Controls.Add(eventsList);
            eventsListForm.Show();
            childToolWindows.Add(eventsListForm);


            keyStrokes      = new KeyStrokes(LogProvider);
            keyStrokes.Dock = DockStyle.Fill;
            childPanels.Add(keyStrokes);

            var keyStrokesForm = CreateToolWindow(Resources.Form_Title_Keystrokes);

            keyStrokesForm.Controls.Add(keyStrokes);
            keyStrokesForm.Show();
            childToolWindows.Add(keyStrokesForm);


            LayoutMdi(MdiLayout.Cascade);


            Redraw();
        }
예제 #2
0
 public CounterVisitor()
 {
     CommandStatistics = new CommandStatistics();
 }