From 6b9268d2d88c81c18f2cc21e343d321989dad99c Mon Sep 17 00:00:00 2001
From: 魏曹先生 <1992414357@qq.com>
Date: Fri, 9 Jan 2026 21:30:49 +0800
Subject: Set up project structure and CLI integration
---
JVDesktop/Views/DashboardView.axaml | 63 ++++++++++++++++++++++++++++++++++
JVDesktop/Views/DashboardView.axaml.cs | 15 ++++++++
JVDesktop/Views/MainWindow.axaml | 23 -------------
JVDesktop/Views/MainWindow.axaml.cs | 11 ------
4 files changed, 78 insertions(+), 34 deletions(-)
create mode 100644 JVDesktop/Views/DashboardView.axaml
create mode 100644 JVDesktop/Views/DashboardView.axaml.cs
delete mode 100644 JVDesktop/Views/MainWindow.axaml
delete mode 100644 JVDesktop/Views/MainWindow.axaml.cs
(limited to 'JVDesktop/Views')
diff --git a/JVDesktop/Views/DashboardView.axaml b/JVDesktop/Views/DashboardView.axaml
new file mode 100644
index 0000000..553754f
--- /dev/null
+++ b/JVDesktop/Views/DashboardView.axaml
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/JVDesktop/Views/DashboardView.axaml.cs b/JVDesktop/Views/DashboardView.axaml.cs
new file mode 100644
index 0000000..ae58263
--- /dev/null
+++ b/JVDesktop/Views/DashboardView.axaml.cs
@@ -0,0 +1,15 @@
+using Avalonia.Controls;
+using Avalonia.Input;
+
+namespace JVDesktop.Views;
+
+public partial class DashboardView : Window
+{
+ public DashboardView() => InitializeComponent();
+
+ private void MoveWindow(object sender, PointerPressedEventArgs e)
+ {
+ if (e.GetCurrentPoint(this).Properties.IsLeftButtonPressed)
+ BeginMoveDrag(e);
+ }
+}
diff --git a/JVDesktop/Views/MainWindow.axaml b/JVDesktop/Views/MainWindow.axaml
deleted file mode 100644
index 13f20c4..0000000
--- a/JVDesktop/Views/MainWindow.axaml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/JVDesktop/Views/MainWindow.axaml.cs b/JVDesktop/Views/MainWindow.axaml.cs
deleted file mode 100644
index 37f530e..0000000
--- a/JVDesktop/Views/MainWindow.axaml.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using Avalonia.Controls;
-
-namespace JVDesktop.Views;
-
-public partial class MainWindow : Window
-{
- public MainWindow()
- {
- InitializeComponent();
- }
-}
\ No newline at end of file
--
cgit