title: Messagebox displaying too early - C#
body: <p>I am just starting off with the world of programming C#, and have come across a small glitch in my code which causes the design to be ruined. </p>
  
  <p>For some reason, when I am trying change the text in a textbox, it does not visually change until a messagebox has been displayed, which is underneath the code to change the text. I am programming for WP7, if that changed anything. It runs on a button click.</p>
  
  <p>Below is my code:</p>
  
  <pre><code> private void Draw()
      {
          Random random = new Random((int)DateTime.Now.Ticks);
  
          number[0] = random.Next(0, 9);
          number[1] = random.Next(0, 9);
          number[2] = random.Next(0, 9);
  
              no1.Text = number[0].ToString();
              no2.Text = number[1].ToString();
              no3.Text = number[2].ToString();
  
          MessageBox.show("Example message");
  
      }
  </code></pre>