You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Syncfusion.Maui.Core.Hosting;
|
|
|
|
|
|
|
|
|
|
using Microsoft.Maui;
|
|
|
|
|
using Microsoft.Maui.Hosting;
|
|
|
|
|
using Microsoft.Maui.Controls.Compatibility;
|
|
|
|
|
using Microsoft.Maui.Controls.Hosting;
|
|
|
|
|
using Microsoft.Maui.Controls.Xaml;
|
|
|
|
|
using Syncfusion.Maui.Core.Hosting;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace IHM
|
|
|
|
|
{
|
|
|
|
|
public static class MauiProgram
|
|
|
|
|
{
|
|
|
|
|
public static MauiApp CreateMauiApp()
|
|
|
|
|
{
|
|
|
|
|
var builder = MauiApp.CreateBuilder();
|
|
|
|
|
builder
|
|
|
|
|
.UseMauiApp<App>()
|
|
|
|
|
.ConfigureSyncfusionCore()
|
|
|
|
|
|
|
|
|
|
.ConfigureFonts(fonts =>
|
|
|
|
|
{
|
|
|
|
|
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
|
|
|
|
|
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
return builder.Build();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|