-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
278 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -831,3 +831,4 @@ task<void> DirectXPage::UpdateDBEntry() | |
|
||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<UserControl | ||
x:Class="VBA10.SelectFilesPane" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:VBA10" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
d:DesignHeight="500" | ||
d:DesignWidth="320"> | ||
|
||
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" | ||
BorderThickness="2,0,2,2" BorderBrush="{ThemeResource ListBoxBorderThemeBrush}"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="*" /> | ||
<RowDefinition Height="Auto" /> | ||
</Grid.RowDefinitions> | ||
|
||
<Grid.Resources> | ||
<CollectionViewSource x:Name="FileListvs"/> | ||
</Grid.Resources> | ||
|
||
|
||
<StackPanel Background="{ThemeResource ListBoxBorderThemeBrush}" | ||
VerticalAlignment="Stretch"> | ||
<TextBlock Text="Assigned at run time" | ||
x:Name="txtTitle" | ||
Style="{ThemeResource TitleTextBlockStyle}" | ||
Margin="10,4,0,4" | ||
/> | ||
</StackPanel> | ||
|
||
<TextBlock x:Name="txtNoFile" Grid.Row="1" | ||
Text="No supported file found!" | ||
Foreground="Red" | ||
Margin="10,8,0,8"/> | ||
|
||
<ListBox Name="fileList" | ||
Background="Transparent" | ||
ItemsSource="{Binding Source={StaticResource FileListvs}}" | ||
Grid.Row="1" | ||
SelectionMode="Multiple" | ||
> | ||
<ListBox.ItemContainerStyle> | ||
<Style TargetType="ListBoxItem"> | ||
<Setter Property="Padding" Value="10"/> | ||
</Style> | ||
</ListBox.ItemContainerStyle> | ||
|
||
<ListBox.ItemTemplate> | ||
<DataTemplate> | ||
<Grid> | ||
<TextBlock Text="{Binding}" | ||
FontSize="18"/> | ||
</Grid> | ||
</DataTemplate> | ||
</ListBox.ItemTemplate> | ||
</ListBox> | ||
|
||
|
||
<Button Content="OK" Grid.Row="2" | ||
Width="120" | ||
HorizontalAlignment="Center" | ||
Margin="0,4,0,4" | ||
x:Name="OkBtn" | ||
Click="OkBtn_Click" | ||
/> | ||
|
||
</Grid> | ||
</UserControl> |
Oops, something went wrong.