App.OnLaunched C# (CSharp) Метод

OnLaunched() защищенный Метод

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( Microsoft.UI.Xaml.LaunchActivatedEventArgs args ) : void
args Microsoft.UI.Xaml.LaunchActivatedEventArgs Details about the launch request and process.
Результат void
    protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
    {
        m_window = new MainWindow();
        m_window.Activate();
    }