Results 1 to 40 of 47

Thread: Control Array in VS 2010

Threaded View

  1. #24

    Thread Starter
    Junior Member drago87's Avatar
    Join Date
    Aug 2010
    Location
    Swaden
    Posts
    21

    Re: Control Array in VS 2010

    Dident realy get how i would add it i hawe draged the gear to the form and it is placed next to the Menu strip icone.

    The smal immage on the button left is the UserControl the one in the middle is my form as it is now and the one to the right is how i want it tobe after ive added 2 of maby 20 User controls.

    -:EDIT:-

    Found it used the wrong usercontol

    -:EDIT2:-
    I'm hawing a little problem sending

    this is in my UserControl

    Code:
    Public Class UserControl1
        Dim Poäng As Integer
        Dim Points As Integer
    
        Public Property Poäng_Send() As Integer
            Get
                Return Poäng
            End Get
            Set(ByVal value As Integer)
                Poäng = value
            End Set
        End Property
    
        Public Property Points_Send() As Integer
            Get
                Return Points
            End Get
            Set(ByVal value As Integer)
                Points = value
            End Set
        End Property
    
    
    
    End Class
    i also need to know how i do to make it feel when i change the text in one of the textboxes

    where sould i incert this code?
    Code:
    UserControl1.MainText = "Blah"
    but in my case it sould be more like this i think
    Code:
    points=UserControl1.Points_Send
    Ore i'm i miles away?
    Last edited by drago87; Aug 16th, 2010 at 04:37 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width