parent
bf797dfb91
commit
0157dc01cc
@ -0,0 +1,81 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="CalculateurApp.View.MatNote"
|
||||||
|
Title="MatNote">
|
||||||
|
<Frame Margin="10,0,10,0" VerticalOptions="Center">
|
||||||
|
<Grid BackgroundColor="White" Padding="30,30,0,39"
|
||||||
|
RowSpacing="-400"
|
||||||
|
ColumnSpacing="10">
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition />
|
||||||
|
<ColumnDefinition />
|
||||||
|
<ColumnDefinition />
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Entry
|
||||||
|
BackgroundColor="AliceBlue"
|
||||||
|
HorizontalOptions="Start"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
WidthRequest="100"
|
||||||
|
Placeholder=" note"
|
||||||
|
/>
|
||||||
|
<Label
|
||||||
|
Grid.Column="1"
|
||||||
|
Text="/"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
/>
|
||||||
|
<Entry
|
||||||
|
Grid.Column="2"
|
||||||
|
Placeholder="SUR"
|
||||||
|
BackgroundColor="AliceBlue"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
/>
|
||||||
|
<Label Text=" MATIERE" Grid.Row="1" HorizontalOptions="Center" />
|
||||||
|
<Entry
|
||||||
|
WidthRequest="130"
|
||||||
|
Grid.Row="2"
|
||||||
|
HorizontalOptions="Center"
|
||||||
|
Placeholder="nom de la matiére"
|
||||||
|
BackgroundColor="AliceBlue"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
/>
|
||||||
|
<Label Text=" coef" Grid.Row="1" Grid.Column="2" HorizontalOptions="Center"/>
|
||||||
|
<Entry
|
||||||
|
WidthRequest="150"
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="2"
|
||||||
|
Placeholder="COEFFICIENT"
|
||||||
|
BackgroundColor="AliceBlue"
|
||||||
|
VerticalOptions="Start"
|
||||||
|
/>
|
||||||
|
<CollectionView Grid.ColumnSpan="2" ItemsSource="{Binding Items}" SelectionMode="None" >
|
||||||
|
<CollectionView.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</DataTemplate>
|
||||||
|
</CollectionView.ItemTemplate>
|
||||||
|
</CollectionView>
|
||||||
|
|
||||||
|
|
||||||
|
<Button Text="Annuler" HorizontalOptions="Start" VerticalOptions="Center" WidthRequest="110" Grid.Column="0" ></Button>
|
||||||
|
<Button Text="Ajouter" HorizontalOptions="Start" VerticalOptions="Center" Grid.Column="2" WidthRequest="110"></Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
</Frame>
|
||||||
|
</ContentPage>
|
@ -1,8 +1,8 @@
|
|||||||
namespace CalculateurApp.View;
|
namespace CalculateurApp.View;
|
||||||
|
|
||||||
public partial class Matiere1 : TabbedPage
|
public partial class MatNote : ContentPage
|
||||||
{
|
{
|
||||||
public Matiere1()
|
public MatNote()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
@ -1,126 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<TabbedPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="CalculateurApp.View.Matiere1"
|
|
||||||
Title="Matiere1">
|
|
||||||
<ContentPage Title="mat" IconImageSource="dotnet_bot.svg" >
|
|
||||||
<Grid>
|
|
||||||
<Grid.RowDefinitions>
|
|
||||||
<RowDefinition Height="2*" />
|
|
||||||
<RowDefinition />
|
|
||||||
<RowDefinition Height="100" />
|
|
||||||
</Grid.RowDefinitions>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition />
|
|
||||||
<ColumnDefinition />
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
<BoxView Color="Green" />
|
|
||||||
<Label Text="Row 0, Column 0"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
VerticalOptions="Center" />
|
|
||||||
<BoxView Grid.Column="1"
|
|
||||||
Color="Blue" />
|
|
||||||
<Label Grid.Column="1"
|
|
||||||
Text="Row 0, Column 1"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
VerticalOptions="Center" />
|
|
||||||
<BoxView Grid.Row="1"
|
|
||||||
Color="Teal" />
|
|
||||||
<Label Grid.Row="1"
|
|
||||||
Text="Rowwww 1, Column 0"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
VerticalOptions="Center" />
|
|
||||||
<BoxView Grid.Row="1"
|
|
||||||
Grid.Column="1"
|
|
||||||
Color="Purple" />
|
|
||||||
<Label Grid.Row="1"
|
|
||||||
Grid.Column="1"
|
|
||||||
Text="Row1, Column 1"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
VerticalOptions="Center" />
|
|
||||||
<BoxView Grid.Row="2"
|
|
||||||
Grid.ColumnSpan="2"
|
|
||||||
Color="Red" />
|
|
||||||
<Label Grid.Row="2"
|
|
||||||
Grid.ColumnSpan="2"
|
|
||||||
Text="Row 2, Columns 0 and 1"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
VerticalOptions="Center" />
|
|
||||||
</Grid>
|
|
||||||
<!--<StackLayout>
|
|
||||||
<Label Text="Nom de l'examen"/>
|
|
||||||
<Entry Placeholder="note" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="Beige"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
/>
|
|
||||||
</StackLayout>-->
|
|
||||||
<!--<Grid x:Name="rgchuii" BackgroundColor="AliceBlue" >
|
|
||||||
<VerticalStackLayout Spacing="25" VerticalOptions="Center" >
|
|
||||||
<Grid>
|
|
||||||
<Label Text="Nom de l'examen"/>
|
|
||||||
<Entry Placeholder="note" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="Beige"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
/>
|
|
||||||
</Grid>
|
|
||||||
<Grid >
|
|
||||||
|
|
||||||
<Entry Placeholder="note" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="Beige"
|
|
||||||
HorizontalOptions="Start"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
/>
|
|
||||||
<Entry FontAttributes="Bold"
|
|
||||||
Margin="10"
|
|
||||||
HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="Beige"
|
|
||||||
HorizontalOptions="Start"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
Placeholder=" note"/>
|
|
||||||
|
|
||||||
<Label FontAttributes="Bold"
|
|
||||||
Margin="100"
|
|
||||||
Grid.Column="1"
|
|
||||||
HorizontalTextAlignment="Center"
|
|
||||||
Text="/"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"/>
|
|
||||||
<Entry Placeholder="sur" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="AliceBlue"
|
|
||||||
HorizontalOptions="End"
|
|
||||||
WidthRequest="100"
|
|
||||||
VerticalOptions="Center"/>
|
|
||||||
</Grid>
|
|
||||||
<Grid>
|
|
||||||
<Label Text=" Matiere"/>
|
|
||||||
<Entry Placeholder="nom de la matiére" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="AliceBlue"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
WidthRequest="160"
|
|
||||||
VerticalOptions="Center"/>
|
|
||||||
</Grid>
|
|
||||||
<Grid>
|
|
||||||
<Label Text=" coef"/>
|
|
||||||
<Entry Placeholder="coef" HorizontalTextAlignment="Center"
|
|
||||||
BackgroundColor="AliceBlue"
|
|
||||||
HorizontalOptions="Center"
|
|
||||||
WidthRequest="160"
|
|
||||||
VerticalOptions="Center"/>
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Button Text="Annuler" HorizontalOptions="Start" VerticalOptions="Center"></Button>
|
|
||||||
<Button Text="Ajouter" HorizontalOptions="End" VerticalOptions="Center"></Button>
|
|
||||||
</Grid>
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</Grid>-->
|
|
||||||
</ContentPage>
|
|
||||||
|
|
||||||
</TabbedPage>
|
|
Binary file not shown.
@ -0,0 +1,11 @@
|
|||||||
|
namespace TestProject1
|
||||||
|
{
|
||||||
|
public class UnitTest1
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void Test1()
|
||||||
|
{
|
||||||
|
Assert.True(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
global using Xunit;
|
@ -0,0 +1,25 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
|
||||||
|
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="16.11.0" />
|
||||||
|
<PackageReference Include="xunit" Version="2.4.1" />
|
||||||
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<!--<PackageReference Include="coverlet.collector" Version="3.1.2">
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
</PackageReference>-->
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
@ -0,0 +1,11 @@
|
|||||||
|
namespace TestProject2
|
||||||
|
{
|
||||||
|
public class UnitTest1
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void Test1()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
global using Xunit;
|
@ -0,0 +1,26 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.0" />
|
||||||
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.0">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\BSN\BSN.csproj" />
|
||||||
|
<ProjectReference Include="..\CalculateurEF\CalculateurEF.csproj" />
|
||||||
|
<ProjectReference Include="..\CalculateurMapping\CalculateurMapping.csproj" />
|
||||||
|
<ProjectReference Include="..\ClassCalculateurMoyenne\ClassCalculateurMoyenne.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
Loading…
Reference in new issue