一、Notification通知(方法1)
這種方法适合應用在彈出視窗,然後在通知中放置Content,然後在 public INotification Notification将該Content拿出來儲存。
比如下面,我要将Content儲存集合pipList中。
1、先放置資料集合SelectedMorePersons:
SenduNotification senduNotification = new SenduNotification();
senduNotification.Title = "編輯";
senduNotification.Content = SelectedMorePersons;
//彈出視窗
SenduNotificationRequest.Raise(senduNotification, returned =>
{
if (returned != null && returned.Confirmed)
{
//更新資料庫
//operateDataSheet.EditFunc(returned);
//重新整理清單,重新顯示
//PatientInfoList = operateDataSheet.GetPatientInfoFunc();
}