1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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);
- }
- }
- private async void LiveMaps_Tapped(object sender, EventArgs e)
- {
- using (await MaterialDialog.Instance.LoadingDialogAsync(message: "Loading"))
- {
- var maps = new LiveMapsTwo();
- Navigation.PushAsync(maps);
- }
- }
- }
- }
|