Results 1 to 3 of 3

Thread: [RESOLVED] different panels in form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    Resolved [RESOLVED] different panels in form

    Hai

    i want to display different panels depending on Authentication to user. the panel is completely different so as to draw three different panels. what is the best approach i can go for

    please send me if u have any suggestions


    Thanks and Regards
    Vinay Kumar

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: different panels in form

    You can either do exactly as you said and use multiple Panels all on the form at the same time, or else use UserControls and only have the one you need at any one time on the form. The former is easier at design time because you can manipulate all controls directly in the form. The latter is better at run time because there are fewer controls on the form at any one time so it will run more efficiently.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    Re: different panels in form

    Thanks for your ideas. i am going with user Controls for different panels.



    Thanks and Regards
    Vinay Kumar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width