Created home page view to act as the main landing for the application.

This commit is contained in:
2025-05-22 10:49:02 -04:00
parent 0d997585ac
commit c4370af08c
5 changed files with 87 additions and 0 deletions

3
osrs-toolbox/App.config Normal file
View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>

View 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
{
}
}

View 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()
{
}
}
}

View 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>

View 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;
}
}
}