Exemplo n.º 1
0
 private void btnGraphics_Click(object sender, EventArgs e)
 {
     using (ChartStats chart = new ChartStats(bwoGNS.Handler.NotificationUrlListener, TypeOfGraph.GNS3Simulation))
     {
         chart.ShowDialog();
     }
 }
Exemplo n.º 2
0
        private void StatsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (IsWorkingBW())
            {
                return;
            }

            if (listVAddr.SelectedItems.Count > 0)
            {
                var item = listVAddr.SelectedItems[0].SubItems[0].Text;
                using (ChartStats chart = new ChartStats(item, TypeOfGraph.RealSimulation))
                {
                    chart.ShowDialog();
                }
            }
        }