mirror of
https://github.com/muskit/MercuryConverter.git
synced 2026-06-02 20:24:26 -07:00
refactoring
This commit is contained in:
+4
-2
@@ -1,7 +1,9 @@
|
|||||||
using Avalonia;
|
namespace MercuryConverter;
|
||||||
|
|
||||||
|
using Avalonia;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MercuryConverter;
|
using MercuryConverter.UI;
|
||||||
|
|
||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Application xmlns="https://github.com/avaloniaui"
|
<Application xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
x:Class="MercuryConverter.App"
|
x:Class="MercuryConverter.UI.App"
|
||||||
RequestedThemeVariant="Default"> <!-- Dark Default Light -->
|
RequestedThemeVariant="Default"> <!-- Dark Default Light -->
|
||||||
|
|
||||||
<Application.Styles>
|
<Application.Styles>
|
||||||
@@ -2,7 +2,7 @@ using Avalonia;
|
|||||||
using Avalonia.Controls.ApplicationLifetimes;
|
using Avalonia.Controls.ApplicationLifetimes;
|
||||||
using Avalonia.Markup.Xaml;
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
namespace MercuryConverter;
|
namespace MercuryConverter.UI;
|
||||||
|
|
||||||
public partial class App : Application
|
public partial class App : Application
|
||||||
{
|
{
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:MercuryConverter"
|
xmlns:local="clr-namespace:MercuryConverter.UI"
|
||||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
|
||||||
x:Class="MercuryConverter.MainWindow"
|
x:Class="MercuryConverter.UI.MainWindow"
|
||||||
Title="MercuryConverter"
|
Title="MercuryConverter"
|
||||||
Width="1024" Height="800"
|
Width="1024" Height="800"
|
||||||
MinWidth="800" MinHeight="600"
|
MinWidth="800" MinHeight="600"
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
using Avalonia.Styling;
|
using Avalonia.Styling;
|
||||||
|
|
||||||
namespace MercuryConverter;
|
namespace MercuryConverter.UI;
|
||||||
|
|
||||||
using MercuryConverter.Views;
|
using MercuryConverter.UI.Views;
|
||||||
|
|
||||||
public partial class MainWindow : Window
|
public partial class MainWindow : Window
|
||||||
{
|
{
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:MercuryConverter.Views"
|
xmlns:local="clr-namespace:MercuryConverter.UI.Views"
|
||||||
x:Class="MercuryConverter.Views.Selection"
|
x:Class="MercuryConverter.UI.Views.Selection"
|
||||||
>
|
>
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
@@ -7,7 +7,7 @@ using Avalonia.Controls;
|
|||||||
using MercuryConverter.Data;
|
using MercuryConverter.Data;
|
||||||
using Avalonia;
|
using Avalonia;
|
||||||
|
|
||||||
namespace MercuryConverter.Views;
|
namespace MercuryConverter.UI.Views;
|
||||||
|
|
||||||
public partial class Selection : Panel
|
public partial class Selection : Panel
|
||||||
{
|
{
|
||||||
Reference in New Issue
Block a user