Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. User Control Tutorial

User Control Tutorial

Scheduled Pinned Locked Moved C#
tutorialdesignhelp
10 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    baranils
    wrote on last edited by
    #1

    Hello I'm looking for a good tutorial about user control I need to learn the purpose (I have an idea) and how to design it Thank you for your suggestions / Help

    S P N 3 Replies Last reply
    0
    • B baranils

      Hello I'm looking for a good tutorial about user control I need to learn the purpose (I have an idea) and how to design it Thank you for your suggestions / Help

      S Offline
      S Offline
      Spacix One
      wrote on last edited by
      #2

      http://msdn.microsoft.com/en-us/library/a6h7e207(VS.80).aspx[^] Would be the best place to start...


      -Spacix All your skynet questions[^] belong to solved

      B 1 Reply Last reply
      0
      • B baranils

        Hello I'm looking for a good tutorial about user control I need to learn the purpose (I have an idea) and how to design it Thank you for your suggestions / Help

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Try doing an article search on this site. Some good ones are bound to pop up :)

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

        B 1 Reply Last reply
        0
        • P Paul Conrad

          Try doing an article search on this site. Some good ones are bound to pop up :)

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

          B Offline
          B Offline
          baranils
          wrote on last edited by
          #4

          It's a joke ? I make severall search here Nothing interesting pop-up I've tried : user control tutorial use control design

          A 1 Reply Last reply
          0
          • S Spacix One

            http://msdn.microsoft.com/en-us/library/a6h7e207(VS.80).aspx[^] Would be the best place to start...


            -Spacix All your skynet questions[^] belong to solved

            B Offline
            B Offline
            baranils
            wrote on last edited by
            #5

            This not really a tutorial !

            L 1 Reply Last reply
            0
            • B baranils

              It's a joke ? I make severall search here Nothing interesting pop-up I've tried : user control tutorial use control design

              A Offline
              A Offline
              Anthony Mushrow
              wrote on last edited by
              #6

              Are you a joke? A better search would have been for 'custom control' but searching the site for articles containing 'user control' in the beginners section gets this: http://www.codeproject.com/info/search.aspx?artkw=user+control&sbo=kw[^] Try result number 5 EDIT: Never mind, it doesn't remember the Attribute Filter options using the link. So I will sadly have to provide you with a direct link: http://www.codeproject.com/KB/miscctrl/cutebutton.aspx[^] Next time, try a little harder.

              My current favourite word is: Nipple!

              -SK Genius

              Game Programming articles start -here[^]-

              1 Reply Last reply
              0
              • B baranils

                Hello I'm looking for a good tutorial about user control I need to learn the purpose (I have an idea) and how to design it Thank you for your suggestions / Help

                N Offline
                N Offline
                nelsonpaixao
                wrote on last edited by
                #7

                tutorials i dont know (tell me if you find a good one), but i ussually use usercontrol to fill up form like pages, that way i avoid creating many forms, you may try that later on. About using usercontrols for creating buttons, i never needed so far, but there are here in codeproject article that teach you how to create a particular usercontrol like a button or a combobox or a calendar, better you download one of those! keyword: create usercontrol button calendar :wtf:

                nelsonpaixao@yahoo.com.br trying to help & get help

                B 1 Reply Last reply
                0
                • N nelsonpaixao

                  tutorials i dont know (tell me if you find a good one), but i ussually use usercontrol to fill up form like pages, that way i avoid creating many forms, you may try that later on. About using usercontrols for creating buttons, i never needed so far, but there are here in codeproject article that teach you how to create a particular usercontrol like a button or a combobox or a calendar, better you download one of those! keyword: create usercontrol button calendar :wtf:

                  nelsonpaixao@yahoo.com.br trying to help & get help

                  B Offline
                  B Offline
                  baranils
                  wrote on last edited by
                  #8

                  Thank you nelsonpaixao Yest I need a complex control to provide address searching A feew combo, textbox etc Not a simple button I will continue to investigate how to do it well

                  D 1 Reply Last reply
                  0
                  • B baranils

                    Thank you nelsonpaixao Yest I need a complex control to provide address searching A feew combo, textbox etc Not a simple button I will continue to investigate how to do it well

                    D Offline
                    D Offline
                    DaveyM69
                    wrote on last edited by
                    #9

                    You don't really need a tutorial, just have a go! 1. Create a test winforms app, right click and choose Add|User Control. 2. Handle any events from the controls just like you would in a form. 3. If you need to override any of the built in methods so it reacts externally in a different way then use the override keyword to override any of the base's virtual methods. 4. You can create your own properties, methods and events. If any conflict with the base's ones and they're not overridable, use the new keyword or rename your own to avoid the conflict. That's about it really. By deriving from UserControl (or Control or Component) MS have already done the hard work for you.

                    Dave
                    BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
                    Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

                    1 Reply Last reply
                    0
                    • B baranils

                      This not really a tutorial !

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      baranils wrote:

                      This not really a tutorial

                      If that tutorial was not good enough for you, what sort of tutorial are you looking for?

                      Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups