PC Review


Reply
Thread Tools Rate Thread

Dialogs like VS 2005 Add Item and Project

 
 
Jenbo
Guest
Posts: n/a
 
      17th Jan 2007
Hi, looking for a few pointers about dialogs forms. I would like to
have add new functionality in an app I am writing, so the user could
add a number of different items, reports, questions etc, is there an
easy way to create dialogs like the VS IDE Add Item and Add Project
dialogs, or is this done through some sort of user control,
specifically I would like to replicate the behaviour where the image of
the item goes blue when the user clicks on it like VS IDE? I am a web
developer trying to get to grips with windows forms stuff so any
suggestions would be great.

Cheers

EJ

 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Jan 2007
"Jenbo" <(E-Mail Removed)> schrieb:
> Hi, looking for a few pointers about dialogs forms. I would like to
> have add new functionality in an app I am writing, so the user could
> add a number of different items, reports, questions etc, is there an
> easy way to create dialogs like the VS IDE Add Item and Add Project
> dialogs, or is this done through some sort of user control,
> specifically I would like to replicate the behaviour where the image of
> the item goes blue when the user clicks on it like VS IDE?


Check out the ListView control. That's the control used by the VS IDE.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
 
Reply With Quote
 
Jenbo
Guest
Posts: n/a
 
      17th Jan 2007
Thanks for that Herfried, having only just looked at this, could you
let me know if this will do the click action I described if you know
off hand?

Thanks
Eamonn
Herfried K. Wagner [MVP] wrote:
> "Jenbo" <(E-Mail Removed)> schrieb:
> > Hi, looking for a few pointers about dialogs forms. I would like to
> > have add new functionality in an app I am writing, so the user could
> > add a number of different items, reports, questions etc, is there an
> > easy way to create dialogs like the VS IDE Add Item and Add Project
> > dialogs, or is this done through some sort of user control,
> > specifically I would like to replicate the behaviour where the image of
> > the item goes blue when the user clicks on it like VS IDE?

>
> Check out the ListView control. That's the control used by the VS IDE.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Jan 2007
"Jenbo" <(E-Mail Removed)> schrieb:
> Thanks for that Herfried, having only just looked at this, could you
> let me know if this will do the click action I described if you know
> off hand?


Yes, that's the action which is typical for listview controls (in Windows
Explorer, VS, ...). Check out the listview control's 'View' property too.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TFS 2005: Custom fields in Work Item Type not shared amongst otherWork Item Types? wimdows@gmail.com Microsoft C# .NET 0 8th Feb 2008 01:23 PM
Reconstructing Class Project - Solution and Project files gone?VS.NET 2005 wildman@noclient.net Microsoft Dot NET 0 2nd Feb 2008 12:14 PM
Converting VS 2005 Web Site Project to VS 2005 Web Application Project ITistic Microsoft ASP .NET 2 21st Aug 2007 09:56 PM
sql server 2005 tools configuration starts when I build a distribution project (VB 2005) Alessandro Microsoft VB .NET 8 16th Oct 2006 10:37 PM
VS.2005 standard + SQL Server 2005 = database project missing =?Utf-8?B?aGVyYmVydA==?= Microsoft Dot NET 2 17th May 2005 11:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:01 AM.