first step

This commit is contained in:
gaoyuan
2022-03-02 22:29:13 +08:00
parent 51f8e4f2e8
commit 9929eee056
17 changed files with 343 additions and 60 deletions

View File

@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Linq;
using Billing.Languages;
using Billing.Models;
using Xamarin.Forms;
@ -77,6 +79,11 @@ namespace Billing.UI
Grid.SetRowSpan(view, rowSpan);
return view;
}
public static async Task ShowMessage(this Page page, string message, string title = null)
{
await page.DisplayAlert(title ?? page.Title, message, Resource.Ok);
}
}
public static class ModelExtensionHelper