static void Main() { var statisctic = new double[] { 3.526, 5.67, 4.404, 50.30, 66.66, 69.609, 0.104, -45.5005043 }; var statViewer = new StatisticsViewer(); statViewer.PrintStatistics(statisctic); }
public void StartConnection() { ConnectionDialog dialog = new ConnectionDialog(this); dialog.ShowDialog(this.View); if (this.IsConnected == true) { this.Code = new CodeView(this); this.Statistics = new StatisticsViewer(this); this.CallStack = new CallstackViewer(this); this.Code.Show(this.View.DockPanel); this.Log.Show(this.View.DockPanel); this.Statistics.Show(this.View.DockPanel); if (this.CallStacksEnabled == true) { this.CallStack.Show(this.View.DockPanel); } } else { Environment.Exit(0); } }
public StatisticsViewer GetStatisticsViewer() { if (m_StatisticsViewer == null || m_StatisticsViewer.IsDisposed) { m_StatisticsViewer = new StatisticsViewer(this); AddLogViewer(m_StatisticsViewer); } return(m_StatisticsViewer); }