forked from amkovkov/GranuSightSoftware2
feat: massive rework
1) GSS2.Core: - strip prefixes in GSS2.Core.Analysis.AmineContent namespace class names - add IEnumerable<double>.Variance extension - remake analysis + update database so not needed to store all every file, calibration data also stored in database, also currently capturing images stored in system temporary directory and rewriting every time 2) GSS.UI.Core: AsyncImageRecordViewModel make zoom and pans public 3) GSS: - remove image-storage-clear command - remove ResultsView and ResultsViewModel, results presented in analysis - rework calibration views - add analysis views - add text and number fields editors view - add confirmation view on danger buttons
This commit is contained in:
@@ -23,7 +23,7 @@ public partial class Application : Avalonia.Application
|
||||
|
||||
private bool _allShutdownSequencesRunning;
|
||||
|
||||
public NavigationService Navigation { get; }
|
||||
public NavigationService? Navigation { get; private set; } = null;
|
||||
|
||||
public Application(IServiceProvider services, bool fullscreen = false)
|
||||
{
|
||||
@@ -37,7 +37,6 @@ public partial class Application : Avalonia.Application
|
||||
// Создаём DependencyInjectionViewLocator
|
||||
_logger = _services.GetRequiredService<ILogger<Application>>();
|
||||
_viewLocator = _services.GetRequiredService<DependencyInjectionViewLocator>();
|
||||
Navigation = _services.GetRequiredService<NavigationService>();
|
||||
}
|
||||
|
||||
public override void Initialize()
|
||||
@@ -131,6 +130,7 @@ public partial class Application : Avalonia.Application
|
||||
desktop.MainWindow = mainWindow;
|
||||
|
||||
// Переключаемся на начальный элемент управления
|
||||
Navigation = _services.GetRequiredService<NavigationService>();
|
||||
Navigation.NavigateTo(mainView);
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user