예제 #1
0
파일: Form1.cs 프로젝트: LeBIIIa/NTNN
 private void btnGraphics_Click(object sender, EventArgs e)
 {
     using (ChartStats chart = new ChartStats(bwoGNS.Handler.NotificationUrlListener, TypeOfGraph.GNS3Simulation))
     {
         chart.ShowDialog();
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: LeBIIIa/NTNN
        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();
                }
            }
        }