title: vb.net how to exit validation return focus to the empty textbox?
body: <p>I am working in vb.net and I want to exit a validation and return the focus to the textbox with the error.  </p>
  
  <p>it raises the error but as soon as I click ok, it continues with the rest of the program.  Any idea's?  thank you.</p>
  
  <p>Should I also mention that this is in a class.</p>
  
  <pre><code>   'number of tickets property
  Public Property NumberOfTickets() As String
      Get
          Return NumTickets
      End Get
      Set(value As String)
          If (String.IsNullOrEmpty(value)) Then
              MessageBox.Show("Please Enter Number of Tickets")
              Exit Property
          Else
              NumTickets = value
          End If
      End Set
  End Property
  </code></pre>