private void UpdateTotalRowCount(IPerformanceCounter counter) { if (counter == null) { this.toolStripStatusLabelRowCount.Text = string.Format( "Row count: {0}", m_custTable.Rows.Count); return; } this.toolStripStatusLabelRowCount.Text = string.Format( "Row count: {0}. added in {1} ms", m_custTable.Rows.Count, counter.GetMilisec()); }
private void UpdateTotalRowCount(IPerformanceCounter counter) { if (counter == null) { this.toolStripStatusLabelRowCount.Text = string.Format( "Row count: {0}", m_custTable.Rows.Count); return; } this.toolStripStatusLabelRowCount.Text = string.Format( "Row count: {0}. added in {1} ms", m_custTable.Rows.Count, counter.GetMilisec()); }