From 72ebcd83535d7a543dc694f70b7aadc042177695 Mon Sep 17 00:00:00 2001 From: syneffort Date: Wed, 2 Aug 2023 18:00:28 +0900 Subject: [PATCH] observable collection --- .../ObervableCollectionSample/App.xaml | 9 +++++ .../ObervableCollectionSample/App.xaml.cs | 17 +++++++++ .../ObervableCollectionSample/AssemblyInfo.cs | 10 +++++ .../ObervableCollectionSample/MainWindow.xaml | 25 ++++++++++++ .../MainWindow.xaml.cs | 38 +++++++++++++++++++ .../ObervableCollectionSample.csproj | 10 +++++ .../ObervableCollectionSample/Person.cs | 18 +++++++++ .../PersonCollection.cs | 26 +++++++++++++ PacticeSolution/PacticeSolution.sln | 14 +++++-- 9 files changed, 163 insertions(+), 4 deletions(-) create mode 100644 PacticeSolution/ObervableCollectionSample/App.xaml create mode 100644 PacticeSolution/ObervableCollectionSample/App.xaml.cs create mode 100644 PacticeSolution/ObervableCollectionSample/AssemblyInfo.cs create mode 100644 PacticeSolution/ObervableCollectionSample/MainWindow.xaml create mode 100644 PacticeSolution/ObervableCollectionSample/MainWindow.xaml.cs create mode 100644 PacticeSolution/ObervableCollectionSample/ObervableCollectionSample.csproj create mode 100644 PacticeSolution/ObervableCollectionSample/Person.cs create mode 100644 PacticeSolution/ObervableCollectionSample/PersonCollection.cs diff --git a/PacticeSolution/ObervableCollectionSample/App.xaml b/PacticeSolution/ObervableCollectionSample/App.xaml new file mode 100644 index 0000000..e53ad33 --- /dev/null +++ b/PacticeSolution/ObervableCollectionSample/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/ObervableCollectionSample/App.xaml.cs b/PacticeSolution/ObervableCollectionSample/App.xaml.cs new file mode 100644 index 0000000..4a01fe8 --- /dev/null +++ b/PacticeSolution/ObervableCollectionSample/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace ObervableCollectionSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/ObervableCollectionSample/AssemblyInfo.cs b/PacticeSolution/ObervableCollectionSample/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/ObervableCollectionSample/AssemblyInfo.cs @@ -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) +)] diff --git a/PacticeSolution/ObervableCollectionSample/MainWindow.xaml b/PacticeSolution/ObervableCollectionSample/MainWindow.xaml new file mode 100644 index 0000000..fd47cfa --- /dev/null +++ b/PacticeSolution/ObervableCollectionSample/MainWindow.xaml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + +