日期:2014-05-17  浏览次数:20855 次

C# 怎么做出Visual Studio的效果?
RT,

想做出这种效果,我觉得这个应该是LIST控件。但是我想抓取里面的图标自己用,不知道Visual Studio把这些图标放在什么地方的?是DLL吗?还是就直接是图标的形式?是DLL的话,怎么调用呢?

------解决方案--------------------
用WPF做吧,一个ListBox,把ListBoxItem的Template修改一下
<ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <Grid Width="150" Height="110">
                                                <StackPanel Orientation="Vertical" VerticalAlignment="Stretch">
                                                    <TextBlock TextAlignment="Center"  MouseLeftButtonDown="listBox_MouseLeftButtonDown" Text="{Binding Title}"/>
                                                    <Image Height="88"  MouseLeftButtonDown="listBox_MouseLeftButtonDown" Source="{Binding Thumbnail}" Stretch="Fill"/>
                                                </StackPanel>
                                            </Grid>
                                        </DataTemplate>
   &