From 6d41f0c79564249e578918bdfb2b772593d0cd6c Mon Sep 17 00:00:00 2001 From: Denis Prokharhcyk Date: Sat, 3 Sep 2022 21:13:31 +0300 Subject: [PATCH] feat(issue-406): add cross-platform app mui o2nextgen.business.app --- .../O2NextGen.Business.App/App.xaml | 14 + .../O2NextGen.Business.App/App.xaml.cs | 11 + .../O2NextGen.Business.App/AppShell.xaml | 14 + .../O2NextGen.Business.App/AppShell.xaml.cs | 9 + .../O2NextGen.Business.App/MainPage.xaml | 41 ++ .../O2NextGen.Business.App/MainPage.xaml.cs | 24 ++ .../O2NextGen.Business.App/MauiProgram.cs | 18 + .../O2NextGen.Business.App.csproj | 51 +++ .../O2NextGen.Business.App.sln | 27 ++ .../Platforms/Android/AndroidManifest.xml | 6 + .../Platforms/Android/MainActivity.cs | 10 + .../Platforms/Android/MainApplication.cs | 15 + .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 9 + .../Platforms/MacCatalyst/Info.plist | 30 ++ .../Platforms/MacCatalyst/Program.cs | 15 + .../Platforms/Tizen/Main.cs | 16 + .../Platforms/Tizen/tizen-manifest.xml | 15 + .../Platforms/Windows/App.xaml | 8 + .../Platforms/Windows/App.xaml.cs | 24 ++ .../Platforms/Windows/Package.appxmanifest | 43 ++ .../Platforms/Windows/app.manifest | 15 + .../Platforms/iOS/AppDelegate.cs | 9 + .../Platforms/iOS/Info.plist | 32 ++ .../Platforms/iOS/Program.cs | 15 + .../Properties/launchSettings.json | 8 + .../Resources/AppIcon/appicon.svg | 4 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107152 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111048 bytes .../Resources/Images/dotnet_bot.svg | 93 +++++ .../Resources/Raw/AboutAssets.txt | 15 + .../Resources/Splash/splash.svg | 8 + .../Resources/Styles/Colors.xaml | 44 ++ .../Resources/Styles/Styles.xaml | 384 ++++++++++++++++++ src/DesktopApps/O2.Business | 1 + 36 files changed, 1042 insertions(+) create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MainPage.xaml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MainPage.xaml.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MauiProgram.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/O2NextGen.Business.App.csproj create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/O2NextGen.Business.App.sln create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Android/AndroidManifest.xml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Android/MainActivity.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Android/MainApplication.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Android/Resources/values/colors.xml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/MacCatalyst/Info.plist create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/MacCatalyst/Program.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Tizen/Main.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Tizen/tizen-manifest.xml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Windows/App.xaml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Windows/App.xaml.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Windows/Package.appxmanifest create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/Windows/app.manifest create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/iOS/AppDelegate.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/iOS/Info.plist create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Platforms/iOS/Program.cs create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Properties/launchSettings.json create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/AppIcon/appicon.svg create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/AppIcon/appiconfg.svg create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Images/dotnet_bot.svg create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Raw/AboutAssets.txt create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Splash/splash.svg create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Styles/Colors.xaml create mode 100644 src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/Resources/Styles/Styles.xaml create mode 160000 src/DesktopApps/O2.Business diff --git a/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml new file mode 100644 index 00000000..3abf0880 --- /dev/null +++ b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml.cs b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml.cs new file mode 100644 index 00000000..b707ab83 --- /dev/null +++ b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/App.xaml.cs @@ -0,0 +1,11 @@ +namespace O2NextGen.Business.App; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new AppShell(); + } +} diff --git a/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml new file mode 100644 index 00000000..c0fb3bc3 --- /dev/null +++ b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml.cs b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml.cs new file mode 100644 index 00000000..ad9a419b --- /dev/null +++ b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/AppShell.xaml.cs @@ -0,0 +1,9 @@ +namespace O2NextGen.Business.App; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } +} diff --git a/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MainPage.xaml b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MainPage.xaml new file mode 100644 index 00000000..550b759e --- /dev/null +++ b/src/CrossPlatformApps/O2NextGen.Business/O2NextGen.Business.App/MainPage.xaml @@ -0,0 +1,41 @@ + + + + + + + + +