agrobot_base/AgroBase/OperationControl/App.xaml.cs

27 lines
608 B
C#
Raw Normal View History

2025-11-14 17:11:58 +00:00
using OperationControl.Models;
using System.Windows;
2025-11-24 16:05:50 +00:00
using Application = System.Windows.Application;
namespace OperationControl
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
2025-11-14 17:11:58 +00:00
public AppShell Shell { get; private set; }
private void Application_Startup(object sender, StartupEventArgs e)
{
// Cria o “controlador”/janela raiz
Shell = new AppShell();
Shell.Inicializar();
2026-03-18 10:40:59 +00:00
MainWindow = Shell.Dock;
MainWindow.Show();
2025-11-14 17:11:58 +00:00
}
}
}