using System; using System.Collections.Generic; using InABox.Mobile; using Xamarin.Forms; namespace PRS.Mobile { public delegate void TextChangedEvent(object sender, String text); public partial class NotesPage { public TextChangedEvent TextChanged; public NotesPage(String title, String text) { InitializeComponent(); Title = title; Notes.Text = text; } private void UpdateText() { } private void MobileMenuButton_OnClicked(object sender, MobileMenuButtonClickedEventArgs args) { TextChanged?.Invoke(this, Notes.Text); Navigation.PopAsync(); } } }