User Controls for changing form content?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • DrPete

    User Controls for changing form content?

    Hi,

    I'm trying to replicate how other applications work when it appears
    there is one form, and the contents changes when the user clicks a Next
    button. For example, adding a mail account in Outlook.

    How is this achieved? Is it through User Controls? i.e. each "page" is
    a user control and you show and hide each user control as the user
    progresses through each step?

    Thanks for your time
    Peter

  • Miha Markic [MVP C#]

    #2
    Re: User Controls for changing form content?

    Hi,

    "DrPete" <p.s.marsh@gmai l.comwrote in message
    news:1161943368 .889634.163220@ i42g2000cwa.goo glegroups.com.. .
    Hi,
    >
    I'm trying to replicate how other applications work when it appears
    there is one form, and the contents changes when the user clicks a Next
    button. For example, adding a mail account in Outlook.
    >
    How is this achieved? Is it through User Controls? i.e. each "page" is
    a user control and you show and hide each user control as the user
    progresses through each step?
    I would do it this way.

    --
    Miha Markic [MVP C#, INETA Country Leader for Slovenia]
    RightHand .NET consulting & development www.rthand.com
    Blog: http://cs.rthand.com/blogs/blog_with_righthand/


    Comment

    • DrPete

      #3
      Re: User Controls for changing form content?

      Thanks Miha

      Peter

      Miha Markic [MVP C#] wrote:
      Hi,
      >
      "DrPete" <p.s.marsh@gmai l.comwrote in message
      news:1161943368 .889634.163220@ i42g2000cwa.goo glegroups.com.. .
      Hi,

      I'm trying to replicate how other applications work when it appears
      there is one form, and the contents changes when the user clicks a Next
      button. For example, adding a mail account in Outlook.

      How is this achieved? Is it through User Controls? i.e. each "page" is
      a user control and you show and hide each user control as the user
      progresses through each step?
      >
      I would do it this way.
      >
      --
      Miha Markic [MVP C#, INETA Country Leader for Slovenia]
      RightHand .NET consulting & development www.rthand.com
      Blog: http://cs.rthand.com/blogs/blog_with_righthand/

      Comment

      • chanmm

        #4
        Re: User Controls for changing form content?

        For me I will use multiple forms and create one class to keep the values on
        those forms. The good thing about Windows app is there are not stateless.

        chanmm

        "DrPete" <p.s.marsh@gmai l.comwrote in message
        news:1161943368 .889634.163220@ i42g2000cwa.goo glegroups.com.. .
        Hi,
        >
        I'm trying to replicate how other applications work when it appears
        there is one form, and the contents changes when the user clicks a Next
        button. For example, adding a mail account in Outlook.
        >
        How is this achieved? Is it through User Controls? i.e. each "page" is
        a user control and you show and hide each user control as the user
        progresses through each step?
        >
        Thanks for your time
        Peter
        >

        Comment

        Working...