BobG
BobG

Reputation: 1

Is it possible to initiate a method in the App.xml.cs file instead of a content page?

I'm building a .NET Maui app where the user has to initially select a database. So instead of a content page appearing with no data because a database has not been selected, I'm looking to initially run a method that would look for a a database on the computer.

If no database was found, a popup screen would appear to create a new database. If databases were found then a different popup screen would be displayed listing all the available databases for the user to select.

So my question would be can I somehow place a method in the App.xaml.cs file that would do all of wha I just explained? Or would I have to do it a different way?

Upvotes: 0

Views: 43

Answers (0)

Related Questions