示例#1
0
        private void deleteCategoryBtn(object sender, RoutedEventArgs e)
        {
            if (category != null)
            {
                TransactionType transactionType = new TransactionType(category.TransactionTypeId.ToString());
                if (transactionType != null)
                {
                    transactionType.Delete();
                }
            }

            ShowCategoryes();
        }