title: How can I update my WinForm label on timer?
body: <p>I can't update my WinForm label properties. </p>
  
  <p>Details: I am trying to check my database and get some values posted, but I can't even update a mere label it seems. I'm using SharpDevelop. </p>
  
  <p>The code:</p>
  
  <pre><code>//this is my form
  
  public partial class MainForm : Form
  {   
  
  //Declaring timer
  public static System.Timers.Timer aTimer = new System.Timers.Timer();
  
  public MainForm()
  {
      InitializeComponent();
  
      //Timer
      aTimer.Elapsed +=new ElapsedEventHandler(OnTimedEvent);
      aTimer.Interval = 2000; //milisecunde
      aTimer.Enabled = true;  
  
      label1.Text="some_text";        
  }
  
  private static void OnTimedEvent(object source, ElapsedEventArgs e) {Check();}
  
  public static void Check()
  {
      //Database checks here..
  
      try{label1.Text="new_text";}catch(Exception e)  {MessageBox.Show(e.ToString());}
      MessageBox.Show("BAAAA");
  }
  
      void Button1Click(object sender, EventArgs e)
      {
          label1.Text = "mergeeeeee?!";
      }
  
  }
  </code></pre>
  
  <p>EDIT: I've removed all static modifiers. Also updated the post with the new code (try catch is added and the messagebox after it + a button that changes the label).
  The try catches the following error:</p>
  
  <p><img src="https://i.stack.imgur.com/XwrpJ.png" alt="enter image description here"></p>
  
  <p>. Really could use some help, been researching answers for more than 6 hours.</p>