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. How to create a custom control

How to create a custom control

Scheduled Pinned Locked Moved C#
helptutorial
7 Posts 3 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.
  • 3 Offline
    3 Offline
    333soori
    wrote on last edited by
    #1

    hi friends......... can anybody help me how to create custom controls soori

    R E 2 Replies Last reply
    0
    • 3 333soori

      hi friends......... can anybody help me how to create custom controls soori

      R Offline
      R Offline
      rah_sin
      wrote on last edited by
      #2

      by adding user control to ur project and then u can design that user control according to ur need and can use it on other forms in ur project.

      rahul

      3 E 2 Replies Last reply
      0
      • R rah_sin

        by adding user control to ur project and then u can design that user control according to ur need and can use it on other forms in ur project.

        rahul

        3 Offline
        3 Offline
        333soori
        wrote on last edited by
        #3

        m asking, wht is the procedure i will be happy if u give some tutorials thanks in advance soori

        R 1 Reply Last reply
        0
        • R rah_sin

          by adding user control to ur project and then u can design that user control according to ur need and can use it on other forms in ur project.

          rahul

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #4

          There is a distinct difference between Custom Controls and User Controls.

          R 1 Reply Last reply
          0
          • 3 333soori

            hi friends......... can anybody help me how to create custom controls soori

            E Offline
            E Offline
            ednrgc
            wrote on last edited by
            #5

            You should do a search on Google. There are plenty of links and tutorials for Custom controls.

            1 Reply Last reply
            0
            • 3 333soori

              m asking, wht is the procedure i will be happy if u give some tutorials thanks in advance soori

              R Offline
              R Offline
              rah_sin
              wrote on last edited by
              #6

              right click on the project under the solution explorer of visual studio u get pop up menu form that select add option then under add option there is add new item option click that option u will get a add new item dialog box in which u can find template list box under that list there is user control item select user control item and click open button of add new item dialog box the user control will be added in ur project then from solution explorer of VStudio select that user control and design it as u design the windows form after designing u can see that user control on the toolbox under my user control heading select that user control and drag it on the windows form on which u want to use it.

              rahul

              1 Reply Last reply
              0
              • E ednrgc

                There is a distinct difference between Custom Controls and User Controls.

                R Offline
                R Offline
                rah_sin
                wrote on last edited by
                #7

                i think u can cutomize existing controls by designing ur self and adding the cutomized functionality to it through user control in same project with out adding additional componet to tool bar.

                rahul

                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