You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Esta es una solucion a el problema de FilePicker es:
This is a solution to the FilePicker problem:
namespace ExecPortal;
public class App : Application
{
public static Window? MainWindow { get; private set; }
protected override void OnLaunched(LaunchActivatedEventArgs args)
{
#if NET6_0_OR_GREATER && WINDOWS && !HAS_UNO
MainWindow = new Window();
#else
MainWindow = Microsoft.UI.Xaml.Window.Current;
#endif
#if DEBUG
MainWindow.EnableHotReload();
#endif
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (MainWindow.Content is not Frame rootFrame)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();
// Place the frame in the current Window
MainWindow.Content = rootFrame;
rootFrame.NavigationFailed += OnNavigationFailed;
}
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(MainPage), args.Arguments);
}
// Ensure the current window is active
MainWindow.Activate();
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new InvalidOperationException($"Failed to load {e.SourcePageType.FullName}: {e.Exception}");
}
}
Proposal: [your title here]
Summary
Rationale
{First reason for why we should consider this proposal}
{Second reason for why we should consider this proposal}
{etc}
Scope
Capability
Priority
This proposal will allow developers to accomplish W
Must
This proposal will allow end users to accomplish X
Should
This proposal will allow developers to accomplish Y
Could
This proposal will allow end users to accomplish Z
Won't
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered:
Esta es una solucion a el problema de FilePicker es:
This is a solution to the FilePicker problem:
Proposal: [your title here]
Summary
Rationale
Scope
Important Notes
Open Questions
The text was updated successfully, but these errors were encountered: