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. WinForms - UserControl problem

WinForms - UserControl problem

Scheduled Pinned Locked Moved C#
winformscsharpvisual-studiodesignhelp
2 Posts 2 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.
  • A Offline
    A Offline
    Andrei Ungureanu
    wrote on last edited by
    #1

    Hey, I have a small problem. I created a UserControl within a Windows Forms Project, added all the controls needed, code behind...everything. It was working OK. When I reopened the project I was surprised to see that on my usercontrol...in design mode there are no controls on it. In the Properties toolbox, the list of controls that "are" on the control are there...all their properties are the right ones. I tried looking in the designer file...the InitializeComponent method is OK. So everything is there where is supposed to be...except my controls on the form :doh:. I want to ask, if anyone had come across this problem...because it happened to me several times on different computers. By the way...I'm using VS 2005. Thanks.

    There are 10 kinds of people: those who understand binary and those who don't

    Mike HankeyM 1 Reply Last reply
    0
    • A Andrei Ungureanu

      Hey, I have a small problem. I created a UserControl within a Windows Forms Project, added all the controls needed, code behind...everything. It was working OK. When I reopened the project I was surprised to see that on my usercontrol...in design mode there are no controls on it. In the Properties toolbox, the list of controls that "are" on the control are there...all their properties are the right ones. I tried looking in the designer file...the InitializeComponent method is OK. So everything is there where is supposed to be...except my controls on the form :doh:. I want to ask, if anyone had come across this problem...because it happened to me several times on different computers. By the way...I'm using VS 2005. Thanks.

      There are 10 kinds of people: those who understand binary and those who don't

      Mike HankeyM Offline
      Mike HankeyM Offline
      Mike Hankey
      wrote on last edited by
      #2

      I've had the same problem and found by closing and reopening it solves the problem. As far as what causes it I ain't gotta clue! Good Luck Mike

      Life is not measured by the number of breaths we take, but by the moments that take our breath away. "George Carlin"

      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