I have a method called `TryMe` which has try catch block and catches his exceptions.  

I call him from another class, but when an exception occurs it doesn't stop the code execution.  

Example:

```
public void TryMe()
{
    try
    {
        SomeMethod();
    }
    catch(Exception exception){
        MessageBox.Show(exception.Message);
    }
}

     //Method calling
     Actions CAactions = new Actions();
     CActions.TryMe();
     ///////////////////////////////////
     //If exception is handled it should stop to here.

     this.Hide();
     FormActions FormActions = new FormActions();

```

The method definition is in class file. The method calling is in the windows form.  

The problem is that it just shows the messagebox and the code execution continues.  

I want to stop the code after the exception catching and not hiding the form. If everything is okay it should hide it.  

Maybe my conceptions is wrong?