Skip to content

Instantly share code, notes, and snippets.

@TBertuzzi
Created January 20, 2022 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TBertuzzi/b914d048529eb272b05e189c05ab5975 to your computer and use it in GitHub Desktop.
Save TBertuzzi/b914d048529eb272b05e189c05ab5975 to your computer and use it in GitHub Desktop.
AiForms
using AiForms.Dialogs.Abstractions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XamarinFormsAiFormsDialogs
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MinhaDialogView : DialogView
{
public MinhaDialogView()
{
InitializeComponent();
}
public override void SetUp()
{
}
public override void RunPresentationAnimation()
{
}
public override void RunDismissalAnimation()
{
}
public override void Destroy()
{
}
void btnOK_Clicked(object sender, System.EventArgs e)
{
DialogNotifier.Complete();
}
void btnCancel_Clicked(object sender, System.EventArgs e)
{
DialogNotifier.Cancel();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment