コード例 #1
0
        private async void ApplySetting()
        {
            GIEnv.GItemType          type    = (GIEnv.GItemType)GatheringItemTypePicker.SelectedIndex;
            string                   note    = GatheringItemNoteEntry.Text;
            GatheringItemNotiManager manager = notiManager as GatheringItemNotiManager;

            if (editType == NotiManager.EditType.Add)
            {
                Noti = new GatheringItemNoti(type);
            }
            else if (editType == NotiManager.EditType.Edit)
            {
                Noti.EditItemType(type);
            }

            Noti.ItemNote = note;

            manager.EditList(Noti, editType);

            await Navigation.PopAsync();
        }
コード例 #2
0
 public GatheringItemTimerPage() : base()
 {
     Title       = AppResources.GatheringItemMain_Title;
     NotiManager = new GatheringItemNotiManager();
     Notis       = NotiManager.Notis;
 }