title: Update status bar text
body: <p>this is simplest possible thing, but i cant update text on status bar... I just started working in c# but cannot find solution..
  in all answers, accepted answer is <code>statusBar1.Text = "text";</code>
  I made simple menu and added LOAD item in menu. Picture is loaded, all works fine, just status text doesn't update...
  Btw, MessageBox also displays right text that i need in status bar.
  Here is my code, and it just doesn't work:</p>
  
  <pre><code> private void menuLoad_Click(object sender, EventArgs e)
      {
          OpenFileDialog dlg = new OpenFileDialog();
          dlg.Title = "Load Photo";
          dlg.Filter = "jpg files (*.jpg)"
          + "|*.jpg|All files (*.*)|*.*";
          if (dlg.ShowDialog() == DialogResult.OK)
          {
              try
              {
                  statusBar1.Text = "Loading " + dlg.FileName;
                  pbxPhoto.Image = new Bitmap(dlg.OpenFile());
                  statusBar1.Text = "Loaded " + dlg.FileName;
                  MessageBox.Show("Text = " + dlg.FileName); 
              }
              catch (Exception ex)
              {
                  statusBar1.Text = "Unable to load file " + dlg.FileName;
                  MessageBox.Show("Unable to load file: " + ex.Message);
              }
          }
          dlg.Dispose();
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/zmfzz.jpg" alt="screenshot1"></p>