12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xamarin.Forms;
- using Xamarin.Forms.Xaml;
- using XF.Material.Forms.UI.Dialogs;
- namespace comal.timesheets
- {
- [XamlCompilation(XamlCompilationOptions.Compile)]
- public partial class EquipmentModule : ContentPage
- {
- public EquipmentModule ()
- {
- InitializeComponent ();
- NavigationPage.SetHasBackButton(this, false);
- }
- private void BackBtn_Clicked(object sender, EventArgs e)
- {
- Navigation.PopAsync();
- }
- private async void EquipmentList_Tapped(object sender, EventArgs e)
- {
- //using (await MaterialDialog.Instance.LoadingDialogAsync(message: "Loading"))
- //{
- // var equipment = new EquipmentList();
- // Navigation.PushAsync(equipment);
- //}
- var page = new DataGridHost(new EquipmentGrid());
- Navigation.PushAsync(page);
- }
- private async void LiveMaps_Tapped(object sender, EventArgs e)
- {
- using (await MaterialDialog.Instance.LoadingDialogAsync(message: "Loading"))
- {
- var maps = new LiveMapsTwo();
- Navigation.PushAsync(maps);
- }
- }
- }
- }
|