From 27970bc755f9027e5fe46254dc575ee1625ca5aa Mon Sep 17 00:00:00 2001 From: Sarabola Date: Fri, 9 May 2025 22:48:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D1=8C=D1=82?= =?UTF-8?q?=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.xaml | 16 + App.xaml.cs | 15 + AppShell.xaml | 13 + AppShell.xaml.cs | 10 + ContactDetailPage.xaml | 74 + ContactDetailPage.xaml.cs | 99 + Converters/NullToBoolConverter.cs | 21 + MainPage.xaml | 54 + MainPage.xaml.cs | 62 + MauiProgram.cs | 20 + Models/Contact.cs | 16 + Phonebook.csproj | 76 + Phonebook.sln | 26 + Platforms/Android/AndroidManifest.xml | 6 + Platforms/Android/MainActivity.cs | 10 + Platforms/Android/MainApplication.cs | 15 + Platforms/Android/Resources/values/colors.xml | 6 + Platforms/MacCatalyst/AppDelegate.cs | 9 + Platforms/MacCatalyst/Entitlements.plist | 14 + Platforms/MacCatalyst/Info.plist | 38 + 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 | 46 + Platforms/Windows/app.manifest | 15 + Platforms/iOS/AppDelegate.cs | 9 + Platforms/iOS/Info.plist | 32 + Platforms/iOS/Program.cs | 15 + Platforms/iOS/Resources/PrivacyInfo.xcprivacy | 51 + Properties/launchSettings.json | 8 + Resources/AppIcon/appicon.svg | 4 + Resources/AppIcon/appiconfg.svg | 8 + Resources/Fonts/FluentUI.cs | 7921 +++++++++++++++++ Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107280 bytes Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111164 bytes Resources/Images/default_contact.png | Bin 0 -> 162588 bytes Resources/Images/dotnet_bot.png | Bin 0 -> 93437 bytes Resources/Raw/AboutAssets.txt | 15 + Resources/Splash/splash.svg | 8 + Resources/Styles/Colors.xaml | 45 + Resources/Styles/Styles.xaml | 451 + Services/DatabaseService.cs | 108 + 44 files changed, 9414 insertions(+) create mode 100644 App.xaml create mode 100644 App.xaml.cs create mode 100644 AppShell.xaml create mode 100644 AppShell.xaml.cs create mode 100644 ContactDetailPage.xaml create mode 100644 ContactDetailPage.xaml.cs create mode 100644 Converters/NullToBoolConverter.cs create mode 100644 MainPage.xaml create mode 100644 MainPage.xaml.cs create mode 100644 MauiProgram.cs create mode 100644 Models/Contact.cs create mode 100644 Phonebook.csproj create mode 100644 Phonebook.sln create mode 100644 Platforms/Android/AndroidManifest.xml create mode 100644 Platforms/Android/MainActivity.cs create mode 100644 Platforms/Android/MainApplication.cs create mode 100644 Platforms/Android/Resources/values/colors.xml create mode 100644 Platforms/MacCatalyst/AppDelegate.cs create mode 100644 Platforms/MacCatalyst/Entitlements.plist create mode 100644 Platforms/MacCatalyst/Info.plist create mode 100644 Platforms/MacCatalyst/Program.cs create mode 100644 Platforms/Tizen/Main.cs create mode 100644 Platforms/Tizen/tizen-manifest.xml create mode 100644 Platforms/Windows/App.xaml create mode 100644 Platforms/Windows/App.xaml.cs create mode 100644 Platforms/Windows/Package.appxmanifest create mode 100644 Platforms/Windows/app.manifest create mode 100644 Platforms/iOS/AppDelegate.cs create mode 100644 Platforms/iOS/Info.plist create mode 100644 Platforms/iOS/Program.cs create mode 100644 Platforms/iOS/Resources/PrivacyInfo.xcprivacy create mode 100644 Properties/launchSettings.json create mode 100644 Resources/AppIcon/appicon.svg create mode 100644 Resources/AppIcon/appiconfg.svg create mode 100644 Resources/Fonts/FluentUI.cs create mode 100644 Resources/Fonts/OpenSans-Regular.ttf create mode 100644 Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 Resources/Images/default_contact.png create mode 100644 Resources/Images/dotnet_bot.png create mode 100644 Resources/Raw/AboutAssets.txt create mode 100644 Resources/Splash/splash.svg create mode 100644 Resources/Styles/Colors.xaml create mode 100644 Resources/Styles/Styles.xaml create mode 100644 Services/DatabaseService.cs diff --git a/App.xaml b/App.xaml new file mode 100644 index 0000000..4de434a --- /dev/null +++ b/App.xaml @@ -0,0 +1,16 @@ + + + + + + + + + + + + diff --git a/App.xaml.cs b/App.xaml.cs new file mode 100644 index 0000000..0cf1082 --- /dev/null +++ b/App.xaml.cs @@ -0,0 +1,15 @@ +namespace Phonebook +{ + public partial class App : Application + { + public App() + { + InitializeComponent(); + } + + protected override Window CreateWindow(IActivationState? activationState) + { + return new Window(new AppShell()); + } + } +} \ No newline at end of file diff --git a/AppShell.xaml b/AppShell.xaml new file mode 100644 index 0000000..96e7d2b --- /dev/null +++ b/AppShell.xaml @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/AppShell.xaml.cs b/AppShell.xaml.cs new file mode 100644 index 0000000..a374b29 --- /dev/null +++ b/AppShell.xaml.cs @@ -0,0 +1,10 @@ +namespace Phonebook +{ + public partial class AppShell : Shell + { + public AppShell() + { + InitializeComponent(); + } + } +} diff --git a/ContactDetailPage.xaml b/ContactDetailPage.xaml new file mode 100644 index 0000000..dbe7170 --- /dev/null +++ b/ContactDetailPage.xaml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + +