From c4370af08c483cdc8bfba3224053835622c5484e Mon Sep 17 00:00:00 2001 From: Kalakoi Date: Thu, 22 May 2025 10:49:02 -0400 Subject: [PATCH] Created home page view to act as the main landing for the application. --- osrs-toolbox/App.config | 3 ++ osrs-toolbox/Models/HomePageModel.cs | 12 ++++++++ osrs-toolbox/ViewModels/HomePageViewModel.cs | 27 ++++++++++++++++++ osrs-toolbox/Views/HomePageView.xaml | 15 ++++++++++ osrs-toolbox/Views/HomePageView.xaml.cs | 30 ++++++++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 osrs-toolbox/App.config create mode 100644 osrs-toolbox/Models/HomePageModel.cs create mode 100644 osrs-toolbox/ViewModels/HomePageViewModel.cs create mode 100644 osrs-toolbox/Views/HomePageView.xaml create mode 100644 osrs-toolbox/Views/HomePageView.xaml.cs diff --git a/osrs-toolbox/App.config b/osrs-toolbox/App.config new file mode 100644 index 0000000..49cc43e --- /dev/null +++ b/osrs-toolbox/App.config @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/osrs-toolbox/Models/HomePageModel.cs b/osrs-toolbox/Models/HomePageModel.cs new file mode 100644 index 0000000..eec6f3c --- /dev/null +++ b/osrs-toolbox/Models/HomePageModel.cs @@ -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 + { + } +} diff --git a/osrs-toolbox/ViewModels/HomePageViewModel.cs b/osrs-toolbox/ViewModels/HomePageViewModel.cs new file mode 100644 index 0000000..2a9ee8d --- /dev/null +++ b/osrs-toolbox/ViewModels/HomePageViewModel.cs @@ -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() + { + + } + } +} diff --git a/osrs-toolbox/Views/HomePageView.xaml b/osrs-toolbox/Views/HomePageView.xaml new file mode 100644 index 0000000..be8ac60 --- /dev/null +++ b/osrs-toolbox/Views/HomePageView.xaml @@ -0,0 +1,15 @@ + + + + + + + + diff --git a/osrs-toolbox/Views/HomePageView.xaml.cs b/osrs-toolbox/Views/HomePageView.xaml.cs new file mode 100644 index 0000000..cd94ffb --- /dev/null +++ b/osrs-toolbox/Views/HomePageView.xaml.cs @@ -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 +{ + /// + /// Interaction logic for HomePageView.xaml + /// + public partial class HomePageView : Window + { + public static HomePageView Current; + + public HomePageView() + { + InitializeComponent(); + Current = this; + } + } +}