mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.5 KiB
40 lines
1.5 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<Window |
|
x:Class="ICSharpCode.ILSpy.NugetPackageBrowserDialog" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:controls="clr-namespace:ICSharpCode.ILSpy.Controls" |
|
xmlns:properties="clr-namespace:ICSharpCode.ILSpy.Properties" |
|
xmlns:treeview="http://icsharpcode.net/sharpdevelop/treeview" |
|
Title="{x:Static properties:Resources.NugetPackageBrowser}" |
|
Style="{DynamicResource DialogWindow}" |
|
WindowStartupLocation="CenterOwner" |
|
ResizeMode="CanResizeWithGrip" |
|
MinWidth="200" |
|
MinHeight="150" |
|
Height="350" |
|
Width="750"> |
|
<Grid |
|
Margin="12,8"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition |
|
Height="Auto" /> |
|
<RowDefinition |
|
Height="1*" /> |
|
<RowDefinition |
|
Height="Auto" /> |
|
</Grid.RowDefinitions> |
|
<TextBlock Text="{x:Static properties:Resources.SelectAssembliesOpen}" Margin="5" /> |
|
<ListBox ItemsSource="{Binding Package.Entries}" Grid.Row="1"> |
|
<ListBox.ItemTemplate> |
|
<DataTemplate> |
|
<CheckBox Content="{Binding Name}" IsChecked="{Binding IsSelected}" /> |
|
</DataTemplate> |
|
</ListBox.ItemTemplate> |
|
</ListBox> |
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right"> |
|
<Button IsDefault="True" Margin="2,0" IsEnabled="{Binding HasSelection}" Name="okButton" Click="OKButton_Click" Content="{x:Static properties:Resources.Open}"/> |
|
<Button IsCancel="True" Margin="2,0" Content="{x:Static properties:Resources.Cancel}"/> |
|
</StackPanel> |
|
</Grid> |
|
</Window> |