title: ProgressBar.Marquee not working?
body: <p>I'm trying a <code>ProgressBar</code> with the <code>Marquee</code> style. I set <code>MarqueeAnimationSpeed</code> to 0 initially and then I have a button than when pressed it looks for the instances of Sql Server. However, when I click start the progress bar does not show anything. I'm on Windows 7 I don't know if this might be the problem</p>
  
  <pre><code>public Form1 ()
  {
      InitializeComponent ();             
  }
  
  private void Form1_Load (object sender, EventArgs e)
  {
      this.progressBar1.MarqueeAnimationSpeed = 0;
  }
  
  private void button1_Click (object sender, EventArgs e)
  {
       this.progressBar1.MarqueeAnimationSpeed = 50;
  
       SqlDataSourceEnumerator sqlEnumerator = SqlDataSourceEnumerator.Instance;
       DataTable dataTable = sqlEnumerator.GetDataSources ();
  
       this.Close ();
  }
  </code></pre>