title: withEvents variable 'Label1' implicitly defines 'Label1', which conflicts with a member of the same name in class 'Form2'
body: <p>I want to pass data from form1 to form2 and i used "The Properties Approach" as shown in this article: <a href="http://www.vbdotnetheaven.com/UploadFile/thiagu304/passdata12262006073406AM/passdata.aspx" rel="nofollow">http://www.vbdotnetheaven.com/UploadFile/thiagu304/passdata12262006073406AM/passdata.aspx</a></p>
  
  <p>But i have following error occurd  <code>withEvents variable 'Label1' implicitly defines 'Label1', which conflicts with a member of the same name in class 'Form2'</code></p>
  
  <p><strong>Form1</strong></p>
  
  <pre><code>      Private ReadOnly Property _Label1() As String
          Get
              Return Label1.Text
          End Get
      End Property
  
  Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
  
          Dim frm As Form2 = New Form2
          frm._Label1 = _Label1
          frm.Show()
      End Sub
  </code></pre>
  
  <p><strong>Form2</strong></p>
  
  <pre><code>   Friend WriteOnly Property _Label1() As String
      Set(ByVal Value As String)
          Label1.Text = Value
      End Set
  End Property
  </code></pre>