コード例 #1
0
        private void viewStatisticsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ConnectionHistoryEntry entry = GetSelectedEntry();

            if (entry != null)
            {
                LogPacket[] packets = _document.Packets.GetPacketsForNetwork(entry.NetId);

                ConnectionStatisticsForm frm = new ConnectionStatisticsForm(entry, packets);

                frm.Show();
            }
        }
コード例 #2
0
ファイル: PacketLogControl.cs プロジェクト: michyer/canape
        private void ShowLogAsHistogram(LogPacket[] ps)
        {
            ConnectionStatisticsForm viewer = new ConnectionStatisticsForm(null, ps);

            components.Add(viewer);
            viewer.Show(this);

            //HistogramLogViewerForm viewer = new HistogramLogViewerForm(ps);

            //components.Add(viewer);

            //viewer.Show(this);
        }