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. Windows Forms
  4. Changes to User Control do not get displayed in Form...

Changes to User Control do not get displayed in Form...

Scheduled Pinned Locked Moved Windows Forms
csharpvisual-studiowinformscomoop
1 Posts 1 Posters 4 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.
  • M Offline
    M Offline
    Matt Slay
    wrote on last edited by
    #1

    I have a created a WinForms User Control class (C# WinForms project in and Visual Studio 2017) that has (3) controls in it: A label, textbox, and button. Next drag-and-drop that User Control onto a WinForm, and it appears with each of the child controls. All appears good, for now.. Next I decide to make some changes in the User Control custom class, so I open it in the visual designer, move the button to a new location and change the size and change the caption of the button and save my changes. Rebuild. Next I open the Form that uses an instance of the User Control, and I do *NOT* see the updates I made to the User Control class.... The button is at the original location and original caption and original size. Surely, the creates of this platform should now that anyone would expect these changes to be applied to the instance of the control wherever it is used in the app. Please tell me I am missing something very basic here to make this work like true inheritance should... I made short a video here to demonstrate this issue: [Video: Custom User Control on WinForm](https://www.youtube.com/embed/gWONvlLSq3U?vq=hd1080)

    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