diff --git a/WpfMvvmChart1.sln b/WpfMvvmChart1.sln new file mode 100644 index 0000000..76ff130 --- /dev/null +++ b/WpfMvvmChart1.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35222.181 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfMvvmChart1", "WpfMvvmChart1\WpfMvvmChart1.csproj", "{3409DEC0-4C82-4302-9A65-2D79D1B5ACC7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3409DEC0-4C82-4302-9A65-2D79D1B5ACC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3409DEC0-4C82-4302-9A65-2D79D1B5ACC7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3409DEC0-4C82-4302-9A65-2D79D1B5ACC7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3409DEC0-4C82-4302-9A65-2D79D1B5ACC7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6A2E8FB0-0949-4DE2-99CD-29484321962D} + EndGlobalSection +EndGlobal diff --git a/WpfMvvmChart1/App.xaml b/WpfMvvmChart1/App.xaml new file mode 100644 index 0000000..888941f --- /dev/null +++ b/WpfMvvmChart1/App.xaml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + diff --git a/WpfMvvmChart1/App.xaml.cs b/WpfMvvmChart1/App.xaml.cs new file mode 100644 index 0000000..85f64f8 --- /dev/null +++ b/WpfMvvmChart1/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WpfMvvmChart1 +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/WpfMvvmChart1/AssemblyInfo.cs b/WpfMvvmChart1/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/WpfMvvmChart1/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/WpfMvvmChart1/ViewModels/MainWindowViewModel.cs b/WpfMvvmChart1/ViewModels/MainWindowViewModel.cs new file mode 100644 index 0000000..02c9afa --- /dev/null +++ b/WpfMvvmChart1/ViewModels/MainWindowViewModel.cs @@ -0,0 +1,15 @@ +using CommunityToolkit.Mvvm.ComponentModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WpfMvvmChart1.ViewModels +{ + public partial class MainWindowViewModel : ObservableObject + { + [ObservableProperty] + string message = "Hello"; + } +} diff --git a/WpfMvvmChart1/Views/MainWindow.xaml b/WpfMvvmChart1/Views/MainWindow.xaml new file mode 100644 index 0000000..eeb0eeb --- /dev/null +++ b/WpfMvvmChart1/Views/MainWindow.xaml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/WpfMvvmChart1/Views/MainWindow.xaml.cs b/WpfMvvmChart1/Views/MainWindow.xaml.cs new file mode 100644 index 0000000..a90c557 --- /dev/null +++ b/WpfMvvmChart1/Views/MainWindow.xaml.cs @@ -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 WpfMvvmChart1.Views +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/WpfMvvmChart1/WpfMvvmChart1.csproj b/WpfMvvmChart1/WpfMvvmChart1.csproj new file mode 100644 index 0000000..b8eda5e --- /dev/null +++ b/WpfMvvmChart1/WpfMvvmChart1.csproj @@ -0,0 +1,27 @@ + + + + WinExe + net8.0-windows + enable + enable + true + + + + + + + + + + + + + + + + + + +