title: Way to pass data between forms (VB 2008)
body: <p>Is this way a "right" way to pass data between two forms?</p>
  
  <pre><code>'Form1 code
  
  Public Class Form1
  
  Public str As New String = "This is the string"
  
  '...more code
  
  End Class
  
  
  'Form2 code
  
  Public Class Form2
  
  Public str2 As New string = ""
  
  Private Sub Form2_Load(ByVal sender As System.Object, _
  ByVal e As System.EventArgs) Handles MyBase.Load
  
  str2 = Form1.str
  
  End Sub
  
  '...more code
  
  End Class
  </code></pre>
  
  <p>Thank you in advance,</p>
  
  <p>Tassos</p>