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. Visual Basic
  4. write user control the same as PANEL or GROUPBOX

write user control the same as PANEL or GROUPBOX

Scheduled Pinned Locked Moved Visual Basic
csharp
3 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.
  • S Offline
    S Offline
    saeed_rezaei
    wrote on last edited by
    #1

    i want to write a user control that atc the same as panel and keep others controls at himself. is it possible in vb.net thx

    T N 2 Replies Last reply
    0
    • S saeed_rezaei

      i want to write a user control that atc the same as panel and keep others controls at himself. is it possible in vb.net thx

      T Offline
      T Offline
      TwoFaced
      wrote on last edited by
      #2

      All controls can contain other controls, but I assume you want design time support like the panel has. Do do that add this line of code just before the class declaration.

      <Designer("System.Windows.Forms.Design.ParentControlDesigner,System.Design", GetType(IDesigner))> _

      1 Reply Last reply
      0
      • S saeed_rezaei

        i want to write a user control that atc the same as panel and keep others controls at himself. is it possible in vb.net thx

        N Offline
        N Offline
        Nick Rioux
        wrote on last edited by
        #3

        You can also use inherits system.windows.controls.panel.


        Fluent in VB, Attempts to speak C#, Python, English ;)
        ---
        File Association in VB.Net

        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