// 북마크 폴더 삭제
        public async Task DeleteAsync()
        {
            var dialog = new DeleteViewModel();

            if (await dialog.ShowDialogAsync() == true)
            {
                this.Parent.Items.Remove(this);
                this.Browser.UpdateBookmarkItems();
            }
        }
Example #2
0
        public async Task DeleteAsync()
        {
            var dialog = new DeleteViewModel()
            {
                DisplayName = Resources.Title_DeleteCategory
            };

            if (await dialog.ShowDialogAsync() != true)
            {
                return;
            }
        }
        public async Task DeleteAsync()
        {
            var dialog = new DeleteViewModel();

            if (await dialog.ShowDialogAsync() != true)
            {
                return;
            }

            var dataSet = this.dataTable.DataSet;

            dataSet.Tables.Remove(this.dataTable);
            this.Parent = null;
        }