Exemplo n.º 1
0
        /// <summary>
        /// Delete selected notebook log
        /// </summary>
        /// <param name="sender"></param>
        public void DeleteNotebookLog(object sender)
        {
            var notebookLog = (NotebookLog)sender;

            var dialog = new DeleteDialog();

            dialog.Closing += (send, args) =>
            {
                if (dialog.DataContext is DeleteDialogViewModel vm && vm.Result)
                {
                    using var db = new AppDbContext();

                    db.NotebookLogs.Remove(notebookLog);
                    db.SaveChanges();

                    for (int i = 0; i < NotebookItems.Count; i++)
                    {
                        if (NotebookItems[i].NotebookLogItems.Any(x => x.NotebookLog == notebookLog))
                        {
                            NotebookItems[i].NotebookLogItems.Remove(NotebookItems[i].NotebookLogItems.First(x => x.NotebookLog == notebookLog));
                            return;
                        }
                    }
                }
            };

            dialog.ShowDialogWindow(new DeleteDialogViewModel(dialog, "Delete Notebook Log", notebookLog.Title));
        }
Exemplo n.º 2
0
        private void DataBoard_DeleteEntity(object sender, EventArgs e)
        {
            switch (((EntityArgs)e).Entity)
            {
            case StudentView studentView:
            {
                var studentToDelete = EFGenericRepository.Find <Student>(studentView.Id);

                EFGenericRepository.Delete(studentToDelete);
                break;
            }

            case GroupView groupView:
            {
                var deleteDialog = new DeleteDialog();
                if (deleteDialog.ShowDialog() == DialogResult.OK)
                {
                    var retiringGroup = EFGenericRepository.Find <Group>(groupView.Id);
                    if (deleteDialog.IsDeleteMembers)
                    {
                        EFGenericRepository.DeleteRange(retiringGroup.Students);
                    }

                    EFGenericRepository.Delete(retiringGroup);
                }

                break;
            }
            }
        }
        public void DeleteTvChannel(object sender)
        {
            var channel = (Models.Channel.Entities.Channel)((Button)sender).DataContext;

            var dialog = new DeleteDialog();

            dialog.Closing += (send, args) =>
            {
                if (dialog.DataContext is DeleteDialogViewModel vm && vm.Result)
                {
                    using var db = new AppDbContext();

                    if (channel.Logo != null)
                    {
                        var fileName = channel.Logo.UriSource.OriginalString;
                        File.Delete(fileName);
                    }

                    db.Channels.Remove(channel);
                    db.SaveChanges();

                    TvChannels.Remove(channel);

                    if (FavoriteTvChannels.Any(x => x.Id == channel.Id))
                    {
                        FavoriteTvChannels.Remove(channel);
                    }

                    Pagination.TotalItems -= 1;
                    Pagination.PageSize   -= 1;
                }
            };

            dialog.ShowDialogWindow(new DeleteDialogViewModel(dialog, "Kanalı Sil", channel.Name));
        }
Exemplo n.º 4
0
        /// <summary>
        /// Delete notebook dialog
        /// </summary>
        public void DeleteNotebook(object sender)
        {
            var notebook = (Models.Notebook.Notebook)sender;

            var dialog = new DeleteDialog();

            dialog.Closing += (send, args) =>
            {
                if (dialog.DataContext is DeleteDialogViewModel vm && vm.Result)
                {
                    using var db = new AppDbContext();

                    db.Notebooks.Remove(notebook);
                    db.SaveChanges();

                    if (NotebookItems.Any(x => x.Notebook == notebook))
                    {
                        NotebookItems.Remove(NotebookItems.First(x => x.Notebook == notebook));
                        return;
                    }
                }
            };

            dialog.ShowDialogWindow(new DeleteDialogViewModel(dialog, "Delete Notebook", notebook.Title));
        }
        /// <summary>
        /// Delete selected workout plan and items
        /// </summary>
        /// <param name="sender">Sender button</param>
        public void WorkoutPlanDelete(object sender)
        {
            if (sender == null || !(sender is Button button))
            {
                return;
            }
            if (!(button.DataContext is WorkoutPlanItem workoutPlanItem))
            {
                return;
            }

            var dialog = new DeleteDialog();

            dialog.Closing += (send, args) =>
            {
                if (dialog.DataContext is DeleteDialogViewModel vm && vm.Result)
                {
                    using var db = new AppDbContext();
                    db.WorkoutPlans.Remove(workoutPlanItem.WorkoutPlan);
                    db.SaveChanges();

                    WorkoutPlanItems.Remove(workoutPlanItem);
                }
            };

            dialog.ShowDialogWindow(new DeleteDialogViewModel(dialog, "Delete Workout Plan", workoutPlanItem.WorkoutPlan.Title));
        }
Exemplo n.º 6
0
        private async void Delete_Click(object sender, RoutedEventArgs e)
        {
            DeleteDialog Dialog = new DeleteDialog(Globalization.GetString("QueueDialog_DeleteFile_Content"));

            if ((await Dialog.ShowAsync().ConfigureAwait(true)) == ContentDialogResult.Primary)
            {
                PhotoDisplaySupport Item = PhotoCollection[Flip.SelectedIndex];

                try
                {
                    await FullTrustExcutorController.Current.DeleteAsync(Item.PhotoFile.Path, Dialog.IsPermanentDelete).ConfigureAwait(true);

                    PhotoCollection.Remove(Item);
                    Behavior.InitAnimation(InitOption.Full);
                }
                catch (FileCaputureException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_Item_Captured_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                    };

                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
                catch (FileNotFoundException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_RefreshButton")
                    };
                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
                catch (InvalidOperationException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_DeleteFailUnexpectError_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                    };
                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
                catch (Exception)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                    };
                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
            }
        }
Exemplo n.º 7
0
        private async void CallDeleteHistoryDialog(object param)
        {
            if (this.HistoryPanel.SpeedDataCollection.Count != 0)
            {
                DeleteDialog dD = new DeleteDialog();

                await dD.ShowAsync();
            }
        }
Exemplo n.º 8
0
        public async void ConfirmedDeleteFile()
        {
            await FileService.DeleteFile(DeletingFile.Id);

            DeleteDialog.Close();
            Files = await FileService.GetFiles();

            StateHasChanged();
        }
Exemplo n.º 9
0
        private void DeleteBtn_Click(object sender, RoutedEventArgs e)
        {
            conn.Execute("delete from Student where Sno = ?", StudentItem.Sno.Substring(3));
            StuViewModel.StudentDatas.Remove(StudentItem);
            DeleteDialog.Hide();
            PopupNotice popupNotice = new PopupNotice("删除成功");

            popupNotice.ShowAPopup();
        }
Exemplo n.º 10
0
        public async void ConfirmedDeleteProduct()
        {
            await ProductService.DeleteProductAsync(DeletingProduct.Id);

            DeleteDialog.Close();
            Products = await ProductService.GetProductsAsync();

            StateHasChanged();
        }
Exemplo n.º 11
0
        private async void Delete_Click(object sender, RoutedEventArgs e)
        {
            var item = sender as MenuFlyoutItem;
            var data = item.DataContext as Thumbnail;

            if (await DeleteDialog.ShowAsync() == ContentDialogResult.Primary)
            {
                await Operator.DeleteSelectedFile(data);
            }
        }
Exemplo n.º 12
0
        public void Execute(object parameter)
        {
            var  title  = "すべてのタイトル";
            var  window = new DeleteDialog(title);
            bool?res    = window.ShowDialog();

            // 削除確認ダイアログで登録が押された場合のみtrueが返ってくる
            if (res == true)
            {
                _vm.DBManager.RemoveAll();
                _vm.AllDeleteFavorite();
            }
        }
Exemplo n.º 13
0
        public async void ConfirmedDeleteSetting()
        {
            Logger.LogWarning($"Deleting Entry: {DeletingConfigurationEntry.Id}");

            await ConfigurationEntryService.DeleteAsync(DeletingConfigurationEntry.Id);

            DeleteDialog.Close();

            Logger.LogWarning($"Deleted Entry: {DeletingConfigurationEntry.Id}");

            ConfigurationEntries = await ConfigurationEntryService.GetListAsync();

            StateHasChanged();
        }
Exemplo n.º 14
0
        public async void ConfirmedDeleteFile()
        {
            Logger.LogWarning($"Deleting File: {DeletingFile.Id}");

            await FileService.DeleteFileAsync(DeletingFile.Id);

            DeleteDialog.Close();

            Logger.LogWarning($"Deleted File: {DeletingFile.Id}");

            Files = await FileService.GetFilesAsync();

            StateHasChanged();
        }
Exemplo n.º 15
0
        private async void DataMenu_Delete(object sender, RoutedEventArgs e)
        {
            DataRowView  dataRowView   = (DataRowView)((MenuItem)e.Source).DataContext;
            int          reservationID = Int32.Parse(dataRowView[0].ToString());
            DeleteDialog dialog        = new DeleteDialog("reservation #" + reservationID);
            var          result        = await dialog.ShowAsync();

            if (result == ContentDialogResult.Primary)
            {
                RentalManager manager = new RentalManager(new UnitOfWork(new RentalContext()));
                manager.RemoveReservation(reservationID);
                InitializeDataGrid_Data();
            }
        }
Exemplo n.º 16
0
        private async Task DeleteSelectedFiles()
        {
            DebugUtil.Log(() => "DeleteSelectedFiles: " + ContentsGrid.SelectedItems.Count);
            var items = new List <object>(ContentsGrid.SelectedItems);

            if (items.Count == 0)
            {
                HideProgress();
                return;
            }

            if (await DeleteDialog.ShowAsync() == ContentDialogResult.Primary)
            {
                await Operator.DeleteSelectedFiles(items.Select(item => item as Thumbnail));
            }
        }
Exemplo n.º 17
0
        private async void ReservationsMenu_Delete(object sender, System.Windows.RoutedEventArgs e)
        {
            DataRowView  dataRowView   = (DataRowView)((MenuItem)e.Source).DataContext;
            int          reservationID = Int32.Parse(dataRowView[0].ToString());
            DeleteDialog dialog        = new DeleteDialog("reservation #" + reservationID);
            var          result        = await dialog.ShowAsync();

            if (result == ContentDialogResult.Primary)
            {
                RentalManager manager = new RentalManager(new UnitOfWork(new RentalContext()));
                manager.RemoveReservation(reservationID);
                LoadTodaysReservations();
                LoadActiveReservations();
                LoadUnpaidInvoices();
            }
        }
Exemplo n.º 18
0
        internal async Task <bool?> ShowAsync(TorrentManager manager)
        {
            bool?isDeleteFiles = null;

            await CoreApplication.GetCurrentView().Dispatcher.RunTaskAsync(
                async() =>
            {
                var deleteDialog = new DeleteDialog(manager);

                if (await deleteDialog.ShowAsync() == ContentDialogResult.Primary)
                {
                    isDeleteFiles = deleteDialog.IsDeleteFiles;
                }
            });

            return(isDeleteFiles);
        }
Exemplo n.º 19
0
        /// <summary>
        /// Delete ToDo List
        /// </summary>
        /// <param name="sender"></param>
        public void DeleteToDoList(object sender)
        {
            var toDoListItem = (sender as Button).DataContext as ToDoListItem;

            var dialog = new DeleteDialog();

            dialog.Closing += (send, args) =>
            {
                if (dialog.DataContext is DeleteDialogViewModel vm && vm.Result)
                {
                    using var db = new AppDbContext();

                    db.ToDoLists.Remove(toDoListItem.ToDoList);
                    db.SaveChanges();

                    ToDoListItems.Remove(toDoListItem);
                }
            };

            dialog.ShowDialogWindow(new DeleteDialogViewModel(dialog, "Delete Todo List", toDoListItem.ToDoList.Title));
        }
Exemplo n.º 20
0
 protected void DeleteSetting(ConfigurationEntryModel model)
 {
     DeletingConfigurationEntry = model;
     DeleteDialog.Show();
 }
Exemplo n.º 21
0
 protected void DeleteConfirmationComponent(Guid componentId)
 {
     DeleteDialog.Show();
     SelectedComponentId = componentId;
     StateHasChanged();
 }
Exemplo n.º 22
0
 private void CloseBtn_Click(object sender, RoutedEventArgs e)
 {
     DeleteDialog.Hide();
 }
Exemplo n.º 23
0
        /// <summary>
        /// dataGridのタイトルを選択した際の処理
        /// 全表示時:お気に入り登録の処理
        /// お気に入り表示時:お気に入り削除の処理
        /// </summary>
        /// <param name="dataGrid">本のタイトル情報</param>
        public void FavoriteOperation(DataGrid dataGrid)
        {
            // 選択されたセル(タイトル部分)からタイトル名のみを抽出する
            var cell = dataGrid.CurrentColumn.GetCellContent(dataGrid.CurrentItem) as TextBlock;

            if (cell == null)
            {
                return;
            }
            var cell_text = cell.Text;

            cell_text = cell_text.Trim(' ', '(', ')');
            if (cell_text != "")
            {
                var end   = cell_text[cell_text.Length - 1].ToString();
                var isNum = int.TryParse(end, out int num);
                while (isNum)
                {
                    cell_text = cell_text.Remove(cell_text.Length - 1, 1);
                    if (cell_text.Length <= 0)
                    {
                        cell_text = cell.Text;
                        break;
                    }
                    end   = cell_text[cell_text.Length - 1].ToString();
                    isNum = int.TryParse(end, out num);
                }
            }
            var title = cell_text.Trim(' ', '(', ')');

            /// お気に入り表示なら削除、全表示なら登録
            if (FavoriteView)
            {
                var  window = new DeleteDialog(title);
                bool?res    = window.ShowDialog();
                // 削除確認ダイアログで登録が押された場合のみtrueが返ってくる
                if (res == true)
                {
                    foreach (var data in _favoriteData)
                    {
                        if (data.Title == title)
                        {
                            DBManager.RemoveAt(data.Id);
                            _favoriteData.Remove(data);
                            SetData();
                            break;
                        }
                    }
                }
            }
            else
            {
                var  window = new RegisterDialog(title);
                bool?res    = window.ShowDialog();
                // 登録確認ダイアログで登録が押された場合のみtrueが返ってくる
                if (res == true)
                {
                    var favoriteTitles = _favoriteData.Select(x => x.Title);
                    if (!favoriteTitles.Contains(title))
                    {
                        var id = 0;
                        if (_favoriteData.Count == 0)
                        {
                            id = 1;
                        }
                        else
                        {
                            var lastId   = _favoriteData.Last().Id;
                            var checkNum = 1;
                            foreach (var f in _favoriteData)
                            {
                                if (f.Id != checkNum)
                                {
                                    id = checkNum;
                                    break;
                                }
                                else
                                {
                                    checkNum++;
                                }
                            }
                            if (id == 0)
                            {
                                id = lastId + 1;
                            }
                        }
                        var data = new Data()
                        {
                            Id    = id,
                            Title = title,
                        };
                        _favoriteData.Add(data);
                    }
                }
            }
        }
Exemplo n.º 24
0
 private async void DeleteItem_Click(object sender, RoutedEventArgs e)
 {
     await DeleteDialog.ShowAsync();
 }
Exemplo n.º 25
0
 protected void DeleteFile(FileEntryModel file)
 {
     DeletingFile = file;
     DeleteDialog.Show();
 }
Exemplo n.º 26
0
 public void OpenWindow(object param)
 {
     if (param is PopupType)
     {
         var popupType = (PopupType)param;
         if (existingPopups.Values.Any(p => p == popupType))
         {
             //we already have a popup of this type opened
             return;
         }
         Window popup = null;
         switch (popupType)
         {
             case PopupType.DeleteDialog:
                 popup = new DeleteDialog();
                 break;
             case PopupType.InformationModal:
                 popup = new InformationPopup(true);
                 break;
             case PopupType.Information:
                 popup = new InformationPopup(false);
                 break;
             case PopupType.ErrorDialog:
                 popup = new ErrorDialog();
                 break;
             case PopupType.CreateOrEditCompany:
                 popup = new CreateEditCompany();
                 break;
             case PopupType.CreateOrEditIndicator:
                 popup = new CreateEditIndicator();
                 break;
             case PopupType.CrudCoinTypes:
                 popup = new CrudCoinTypes();
                 break;
             case PopupType.ChooseTaxCompletionName:
                 popup = new ChooseTaxCompletionName();
                 break;
             case PopupType.YesNoDialog:
                 popup = new YesNoPopup();
                 break;
             case PopupType.Rules:
                 popup = new RulesPopup(true);
                 break;
             default:
                 break;
         }
         if (popup != null)
         {
             popup.Loaded += Popup_Loaded;
             popup.Closed += popup_Closed;
             popup.Tag = popupType;
             CenterPopup(popup);
             popup.Show();
             popup.Topmost = true;
             //popup.Focus();
         }
     }
 }
Exemplo n.º 27
0
 protected void DeleteConfirmationOutbuilding(Guid outbuildingId)
 {
     DeleteDialog.Show();
     SelectedOutbuildingId = outbuildingId;
     StateHasChanged();
 }
Exemplo n.º 28
0
 protected void DeleteProduct(ProductModel product)
 {
     DeletingProduct = product;
     DeleteDialog.Show();
 }
Exemplo n.º 29
0
        private async void Delete_Click(object sender, RoutedEventArgs e)
        {
            if (Window.Current.CoreWindow.GetKeyState(VirtualKey.Shift).HasFlag(CoreVirtualKeyStates.Down))
            {
                PhotoDisplaySupport Item = PhotoCollection[Flip.SelectedIndex];

Retry:
                try
                {
                    await FullTrustProcessController.Current.DeleteAsync(Item.PhotoFile.Path, true).ConfigureAwait(true);

                    PhotoCollection.Remove(Item);
                    Behavior.InitAnimation(InitOption.Full);
                }
                catch (FileCaputureException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_Item_Captured_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                    };

                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
                catch (FileNotFoundException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_RefreshButton")
                    };

                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
                catch (InvalidOperationException)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title             = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content           = Globalization.GetString("QueueDialog_UnauthorizedDelete_Content"),
                        PrimaryButtonText = Globalization.GetString("Common_Dialog_GrantButton"),
                        CloseButtonText   = Globalization.GetString("Common_Dialog_CancelButton")
                    };

                    if (await dialog.ShowAsync().ConfigureAwait(true) == ContentDialogResult.Primary)
                    {
                        if (await FullTrustProcessController.Current.SwitchToAdminModeAsync().ConfigureAwait(true))
                        {
                            goto Retry;
                        }
                        else
                        {
                            QueueContentDialog ErrorDialog = new QueueContentDialog
                            {
                                Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                                Content         = Globalization.GetString("QueueDialog_DenyElevation_Content"),
                                CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                            };

                            _ = await ErrorDialog.ShowAsync().ConfigureAwait(true);
                        }
                    }
                }
                catch (Exception)
                {
                    QueueContentDialog dialog = new QueueContentDialog
                    {
                        Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                        Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                        CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                    };
                    _ = await dialog.ShowAsync().ConfigureAwait(true);
                }
            }
            else
            {
                DeleteDialog Dialog = new DeleteDialog(Globalization.GetString("QueueDialog_DeleteFile_Content"));

                if ((await Dialog.ShowAsync().ConfigureAwait(true)) == ContentDialogResult.Primary)
                {
                    PhotoDisplaySupport Item = PhotoCollection[Flip.SelectedIndex];

Retry:
                    try
                    {
                        await FullTrustProcessController.Current.DeleteAsync(Item.PhotoFile.Path, Dialog.IsPermanentDelete).ConfigureAwait(true);

                        PhotoCollection.Remove(Item);
                        Behavior.InitAnimation(InitOption.Full);
                    }
                    catch (FileCaputureException)
                    {
                        QueueContentDialog dialog = new QueueContentDialog
                        {
                            Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                            Content         = Globalization.GetString("QueueDialog_Item_Captured_Content"),
                            CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                        };

                        _ = await dialog.ShowAsync().ConfigureAwait(true);
                    }
                    catch (FileNotFoundException)
                    {
                        QueueContentDialog dialog = new QueueContentDialog
                        {
                            Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                            Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                            CloseButtonText = Globalization.GetString("Common_Dialog_RefreshButton")
                        };
                        _ = await dialog.ShowAsync().ConfigureAwait(true);
                    }
                    catch (InvalidOperationException)
                    {
                        QueueContentDialog dialog = new QueueContentDialog
                        {
                            Title             = Globalization.GetString("Common_Dialog_ErrorTitle"),
                            Content           = Globalization.GetString("QueueDialog_UnauthorizedDelete_Content"),
                            PrimaryButtonText = Globalization.GetString("Common_Dialog_GrantButton"),
                            CloseButtonText   = Globalization.GetString("Common_Dialog_CancelButton")
                        };

                        if (await dialog.ShowAsync().ConfigureAwait(true) == ContentDialogResult.Primary)
                        {
                            if (await FullTrustProcessController.Current.SwitchToAdminModeAsync().ConfigureAwait(true))
                            {
                                goto Retry;
                            }
                            else
                            {
                                QueueContentDialog ErrorDialog = new QueueContentDialog
                                {
                                    Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                                    Content         = Globalization.GetString("QueueDialog_DenyElevation_Content"),
                                    CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                                };

                                _ = await ErrorDialog.ShowAsync().ConfigureAwait(true);
                            }
                        }
                    }
                    catch (Exception)
                    {
                        QueueContentDialog dialog = new QueueContentDialog
                        {
                            Title           = Globalization.GetString("Common_Dialog_ErrorTitle"),
                            Content         = Globalization.GetString("QueueDialog_DeleteItemError_Content"),
                            CloseButtonText = Globalization.GetString("Common_Dialog_CloseButton")
                        };
                        _ = await dialog.ShowAsync().ConfigureAwait(true);
                    }
                }
            }
        }
Exemplo n.º 30
0
 protected void DeleteConfirmationSupply(Guid supplyId)
 {
     DeleteDialog.Show();
     SelectedSuppliId = supplyId;
     StateHasChanged();
 }