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(); } }
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); }