From 2ccd9e3b79d48f0d877773b5d6f3c2f8244caff1 Mon Sep 17 00:00:00 2001 From: mukae1997 <444652692@qq.com> Date: Sun, 14 May 2017 22:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9ECategoryTableManager=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9categoryViewModel=E5=92=8CMainPag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CategoryTableManager:负责categoryTable在数据库中的管理 - categoryViewModel的修改:将文件读入改成数据库操作 --- ShowMeMyMoney/MainPage.xaml | 304 ++++++++++-------- ShowMeMyMoney/MainPage.xaml.cs | 272 ++++++++++++++-- .../Services/CategoryTableManager.cs | 142 ++++++++ ShowMeMyMoney/Services/DBManager.cs | 51 ++- ShowMeMyMoney/ViewModel/ViewModel.cs | 40 ++- ShowMeMyMoney/ViewModel/categoryViewModel.cs | 86 +++-- 6 files changed, 687 insertions(+), 208 deletions(-) create mode 100644 ShowMeMyMoney/Services/CategoryTableManager.cs diff --git a/ShowMeMyMoney/MainPage.xaml b/ShowMeMyMoney/MainPage.xaml index 139f541..3b4a449 100644 --- a/ShowMeMyMoney/MainPage.xaml +++ b/ShowMeMyMoney/MainPage.xaml @@ -7,6 +7,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="ShowMeMyMoney.MainPage" mc:Ignorable="d"> + - - + - + - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +