Skip to content

Adding Controls at Runtime #598

Description

@itg-assistant

Chris Abate asked 2017-02-02 21:52:30 UTC

Hi all,

So still working on my little IRC chat application on and off, and I found that if I create controls at runtime via a user action like a button press or on a form load, that works just fine, but if they are created when an IRC message comes in (like a new channel label for an incoming query), the controls do not show up on the form.  This also seems to be a problem with the DataGridView, since it won't display rows added this way either, and doing so will stop even the user-driven changes from being displayed in the grid/on the form afterwards.  I do have an Application.Update in there, but it does not seem to make a difference.

Any way for me to fix that?

Thanks,

Chris

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions