添加项目文件。
This commit is contained in:
3
LibraryManageSystem.slnx
Normal file
3
LibraryManageSystem.slnx
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution>
|
||||
<Project Path="LibraryManageSystem/LibraryManageSystem.csproj" />
|
||||
</Solution>
|
||||
15
LibraryManageSystem/App.xaml
Normal file
15
LibraryManageSystem/App.xaml
Normal file
@@ -0,0 +1,15 @@
|
||||
<prism:PrismApplication x:Class="LibraryManageSystem.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem"
|
||||
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
||||
xmlns:prism="http://prismlibrary.com/">
|
||||
<prism:PrismApplication.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ui:ThemesDictionary Theme="Dark" />
|
||||
<ui:ControlsDictionary />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</prism:PrismApplication.Resources>
|
||||
</prism:PrismApplication>
|
||||
23
LibraryManageSystem/App.xaml.cs
Normal file
23
LibraryManageSystem/App.xaml.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Windows;
|
||||
|
||||
namespace LibraryManageSystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : PrismApplication
|
||||
{
|
||||
protected override Window CreateShell()
|
||||
{
|
||||
return Container.Resolve<MainWindow>();
|
||||
}
|
||||
|
||||
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
10
LibraryManageSystem/AssemblyInfo.cs
Normal file
10
LibraryManageSystem/AssemblyInfo.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Windows;
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
24
LibraryManageSystem/LibraryManageSystem.csproj
Normal file
24
LibraryManageSystem/LibraryManageSystem.csproj
Normal file
@@ -0,0 +1,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="CI\" />
|
||||
<Folder Include="Assets\" />
|
||||
<Folder Include="Event\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Prism.Core" Version="9.0.537" />
|
||||
<PackageReference Include="Prism.Unity" Version="9.0.537" />
|
||||
<PackageReference Include="Prism.Wpf" Version="9.0.537" />
|
||||
<PackageReference Include="WPF-UI" Version="4.1.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
25
LibraryManageSystem/MainWindow.xaml
Normal file
25
LibraryManageSystem/MainWindow.xaml
Normal file
@@ -0,0 +1,25 @@
|
||||
<Window x:Class="LibraryManageSystem.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem"
|
||||
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
|
||||
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="200"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel Grid.Column="0" Background="#2D2D30">
|
||||
<Button Content="Book Management" Margin="10" Padding="10" />
|
||||
<Button Content="Member Management" Margin="10" Padding="10"/>
|
||||
<Button Content="Borrow Books" Margin="10" Padding="10"/>
|
||||
<Button Content="Return Books" Margin="10" Padding="10"/>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
24
LibraryManageSystem/MainWindow.xaml.cs
Normal file
24
LibraryManageSystem/MainWindow.xaml.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace LibraryManageSystem
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/Module/InitializeModule.cs
Normal file
12
LibraryManageSystem/Module/InitializeModule.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.Module
|
||||
{
|
||||
internal class InitializeModule
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/Service/BorrowBook.cs
Normal file
12
LibraryManageSystem/Service/BorrowBook.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.Service
|
||||
{
|
||||
public class BorrowBook
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/Service/EditMember.cs
Normal file
12
LibraryManageSystem/Service/EditMember.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.Service
|
||||
{
|
||||
public class EditMember
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/Service/ReadMember.cs
Normal file
12
LibraryManageSystem/Service/ReadMember.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.Service
|
||||
{
|
||||
public class ReadMember
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/Service/ReturnBook.cs
Normal file
12
LibraryManageSystem/Service/ReturnBook.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.Service
|
||||
{
|
||||
class ReturnBook
|
||||
{
|
||||
}
|
||||
}
|
||||
14
LibraryManageSystem/View/BookManageView.xaml
Normal file
14
LibraryManageSystem/View/BookManageView.xaml
Normal file
@@ -0,0 +1,14 @@
|
||||
<Page x:Class="LibraryManageSystem.View.BookManageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem.View"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800"
|
||||
Title="BookManageView">
|
||||
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
28
LibraryManageSystem/View/BookManageView.xaml.cs
Normal file
28
LibraryManageSystem/View/BookManageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace LibraryManageSystem.View
|
||||
{
|
||||
/// <summary>
|
||||
/// BookManageView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class BookManageView : Page
|
||||
{
|
||||
public BookManageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
14
LibraryManageSystem/View/BorrowView.xaml
Normal file
14
LibraryManageSystem/View/BorrowView.xaml
Normal file
@@ -0,0 +1,14 @@
|
||||
<Page x:Class="LibraryManageSystem.View.BorrowView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem.View"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800"
|
||||
Title="BorrowView">
|
||||
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
28
LibraryManageSystem/View/BorrowView.xaml.cs
Normal file
28
LibraryManageSystem/View/BorrowView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace LibraryManageSystem.View
|
||||
{
|
||||
/// <summary>
|
||||
/// BorrowView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class BorrowView : Page
|
||||
{
|
||||
public BorrowView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
14
LibraryManageSystem/View/MemberManageView.xaml
Normal file
14
LibraryManageSystem/View/MemberManageView.xaml
Normal file
@@ -0,0 +1,14 @@
|
||||
<Page x:Class="LibraryManageSystem.View.MemberManageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem.View"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800"
|
||||
Title="MemberManageView">
|
||||
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
28
LibraryManageSystem/View/MemberManageView.xaml.cs
Normal file
28
LibraryManageSystem/View/MemberManageView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace LibraryManageSystem.View
|
||||
{
|
||||
/// <summary>
|
||||
/// MemberManageView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class MemberManageView : Page
|
||||
{
|
||||
public MemberManageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
14
LibraryManageSystem/View/ReturnView.xaml
Normal file
14
LibraryManageSystem/View/ReturnView.xaml
Normal file
@@ -0,0 +1,14 @@
|
||||
<Page x:Class="LibraryManageSystem.View.ReturnView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:LibraryManageSystem.View"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800"
|
||||
Title="ReturnView">
|
||||
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
28
LibraryManageSystem/View/ReturnView.xaml.cs
Normal file
28
LibraryManageSystem/View/ReturnView.xaml.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace LibraryManageSystem.View
|
||||
{
|
||||
/// <summary>
|
||||
/// ReturnView.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class ReturnView : Page
|
||||
{
|
||||
public ReturnView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/BookManageViewModel.cs
Normal file
12
LibraryManageSystem/ViewModel/BookManageViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class BookManageViewModel:ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/BorrowViewModel.cs
Normal file
12
LibraryManageSystem/ViewModel/BorrowViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class BorrowViewModel: ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/MainViewModel.cs
Normal file
12
LibraryManageSystem/ViewModel/MainViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class MainViewModel: ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/MemberManageViewModel.cs
Normal file
12
LibraryManageSystem/ViewModel/MemberManageViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class MemberManageViewModel:ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/ReturnViewModel.cs
Normal file
12
LibraryManageSystem/ViewModel/ReturnViewModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class ReturnViewModel:ViewModelBase
|
||||
{
|
||||
}
|
||||
}
|
||||
12
LibraryManageSystem/ViewModel/ViewModelBase.cs
Normal file
12
LibraryManageSystem/ViewModel/ViewModelBase.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LibraryManageSystem.ViewModel
|
||||
{
|
||||
internal class ViewModelBase:BindableBase
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user