Permalink
Browse files

better view in xassaides list

  • Loading branch information...
1 parent aeaf427 commit 0245bf499e70223a3315a7b0f294cf75325bf1a2 @PapePathe PapePathe committed Apr 18, 2012
@@ -47,7 +47,7 @@ private void Application_Startup(object sender, StartupEventArgs e)
//splashScreen.Show(false);
//splashScreen.Close(TimeSpan.FromSeconds(4));
//System.Threading.Thread.Sleep(3000);
- XassidaWindow mainWindow = new XassidaWindow();
+ XassaidesWindow mainWindow = new XassaidesWindow();
mainWindow.Show();
}
@@ -0,0 +1,31 @@
+Microsoft Public License (Ms-PL)
+
+This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
+
+1. Definitions
+
+The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
+
+A "contribution" is the original software, or any additions or changes to the software.
+
+A "contributor" is any person that distributes its contribution under this license.
+
+"Licensed patents" are a contributor's patent claims that read directly on its contribution.
+
+2. Grant of Rights
+
+(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
+
+(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
+
+3. Conditions and Limitations
+
+(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
+
+(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
+
+(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
+
+(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
+
+(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
@@ -17,7 +17,7 @@
</Window.Resources>
- <Grid>
+ <Grid Margin="50" >
<Grid.RowDefinitions>
<RowDefinition/>
@@ -26,27 +26,32 @@
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
+ <ColumnDefinition />
</Grid.ColumnDefinitions>
-
+
<ListBox ItemsSource="{Binding}" ItemTemplate="{StaticResource PartialXassidaTemplate}" HorizontalContentAlignment="Stretch"
IsSynchronizedWithCurrentItem="True" Grid.Row="0" Grid.Column="0" SelectionChanged="ListBox_SelectionChanged"
- x:Name="XassaidesListBox" Padding="5" />
-
- <StackPanel Grid.Row="0" Grid.Column="1" FlowDirection="RightToLeft" Orientation="Vertical" Margin="5">
+ x:Name="XassaidesListBox" Padding="5, 5, 5, 10" BorderThickness="0, 0, 1, 0" />
+
+ <StackPanel Grid.Row="0" Grid.Column="1" FlowDirection="RightToLeft" Orientation="Vertical" Margin="5" >
<TextBlock x:Name="SelectedXassidaTitle" Margin="0, 0, 10, 10"/>
<TextBlock x:Name="SelectedXassidaTardioumane" />
<Separator />
-
+
<WrapPanel Orientation="Horizontal">
<Button Content="télécharger" Visibility="Visible" Click="Dowload_Xassida_Button_Click" x:Name="DonwloadXassidaButton" Padding="5" Margin="5" />
<Button Content="lecture" Visibility="Visible" x:Name="ReadXassidaButton" Padding="5" Margin="5" Click="ReadXassidaButton_Click" />
</WrapPanel>
</StackPanel>
+ <ListBox Grid.Row="0" Grid.Column="2">
+ <Button x:Name="browseOnlineLibrary" Click="browseOnlineLibrary_Click" Content="librairie en ligne" />
+ </ListBox>
+
</Grid>
@@ -130,5 +130,10 @@ private void ReadXassidaButton_Click(object sender, RoutedEventArgs e)
}
+ private void browseOnlineLibrary_Click(object sender, RoutedEventArgs e)
+ {
+
+ }
+
}
}
@@ -254,10 +254,10 @@
<Resource Include="Assets\Xassida.png" />
</ItemGroup>
<ItemGroup>
- <Resource Include="Licenses\WpfBookControl.txt" />
+ <Folder Include="Images\" />
</ItemGroup>
<ItemGroup>
- <Folder Include="Images\" />
+ <Resource Include="Licenses\License.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 comments on commit 0245bf4

Please sign in to comment.