添加项目文件。
							parent
							
								
									5bd4e7a621
								
							
						
					
					
						commit
						f3cacbd2d0
					
				@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					<Application x:Class="WpfMvvmChart1.App"
 | 
				
			||||||
 | 
					             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
				
			||||||
 | 
					             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
				
			||||||
 | 
					             xmlns:local="clr-namespace:WpfMvvmChart1"
 | 
				
			||||||
 | 
					             StartupUri="Views/MainWindow.xaml"
 | 
				
			||||||
 | 
					             xmlns:hc="https://handyorg.github.io/handycontrol">
 | 
				
			||||||
 | 
					    <Application.Resources>
 | 
				
			||||||
 | 
					        <ResourceDictionary>
 | 
				
			||||||
 | 
					            <ResourceDictionary.MergedDictionaries>
 | 
				
			||||||
 | 
					                <hc:ThemeResources />
 | 
				
			||||||
 | 
					                <hc:Theme />
 | 
				
			||||||
 | 
					                <!-- Other merged dictionaries here -->
 | 
				
			||||||
 | 
					            </ResourceDictionary.MergedDictionaries>
 | 
				
			||||||
 | 
					            <!-- Other app resources here -->
 | 
				
			||||||
 | 
					        </ResourceDictionary>
 | 
				
			||||||
 | 
					    </Application.Resources>
 | 
				
			||||||
 | 
					</Application>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -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)
 | 
				
			||||||
 | 
					)]
 | 
				
			||||||
@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					<Window x:Class="WpfMvvmChart1.Views.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:vm="clr-namespace:WpfMvvmChart1.ViewModels"
 | 
				
			||||||
 | 
					        xmlns:local="clr-namespace:WpfMvvmChart1"
 | 
				
			||||||
 | 
					        mc:Ignorable="d"
 | 
				
			||||||
 | 
					        Title="MainWindow" Height="450" Width="800">
 | 
				
			||||||
 | 
					    <Window.DataContext>
 | 
				
			||||||
 | 
					        <vm:MainWindowViewModel />
 | 
				
			||||||
 | 
					    </Window.DataContext>
 | 
				
			||||||
 | 
					    <Grid>
 | 
				
			||||||
 | 
					        <TextBlock Text="{Binding Message}" FontSize="50"/>
 | 
				
			||||||
 | 
					    </Grid>
 | 
				
			||||||
 | 
					</Window>
 | 
				
			||||||
					Loading…
					
					
				
		Reference in New Issue