Ejemplo n.º 1
0
        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());
        }
Ejemplo n.º 2
0
		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());
		}