• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

Two Panel gui design in C# 500 Points Urgent Need

Hi I am a newbie :)  I am developing in Visual Studio 2005 in C# on a windows XP SP2 PC.  I am struggling with creating a GUI for my program.  In a single panel I have written a treeview that has a list of customers.    I want to set this treeview's on select event to call for a box to be displayed on the right of the treeview's panel.    I would prefer to be able to design the box with buttons and checkboxes using the graphical desgin tool and avoid scripting what it would display and each customer would need a unique right hand window.  I do not know how to store these prebuilt boxes and I the best way is to put them in seperate files and call them as winforms.  I really am not sure.  What should I do?  I'm sure I'm making this really hard for basicly trying to reinvent windows explorer.

0
mikemcclelland
Asked:
mikemcclelland
  • 5
  • 3
  • 3
2 Solutions
 
Bob LearnedCommented:
>>I do not know how to store these prebuilt boxes and I the best way is to put them in seperate files and call them as winforms.

Are you looking to persist the settings between app executions?  If so, you can use the Settings to persist any user or application settings.

Bob
0
 
PHDCommented:
Hello,

English is not my first language ...
You are trying to dipslay customers informations inside a panel when a customer is selected in a treeview wich is placed on another panel ?

0
 
mikemcclellandAuthor Commented:
You are trying to display customers information inside a panel when a customer is selected in a treeview which is placed on another panel ?

Exactly,  
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mikemcclellandAuthor Commented:
Persisting the settings won't be a concern because they will be reported from a script.
0
 
Bob LearnedCommented:
I am trying to understand your requirement, and what you need from us.

Bob
0
 
mikemcclellandAuthor Commented:
I'll rephrase then.  

I need a box ( a winform, list, or whatever) to appear next to my treeview list when I click on a node on the list.  I understand what event handler allows me to do this but I don't know what to do to get clicking on a node to call this item.  
0
 
Bob LearnedCommented:
Ok, so if you are looking to create a form that looks and works like Windows Explorer, then you need a TreeView, a ListView.  The ListView can display in 4 different modes:  Small Icon, Large Icon, Details, and List.  You can specify an ImageList that contains images, that you can specify for each ListView item to show drives, files, folders, etc.

Bob
0
 
mikemcclellandAuthor Commented:
Will I be able to design this listview?  Can I put it in a seperate file and build it using the design view and dragging the buttons and checkboxes I need into it?
0
 
mikemcclellandAuthor Commented:
Thanks for dealing with my bad vocabulary.  I only started using .net last week so I'm fuzzy on the terminology.  
0
 
PHDCommented:
Hello,

Here is an example to make a mini explorer:
http://www.csharpfr.com/code.aspx?ID=11405

0
 
PHDCommented:
here another one : http://www.vbfrance.com/codes/EXPLORATEUR-FICHIERS_35800.aspx

Hope this is what you need ...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 5
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now