title: How to display the tick of the timer in C#
body: <p>I want to know how can I achieve this goal?</p>
  
  <pre><code>    private void btnProcess_Click(object sender, EventArgs e)
  {
      timer1.Start();
      //100 plus line of code here
      timer1.Stop();
  }
  
  int i = 0;
  
  private void timer1_Tick(object sender, EventArgs e)
  {
      i++;
      label1.text = i.toString();
  }
  </code></pre>
  
  <p>I want to happen is that when I press the button the timer will run and display the time in label1.text and it will stop until it will reach the timer stop function</p>