parent
13dc03d746
commit
10008b236b
@ -1,9 +1,26 @@
|
|||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace Trek_12.Views;
|
namespace Trek_12.Views;
|
||||||
|
|
||||||
public partial class pageRegles : ContentPage
|
public partial class pageRegles : ContentPage , INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
public pageRegles()
|
public pageRegles()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
private async void BrowserOpen_Clicked(System.Object sender, System.EventArgs e)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Uri uri = new Uri("https://www.philibertnet.com/fr/lumberjacks-studio/89702-trek-12-3760268310293.html");
|
||||||
|
await Browser.Default.OpenAsync(uri, BrowserLaunchMode.SystemPreferred);
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
// An unexpected error occurred. No browser may be installed on the device.
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in new issue