Restructure View/ViewModels into their own distinct folders
This commit is contained in:
parent
ce262257f4
commit
37c43f1710
@ -78,10 +78,10 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="Views\Main\MainView.xaml.cs">
|
||||
<Compile Include="Views\MainView.xaml.cs">
|
||||
<DependentUpon>MainView.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Views\Main\MainViewModel.cs" />
|
||||
<Compile Include="ViewModels\MainViewModel.cs" />
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
@ -94,7 +94,7 @@
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="Views\Main\MainView.xaml">
|
||||
<Page Include="Views\MainView.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Window x:Class="CefSharp.MinimalExample.Wpf.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:main="clr-namespace:CefSharp.MinimalExample.Wpf.Views.Main"
|
||||
xmlns:main="clr-namespace:CefSharp.MinimalExample.Wpf.Views"
|
||||
Title="{Binding WebBrowser.Title}"
|
||||
WindowState="Maximized">
|
||||
<main:MainView/>
|
||||
|
@ -3,7 +3,7 @@ using CefSharp.Wpf;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
|
||||
namespace CefSharp.MinimalExample.Wpf.Views.Main
|
||||
namespace CefSharp.MinimalExample.Wpf.ViewModels
|
||||
{
|
||||
public class MainViewModel
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
<UserControl x:Class="CefSharp.MinimalExample.Wpf.Views.Main.MainView"
|
||||
<UserControl x:Class="CefSharp.MinimalExample.Wpf.Views.MainView"
|
||||
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"
|
@ -1,6 +1,7 @@
|
||||
using System.Windows.Controls;
|
||||
using CefSharp.MinimalExample.Wpf.ViewModels;
|
||||
|
||||
namespace CefSharp.MinimalExample.Wpf.Views.Main
|
||||
namespace CefSharp.MinimalExample.Wpf.Views
|
||||
{
|
||||
public partial class MainView : UserControl
|
||||
{
|
Loading…
Reference in New Issue
Block a user