コード例 #1
0
        protected async void ButtonOK_Clicked(object sender, EventArgs e)
        {
            // Update the note text
            _vm.UpdateNotes(_editorNotes.Text);

            await Navigation.PopAsync();
        }
コード例 #2
0
        private void ButtonOK_Clicked(object sender, RoutedEventArgs e)
        {
            // Update the note text
            // dch rkl 10/31/2016 insert delimiter back into text
            //_vm.UpdateNotes(_editorNotes.Text);
            _vm.UpdateNotes(_editorNotes.Text.Replace("\r\n", "~;~"));

            ContentControl contentArea = (ContentControl)this.Parent;

            contentArea.Content = new TicketDetailsPage(appScheduledAppt);
        }