parent
a68277586f
commit
8b12a07fb8
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="MangaMap.Views.Composants.StyleBouton">
|
||||
|
||||
<ImageButton
|
||||
Style="{StaticResource ImageAnime}"
|
||||
BackgroundColor="Red"
|
||||
Source="test2.png"
|
||||
Clicked="ButtonIsPressed"/>
|
||||
|
||||
</ContentView>
|
@ -0,0 +1,14 @@
|
||||
namespace MangaMap.Views.Composants;
|
||||
|
||||
public partial class StyleBouton : ContentView
|
||||
{
|
||||
public StyleBouton()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private async void ButtonIsPressed(object sender, EventArgs e)
|
||||
{
|
||||
await Shell.Current.Navigation.PushAsync(new ficheAnime());
|
||||
}
|
||||
}
|
Loading…
Reference in new issue