title: Databindings for label on a winform usercontrol
body: <p>I'm creating a usercontrol for a winform app that contains two labels, one as a header and the other one needs to bind to a datasource through <code>Me.usercontrol1.databindings.add()</code>. I'm a novice in usercontrol designing so I searched on internet to find how to make a databindings for my control. I realized that I need to use <code>ControlBindingsCollection</code> but I don't know exactly how.</p>
  
  <p>I found following codes and added to my usercontrol :</p>
  
  <pre><code>Private bindingContext_ As BindingContext
  Private dataBindings_ As ControlBindingsCollection
  Public Overrides Property BindingContext() As BindingContext
      Get
          If bindingContext_ Is Nothing Then
              bindingContext_ = New BindingContext()
          End If
          Return bindingContext_
      End Get
      Set(ByVal value As BindingContext)
          bindingContext_ = value
      End Set
  End Property
  &lt;DesignerSerializationVisibility(DesignerSerializationVisibility.Content)&gt; _
  Public Overloads ReadOnly Property DataBindings() As ControlBindingsCollection
      Get
          If dataBindings_ Is Nothing Then
              dataBindings_ = New ControlBindingsCollection(Me)
          End If
          Return dataBindings_
      End Get
  End Property
  </code></pre>
  
  <p>Now I can set <code>usercontrol1.databindings</code> parameters but there's obviously something missing because I need to connect a single returning value from this binding to <code>label2.Text</code> in my usercontrol and I don't know how. </p>
  
  <p>Is there anybody to help me solve my problem ? </p>
  
  <p>Thanks in advance.</p>