Lagt till en initialbild
This commit is contained in:
@ -4,9 +4,124 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:ImageHandlingUI.Views" FontSize="12"
|
||||
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
|
||||
Title="ShellView" Height="450" Width="800">
|
||||
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
|
||||
Title="ShellView" Height="650" Width="800" Background="Beige">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="20" />
|
||||
<!--Border-->
|
||||
<ColumnDefinition Width="auto" />
|
||||
<!--Depending on control?-->
|
||||
<ColumnDefinition Width="auto" MinWidth="102" />
|
||||
<!--Depending on control?-->
|
||||
<ColumnDefinition Width="auto" MinWidth="248" />
|
||||
<!--Depending on control?-->
|
||||
<ColumnDefinition Width="auto" />
|
||||
<!--Depending on control?-->
|
||||
<ColumnDefinition />
|
||||
<!--Resten-->
|
||||
<ColumnDefinition Width="20" />
|
||||
<!--Border-->
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="20" />
|
||||
<RowDefinition Height="35" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="35" />
|
||||
<RowDefinition Height="35" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="35" />
|
||||
<RowDefinition Height="auto" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="20" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!--Row 1-->
|
||||
<TextBlock Grid.Row="1" Grid.Column="3"
|
||||
HorizontalAlignment="Center" FontSize="18" Margin="119,0,1,0" Width="128">
|
||||
Picture handling
|
||||
</TextBlock>
|
||||
|
||||
<!--Row 2-->
|
||||
<TextBlock Grid.Row="2" Grid.Column="1"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Bottom" Height="16" Width="42" Margin="3 3 3 3">
|
||||
Filnamn
|
||||
</TextBlock>
|
||||
<TextBox x:Name="InitialFileName"
|
||||
Grid.Row="2" Grid.Column="2"
|
||||
Grid.ColumnSpan="4"
|
||||
Margin="3 3 3 3"/>
|
||||
|
||||
<!--Row 3-->
|
||||
<TextBlock Grid.Row="3" Grid.Column="1"
|
||||
HorizontalAlignment="Left" Width="23" Margin="3 3 3 3">
|
||||
Path
|
||||
</TextBlock>
|
||||
<TextBox x:Name="InitialFilePath" Grid.Row="3"
|
||||
Grid.Column="2" Grid.ColumnSpan="2"
|
||||
MinWidth="350" Margin="3,3"/>
|
||||
<TextBlock Grid.Row="3" Grid.Column="4" HorizontalAlignment="Left" Width="39" Margin="3 3 3 3">
|
||||
Skapad
|
||||
</TextBlock>
|
||||
<TextBox x:Name="CreatedDate" Grid.Row="3"
|
||||
Grid.Column="5"
|
||||
Margin="3 3 3 3"/>
|
||||
|
||||
<!--Row 4-->
|
||||
<TextBlock Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left" Width="56" Margin="3 3 3 3">
|
||||
GrundPath
|
||||
</TextBlock>
|
||||
<TextBox x:Name="GroundPath" Grid.Row="4"
|
||||
Grid.Column="2" Grid.ColumnSpan="2"
|
||||
Margin="3,3,3,3" Height="16" VerticalAlignment="Top"/>
|
||||
<TextBlock Grid.Row="4" Grid.Column="4" HorizontalAlignment="Left" Width="44" Margin="3 3 3 3">
|
||||
Slutpath
|
||||
</TextBlock>
|
||||
<TextBox x:Name="FinishPath"
|
||||
Grid.Row="4" Grid.Column="5" Margin="3,3,3,3" Height="16" VerticalAlignment="Top"/>
|
||||
|
||||
<!--Row 5-->
|
||||
<Button x:Name="ChooseFile" Margin="3 3 3 3"
|
||||
Grid.Row="5" Grid.Column="1"
|
||||
FontSize="14" Grid.ColumnSpan="2" >
|
||||
Välj Fil
|
||||
</Button>
|
||||
|
||||
<Image x:Name="SelectedImage" Margin="3 3 3 3"
|
||||
Grid.Row="5" Grid.RowSpan="5"
|
||||
Grid.Column="3" Grid.ColumnSpan="3"
|
||||
VerticalAlignment="Top"
|
||||
Source="{Binding Path=SelectedImage}" >
|
||||
|
||||
</Image>
|
||||
<!--Source="D:\CsharpDevelop\PictureHandlingProject\pictures\AgueroVillage.JPG" >-->
|
||||
|
||||
<!--Row 6-->
|
||||
<ListBox x:Name="PictureList"
|
||||
Grid.Row="6" Grid.Column="1"
|
||||
Grid.ColumnSpan="2" Margin="3,3,0,3"
|
||||
MinHeight="300" MinWidth="150"
|
||||
HorizontalAlignment="Left" Width="150">
|
||||
|
||||
</ListBox>
|
||||
|
||||
<!--Row 7-->
|
||||
<Button x:Name="ReorganizeFiles" Margin="3 3 3 3"
|
||||
Grid.Row="7" Grid.Column="1"
|
||||
FontSize="14" Grid.ColumnSpan="2" >
|
||||
Reorganisera Filer
|
||||
</Button>
|
||||
|
||||
<!--Row 8-->
|
||||
|
||||
<TextBlock Grid.Row="8" Grid.Column="1" HorizontalAlignment="Left" Margin="3 3 3 3">
|
||||
Ny Rotkatalog
|
||||
</TextBlock>
|
||||
|
||||
<TextBox x:Name="RootCatalog"
|
||||
Grid.Row="9" Grid.Column="1" Grid.ColumnSpan="2" Margin="3,3,3,3" Height="18" VerticalAlignment="Top"/>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user