Created home page view to act as the main landing for the application.
This commit is contained in:
3
osrs-toolbox/App.config
Normal file
3
osrs-toolbox/App.config
Normal file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
</configuration>
|
12
osrs-toolbox/Models/HomePageModel.cs
Normal file
12
osrs-toolbox/Models/HomePageModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace osrs_toolbox
|
||||
{
|
||||
public abstract class HomePageModel : ModelBase
|
||||
{
|
||||
}
|
||||
}
|
27
osrs-toolbox/ViewModels/HomePageViewModel.cs
Normal file
27
osrs-toolbox/ViewModels/HomePageViewModel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace osrs_toolbox
|
||||
{
|
||||
public class HomePageViewModel : HomePageModel
|
||||
{
|
||||
public HomePageViewModel()
|
||||
{
|
||||
InitializeVariables();
|
||||
InitializeCommands();
|
||||
}
|
||||
|
||||
private void InitializeVariables()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void InitializeCommands()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
15
osrs-toolbox/Views/HomePageView.xaml
Normal file
15
osrs-toolbox/Views/HomePageView.xaml
Normal file
@@ -0,0 +1,15 @@
|
||||
<Window x:Class="osrs_toolbox.HomePageView"
|
||||
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:local="clr-namespace:osrs_toolbox"
|
||||
mc:Ignorable="d"
|
||||
Title="OSRS Toolbox" Height="450" Width="800">
|
||||
<Window.DataContext>
|
||||
<local:HomePageViewModel/>
|
||||
</Window.DataContext>
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
30
osrs-toolbox/Views/HomePageView.xaml.cs
Normal file
30
osrs-toolbox/Views/HomePageView.xaml.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
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.Shapes;
|
||||
|
||||
namespace osrs_toolbox
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for HomePageView.xaml
|
||||
/// </summary>
|
||||
public partial class HomePageView : Window
|
||||
{
|
||||
public static HomePageView Current;
|
||||
|
||||
public HomePageView()
|
||||
{
|
||||
InitializeComponent();
|
||||
Current = this;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user