private async void btnOpen_Clicked(object sender, EventArgs e) { List <ImageColorInfo> ImageColorList = await SqliteUtil.Current.QueryImageColorInfo(); if (ImageColorList == null) { return; } if (ImageColorList.Count == 0) { await DisplayAlert("", "保存データはありません。", "OK"); } else { if (inputtype == 1) { App.srcPage = new ImageDetail(currentFile, _imageID); } else if (inputtype == 2) { App.srcPage = new ImageDetail(CurrentbyteArray, _imageID, _fullFilePath); } else if (inputtype == 3) { App.srcPage = new ImageDetail(CurrentbyteArray, qList, _fullFilePath, ""); } StoreListDetail storeListDetail = new StoreListDetail("iroai画面"); // Subscribe to the event when things are updated storeListDetail.OperationCompeleted += StoreListDetail_OperationCompleted; await Navigation.PushModalAsync(storeListDetail); } }
private async void btnStore_Click(object sender, EventArgs e) { List <ImageColorInfo> ImageColorList = await SqliteUtil.Current.QueryImageColorInfo(); if (ImageColorList == null) { return; } if (ImageColorList.Count == 0) { await DisplayAlert("", "保存データはありません。", "確定"); } else { StoreListDetail storeListDetail = new StoreListDetail("TOP画面"); // Subscribe to the event when things are updated storeListDetail.OperationCompeleted += StoreListDetail_OperationCompleted; await Navigation.PushModalAsync(storeListDetail); } }