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>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Compile Include="Views\Main\MainView.xaml.cs">
|
<Compile Include="Views\MainView.xaml.cs">
|
||||||
<DependentUpon>MainView.xaml</DependentUpon>
|
<DependentUpon>MainView.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Views\Main\MainViewModel.cs" />
|
<Compile Include="ViewModels\MainViewModel.cs" />
|
||||||
<Page Include="MainWindow.xaml">
|
<Page Include="MainWindow.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Page Include="Views\Main\MainView.xaml">
|
<Page Include="Views\MainView.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<Window x:Class="CefSharp.MinimalExample.Wpf.MainWindow"
|
<Window x:Class="CefSharp.MinimalExample.Wpf.MainWindow"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
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}"
|
Title="{Binding WebBrowser.Title}"
|
||||||
WindowState="Maximized">
|
WindowState="Maximized">
|
||||||
<main:MainView/>
|
<main:MainView/>
|
||||||
|
@ -3,7 +3,7 @@ using CefSharp.Wpf;
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace CefSharp.MinimalExample.Wpf.Views.Main
|
namespace CefSharp.MinimalExample.Wpf.ViewModels
|
||||||
{
|
{
|
||||||
public class MainViewModel
|
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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
@ -1,6 +1,7 @@
|
|||||||
using System.Windows.Controls;
|
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
|
public partial class MainView : UserControl
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user