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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. usercontrols

usercontrols

Scheduled Pinned Locked Moved C#
csharpdockerquestion
7 Posts 4 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.
  • K Offline
    K Offline
    kakanis
    wrote on last edited by
    #1

    How we will create usercontrol for tablelayoutpanel in c#windows application? for other controls like button,label i creatd but i am not able to create for container controls like tabcontrol,tablelayoutpanel.i want usercontrol not customcontrol

    L R D 3 Replies Last reply
    0
    • K kakanis

      How we will create usercontrol for tablelayoutpanel in c#windows application? for other controls like button,label i creatd but i am not able to create for container controls like tabcontrol,tablelayoutpanel.i want usercontrol not customcontrol

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

      Hey I am not sure I fully understand you question here but I will answer what I think you mean. All you do is drag the control (eg tab contronl) onto a windows form then place you components onto with the relevant tab selected. Hope this helps Dan

      K 1 Reply Last reply
      0
      • K kakanis

        How we will create usercontrol for tablelayoutpanel in c#windows application? for other controls like button,label i creatd but i am not able to create for container controls like tabcontrol,tablelayoutpanel.i want usercontrol not customcontrol

        R Offline
        R Offline
        rohitsrivastava
        wrote on last edited by
        #3

        hi friend user control shall be use by single appllication and custom control is used by multiplication application

        D 1 Reply Last reply
        0
        • R rohitsrivastava

          hi friend user control shall be use by single appllication and custom control is used by multiplication application

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Uh, that's nowhere near correct.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

          1 Reply Last reply
          0
          • K kakanis

            How we will create usercontrol for tablelayoutpanel in c#windows application? for other controls like button,label i creatd but i am not able to create for container controls like tabcontrol,tablelayoutpanel.i want usercontrol not customcontrol

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            Inheriting from UserControl is normally used to build "compsite controls" where you use a few controls, like you would use on a form, to build a custom control that encompasses those controls with a related purpose. For instance, creating a custom IPv4 Address Entry control using 4 seperate TextBox controls. Inheriting from Control allows you to build a completely custom control from the ground up. You supply everything from properties, to data management, to all the rendering code. There's a thrid option. Inheriting from an existing control, like a Button or TableLayoutPanel. This gives you the ability to create your own customized version of that control where you add to, hide, or replace some the functionality of that existing control.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            1 Reply Last reply
            0
            • L Lost User

              Hey I am not sure I fully understand you question here but I will answer what I think you mean. All you do is drag the control (eg tab contronl) onto a windows form then place you components onto with the relevant tab selected. Hope this helps Dan

              K Offline
              K Offline
              kakanis
              wrote on last edited by
              #6

              Thanks for ur Reply can u make usercontrol using tablelayoytpanel? and how do we make row,columns in table lay out

              L 1 Reply Last reply
              0
              • K kakanis

                Thanks for ur Reply can u make usercontrol using tablelayoytpanel? and how do we make row,columns in table lay out

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

                Hey It sounds like a typical grid control might offer what you are looking for? If not explain exactly what it is you need and I will have a look around for you. Remember Google is your friend. Dan

                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