title: System.Windows.Forms.Timer And MessageBox
body: <p>can someone please let me know why the System.Windows.Forms.Timer continues to show multiple message boxes? I thought that it is on GUI thread ... and therefore after the first messagebox the GUI thread should block. But this is not the case</p>
  
  <pre><code>public partial class Form1 : Form
  {
      public Form1()
      {
          InitializeComponent();
  
  
      }
  
      int nValue = 0;
  
      void tmr_Tick(object sender, EventArgs e)
      {
          nValue++;
          MessageBox.Show(nValue.ToString());
      }
  
      System.Windows.Forms.Timer tmr = new System.Windows.Forms.Timer();
  
      private void btnStartTimer_Click(object sender, EventArgs e)
      {            
          tmr.Interval = 500;
          tmr.Enabled = true;
          tmr.Tick += new EventHandler(tmr_Tick);
      }
  }
  </code></pre>