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. Options dialog

Options dialog

Scheduled Pinned Locked Moved C#
csharpdata-structures
3 Posts 3 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.
  • S Offline
    S Offline
    SaeidehV
    wrote on last edited by
    #1

    Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh

    U H 2 Replies Last reply
    0
    • S SaeidehV

      Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh

      U Offline
      U Offline
      User 260964
      wrote on last edited by
      #2

      I would create a form, then put a TreeView on it. Set it's Dock property to Left. Then create multiple Panel objects with different names (or create them in your form code in an array). Then, when a specific TreeNode is selected (check in the Click event), you show a specific Panel, and hide the others. You may want to set the Panel's Dock property to Full. - Daniël Pelsmaeker

      1 Reply Last reply
      0
      • S SaeidehV

        Hello, I want to create an option dialog like Microsoft visual C# .Net option dialog which consists of a tree in left panel and a by clicking on its node left panel changes. Is there any template or sample code that I can use it. Thanks & Regards Saeideh

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        You should also try searching CP for option dialogs. There are several examples that work the way you want.

        -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

        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