more changes towards Avalonia

This commit is contained in:
Florian Stinglmayr 2024-11-07 15:06:46 +01:00
parent ee14dedeee
commit 08d54cd13c
3 changed files with 15 additions and 13 deletions

View File

@ -1,4 +1,6 @@
namespace EliteBGS { using Avalonia;
namespace EliteBGS {
/// <summary> /// <summary>
/// Interaction logic for App.xaml /// Interaction logic for App.xaml
/// </summary> /// </summary>

View File

@ -2,8 +2,8 @@
using System.Linq; using System.Linq;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Windows; using Avalonia;
using Microsoft.Win32; using Avalonia.Controls;
using EDPlayerJournal.Entries; using EDPlayerJournal.Entries;
using EliteBGS.Util; using EliteBGS.Util;
using EDPlayerJournal.BGS; using EDPlayerJournal.BGS;

View File

@ -10,8 +10,8 @@
namespace EliteBGS.Properties { namespace EliteBGS.Properties {
using System; using System;
/// <summary> /// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc. /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary> /// </summary>
@ -23,15 +23,15 @@ namespace EliteBGS.Properties {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources { internal class Resources {
private static global::System.Resources.ResourceManager resourceMan; private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture; private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() { internal Resources() {
} }
/// <summary> /// <summary>
/// Returns the cached ResourceManager instance used by this class. /// Returns the cached ResourceManager instance used by this class.
/// </summary> /// </summary>
@ -45,7 +45,7 @@ namespace EliteBGS.Properties {
return resourceMan; return resourceMan;
} }
} }
/// <summary> /// <summary>
/// Overrides the current thread's CurrentUICulture property for all /// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class. /// resource lookups using this strongly typed resource class.
@ -59,14 +59,14 @@ namespace EliteBGS.Properties {
resourceCulture = value; resourceCulture = value;
} }
} }
/// <summary> /// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary> /// </summary>
internal static System.Drawing.Icon EliteBGS { internal static System.Drawing.Common.Icon EliteBGS {
get { get {
object obj = ResourceManager.GetObject("EliteBGS", resourceCulture); object obj = ResourceManager.GetObject("EliteBGS", resourceCulture);
return ((System.Drawing.Icon)(obj)); return ((System.Drawing.Common.Icon)(obj));
} }
} }
} }