commit 5ced7ad5357cdf2bd7c0d876f7ac4a415511f633 Author: Mootfrost777 Date: Thu Jun 30 12:22:13 2022 +0300 Initial diff --git a/.vs/MauiApp1/DesignTimeBuild/.dtbcache.v2 b/.vs/MauiApp1/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..3130c5e Binary files /dev/null and b/.vs/MauiApp1/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/MauiApp1/FileContentIndex/07bcac18-d13c-48fb-bc34-d27bcb98c376.vsidx b/.vs/MauiApp1/FileContentIndex/07bcac18-d13c-48fb-bc34-d27bcb98c376.vsidx new file mode 100644 index 0000000..d91b1ed Binary files /dev/null and b/.vs/MauiApp1/FileContentIndex/07bcac18-d13c-48fb-bc34-d27bcb98c376.vsidx differ diff --git a/.vs/MauiApp1/FileContentIndex/53ee47c9-2117-4d2f-b4c0-83d36685dac5.vsidx b/.vs/MauiApp1/FileContentIndex/53ee47c9-2117-4d2f-b4c0-83d36685dac5.vsidx new file mode 100644 index 0000000..89729c1 Binary files /dev/null and b/.vs/MauiApp1/FileContentIndex/53ee47c9-2117-4d2f-b4c0-83d36685dac5.vsidx differ diff --git a/.vs/MauiApp1/FileContentIndex/5e1b8111-85c6-444e-b8b3-9e58c2165839.vsidx b/.vs/MauiApp1/FileContentIndex/5e1b8111-85c6-444e-b8b3-9e58c2165839.vsidx new file mode 100644 index 0000000..86e090c Binary files /dev/null and b/.vs/MauiApp1/FileContentIndex/5e1b8111-85c6-444e-b8b3-9e58c2165839.vsidx differ diff --git a/.vs/MauiApp1/FileContentIndex/77b6ad76-2213-4118-845e-0c2eb65e3657.vsidx b/.vs/MauiApp1/FileContentIndex/77b6ad76-2213-4118-845e-0c2eb65e3657.vsidx new file mode 100644 index 0000000..0a4ec63 Binary files /dev/null and b/.vs/MauiApp1/FileContentIndex/77b6ad76-2213-4118-845e-0c2eb65e3657.vsidx differ diff --git a/.vs/MauiApp1/FileContentIndex/merges/9fa09714-ccd4-4075-99d3-4a28be180c5c.vsidx b/.vs/MauiApp1/FileContentIndex/merges/9fa09714-ccd4-4075-99d3-4a28be180c5c.vsidx new file mode 100644 index 0000000..2752af5 Binary files /dev/null and b/.vs/MauiApp1/FileContentIndex/merges/9fa09714-ccd4-4075-99d3-4a28be180c5c.vsidx differ diff --git a/.vs/MauiApp1/FileContentIndex/read.lock b/.vs/MauiApp1/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/MauiApp1/v17/.futdcache.v2 b/.vs/MauiApp1/v17/.futdcache.v2 new file mode 100644 index 0000000..12af9c5 Binary files /dev/null and b/.vs/MauiApp1/v17/.futdcache.v2 differ diff --git a/.vs/MauiApp1/v17/.suo b/.vs/MauiApp1/v17/.suo new file mode 100644 index 0000000..5ecb70a Binary files /dev/null and b/.vs/MauiApp1/v17/.suo differ diff --git a/.vs/ProjectEvaluation/mauiapp1.metadata.v3 b/.vs/ProjectEvaluation/mauiapp1.metadata.v3 new file mode 100644 index 0000000..ebf81e0 Binary files /dev/null and b/.vs/ProjectEvaluation/mauiapp1.metadata.v3 differ diff --git a/.vs/ProjectEvaluation/mauiapp1.projects.v3 b/.vs/ProjectEvaluation/mauiapp1.projects.v3 new file mode 100644 index 0000000..521b493 Binary files /dev/null and b/.vs/ProjectEvaluation/mauiapp1.projects.v3 differ diff --git a/MauiApp1.sln b/MauiApp1.sln new file mode 100644 index 0000000..fc148c8 --- /dev/null +++ b/MauiApp1.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31611.283 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiApp1", "MauiApp1\MauiApp1.csproj", "{F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Release|Any CPU.Build.0 = Release|Any CPU + {F55C66B0-3AC7-4C64-BE2C-001BFF871AE0}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} + EndGlobalSection +EndGlobal diff --git a/MauiApp1/.gitignore b/MauiApp1/.gitignore new file mode 100644 index 0000000..05c90b6 --- /dev/null +++ b/MauiApp1/.gitignore @@ -0,0 +1,374 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +.nuspec/**/*.dll +.nuspec/**/*.dylib +.nuspec/**/*.so +.XamarinFormsVersionFile.txt +templatesTest/ + +# User-specific files +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Ww][Ii][Nn]32/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# ASP.NET Scaffolding +ScaffoldingReadMe.txt + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +tools/** +!tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder +.ionide/ + +# Fody - auto-generated XML schema +FodyWeavers.xsd +.DS_Store + +# Android Studio +.gradle/ +.idea/ +local.properties \ No newline at end of file diff --git a/MauiApp1/App.xaml b/MauiApp1/App.xaml new file mode 100644 index 0000000..8fb5f38 --- /dev/null +++ b/MauiApp1/App.xaml @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/MauiApp1/App.xaml.cs b/MauiApp1/App.xaml.cs new file mode 100644 index 0000000..49a0b0c --- /dev/null +++ b/MauiApp1/App.xaml.cs @@ -0,0 +1,10 @@ +namespace MauiApp1; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + MainPage = new AppShell(); + } +} diff --git a/MauiApp1/AppShell.xaml b/MauiApp1/AppShell.xaml new file mode 100644 index 0000000..22edb7f --- /dev/null +++ b/MauiApp1/AppShell.xaml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MauiApp1/AppShell.xaml.cs b/MauiApp1/AppShell.xaml.cs new file mode 100644 index 0000000..c74da50 --- /dev/null +++ b/MauiApp1/AppShell.xaml.cs @@ -0,0 +1,16 @@ +namespace MauiApp1; + +public partial class AppShell : Shell +{ + public AppShell() + { + InitializeComponent(); + } + + private void MenuItem_Clicked(object sender, EventArgs e) + { + if (App.Current.UserAppTheme == AppTheme.Dark) + App.Current.UserAppTheme = AppTheme.Light; + else App.Current.UserAppTheme = AppTheme.Dark; + } +} diff --git a/MauiApp1/MainPage.xaml b/MauiApp1/MainPage.xaml new file mode 100644 index 0000000..95ddc53 --- /dev/null +++ b/MauiApp1/MainPage.xaml @@ -0,0 +1,8 @@ + + + + diff --git a/MauiApp1/MainPage.xaml.cs b/MauiApp1/MainPage.xaml.cs new file mode 100644 index 0000000..6a20d00 --- /dev/null +++ b/MauiApp1/MainPage.xaml.cs @@ -0,0 +1,13 @@ +namespace MauiApp1; + +public partial class MainPage : ContentPage +{ + int count = 0; + + public MainPage() + { + InitializeComponent(); + + } +} + diff --git a/MauiApp1/MauiApp1.csproj b/MauiApp1/MauiApp1.csproj new file mode 100644 index 0000000..6ef4b98 --- /dev/null +++ b/MauiApp1/MauiApp1.csproj @@ -0,0 +1,71 @@ + + + + net6.0-android;net6.0-ios;net6.0-maccatalyst + $(TargetFrameworks);net6.0-windows10.0.19041.0 + + + Exe + MauiApp1 + true + true + enable + + + MauiApp1 + + + com.companyname.mauiapp1 + D20EA8C3-C40B-4DA9-92B8-64E05C7C589C + + + 1.0 + 1 + + 14.2 + 14.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MSBuild:Compile + + + MSBuild:Compile + + + MSBuild:Compile + + + + diff --git a/MauiApp1/MauiProgram.cs b/MauiApp1/MauiProgram.cs new file mode 100644 index 0000000..cb7be52 --- /dev/null +++ b/MauiApp1/MauiProgram.cs @@ -0,0 +1,18 @@ +namespace MauiApp1; + +public static class MauiProgram +{ + public static MauiApp CreateMauiApp() + { + var builder = MauiApp.CreateBuilder(); + builder + .UseMauiApp() + .ConfigureFonts(fonts => + { + fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); + fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); + }); + + return builder.Build(); + } +} \ No newline at end of file diff --git a/MauiApp1/Model/Transaction.cs b/MauiApp1/Model/Transaction.cs new file mode 100644 index 0000000..c2124f8 --- /dev/null +++ b/MauiApp1/Model/Transaction.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MauiApp1.Model +{ + public class Transaction + { + private string category; + private float price; + + public Transaction(string category, float price) + { + this.category = category; + this.price = price; + } + + public string Category + { + get { return category; } + set { category = value; } + } + + public float Price + { + get { return price; } + set { price = value; } + } + } +} diff --git a/MauiApp1/Platforms/Android/AndroidManifest.xml b/MauiApp1/Platforms/Android/AndroidManifest.xml new file mode 100644 index 0000000..e9937ad --- /dev/null +++ b/MauiApp1/Platforms/Android/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/MauiApp1/Platforms/Android/MainActivity.cs b/MauiApp1/Platforms/Android/MainActivity.cs new file mode 100644 index 0000000..1a01a5f --- /dev/null +++ b/MauiApp1/Platforms/Android/MainActivity.cs @@ -0,0 +1,10 @@ +using Android.App; +using Android.Content.PM; +using Android.OS; + +namespace MauiApp1; + +[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] +public class MainActivity : MauiAppCompatActivity +{ +} diff --git a/MauiApp1/Platforms/Android/MainApplication.cs b/MauiApp1/Platforms/Android/MainApplication.cs new file mode 100644 index 0000000..562eeb5 --- /dev/null +++ b/MauiApp1/Platforms/Android/MainApplication.cs @@ -0,0 +1,15 @@ +using Android.App; +using Android.Runtime; + +namespace MauiApp1; + +[Application] +public class MainApplication : MauiApplication +{ + public MainApplication(IntPtr handle, JniHandleOwnership ownership) + : base(handle, ownership) + { + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/MauiApp1/Platforms/Android/Resources/values/colors.xml b/MauiApp1/Platforms/Android/Resources/values/colors.xml new file mode 100644 index 0000000..c04d749 --- /dev/null +++ b/MauiApp1/Platforms/Android/Resources/values/colors.xml @@ -0,0 +1,6 @@ + + + #512BD4 + #2B0B98 + #2B0B98 + \ No newline at end of file diff --git a/MauiApp1/Platforms/MacCatalyst/AppDelegate.cs b/MauiApp1/Platforms/MacCatalyst/AppDelegate.cs new file mode 100644 index 0000000..386ebbf --- /dev/null +++ b/MauiApp1/Platforms/MacCatalyst/AppDelegate.cs @@ -0,0 +1,9 @@ +using Foundation; + +namespace MauiApp1; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/MauiApp1/Platforms/MacCatalyst/Info.plist b/MauiApp1/Platforms/MacCatalyst/Info.plist new file mode 100644 index 0000000..c96dd0a --- /dev/null +++ b/MauiApp1/Platforms/MacCatalyst/Info.plist @@ -0,0 +1,30 @@ + + + + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/MauiApp1/Platforms/MacCatalyst/Program.cs b/MauiApp1/Platforms/MacCatalyst/Program.cs new file mode 100644 index 0000000..1355767 --- /dev/null +++ b/MauiApp1/Platforms/MacCatalyst/Program.cs @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace MauiApp1; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/MauiApp1/Platforms/Tizen/Main.cs b/MauiApp1/Platforms/Tizen/Main.cs new file mode 100644 index 0000000..07507af --- /dev/null +++ b/MauiApp1/Platforms/Tizen/Main.cs @@ -0,0 +1,16 @@ +using System; +using Microsoft.Maui; +using Microsoft.Maui.Hosting; + +namespace MauiApp1; + +class Program : MauiApplication +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); + + static void Main(string[] args) + { + var app = new Program(); + app.Run(args); + } +} diff --git a/MauiApp1/Platforms/Tizen/tizen-manifest.xml b/MauiApp1/Platforms/Tizen/tizen-manifest.xml new file mode 100644 index 0000000..f389712 --- /dev/null +++ b/MauiApp1/Platforms/Tizen/tizen-manifest.xml @@ -0,0 +1,15 @@ + + + + + + appicon.xhigh.png + + + + + http://tizen.org/privilege/internet + + + + \ No newline at end of file diff --git a/MauiApp1/Platforms/Windows/App.xaml b/MauiApp1/Platforms/Windows/App.xaml new file mode 100644 index 0000000..4cf2244 --- /dev/null +++ b/MauiApp1/Platforms/Windows/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/MauiApp1/Platforms/Windows/App.xaml.cs b/MauiApp1/Platforms/Windows/App.xaml.cs new file mode 100644 index 0000000..952f9b1 --- /dev/null +++ b/MauiApp1/Platforms/Windows/App.xaml.cs @@ -0,0 +1,24 @@ +using Microsoft.UI.Xaml; + +// To learn more about WinUI, the WinUI project structure, +// and more about our project templates, see: http://aka.ms/winui-project-info. + +namespace MauiApp1.WinUI; + +/// +/// Provides application-specific behavior to supplement the default Application class. +/// +public partial class App : MauiWinUIApplication +{ + /// + /// Initializes the singleton application object. This is the first line of authored code + /// executed, and as such is the logical equivalent of main() or WinMain(). + /// + public App() + { + this.InitializeComponent(); + } + + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} + diff --git a/MauiApp1/Platforms/Windows/Package.appxmanifest b/MauiApp1/Platforms/Windows/Package.appxmanifest new file mode 100644 index 0000000..2bcb11e --- /dev/null +++ b/MauiApp1/Platforms/Windows/Package.appxmanifest @@ -0,0 +1,43 @@ + + + + + + + $placeholder$ + User Name + $placeholder$.png + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MauiApp1/Platforms/Windows/app.manifest b/MauiApp1/Platforms/Windows/app.manifest new file mode 100644 index 0000000..2da12c4 --- /dev/null +++ b/MauiApp1/Platforms/Windows/app.manifest @@ -0,0 +1,15 @@ + + + + + + + + true/PM + PerMonitorV2, PerMonitor + + + diff --git a/MauiApp1/Platforms/iOS/AppDelegate.cs b/MauiApp1/Platforms/iOS/AppDelegate.cs new file mode 100644 index 0000000..386ebbf --- /dev/null +++ b/MauiApp1/Platforms/iOS/AppDelegate.cs @@ -0,0 +1,9 @@ +using Foundation; + +namespace MauiApp1; + +[Register("AppDelegate")] +public class AppDelegate : MauiUIApplicationDelegate +{ + protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); +} diff --git a/MauiApp1/Platforms/iOS/Info.plist b/MauiApp1/Platforms/iOS/Info.plist new file mode 100644 index 0000000..0004a4f --- /dev/null +++ b/MauiApp1/Platforms/iOS/Info.plist @@ -0,0 +1,32 @@ + + + + + LSRequiresIPhoneOS + + UIDeviceFamily + + 1 + 2 + + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + XSAppIconAssets + Assets.xcassets/appicon.appiconset + + diff --git a/MauiApp1/Platforms/iOS/Program.cs b/MauiApp1/Platforms/iOS/Program.cs new file mode 100644 index 0000000..1355767 --- /dev/null +++ b/MauiApp1/Platforms/iOS/Program.cs @@ -0,0 +1,15 @@ +using ObjCRuntime; +using UIKit; + +namespace MauiApp1; + +public class Program +{ + // This is the main entry point of the application. + static void Main(string[] args) + { + // if you want to use a different Application Delegate class from "AppDelegate" + // you can specify it here. + UIApplication.Main(args, null, typeof(AppDelegate)); + } +} diff --git a/MauiApp1/Properties/launchSettings.json b/MauiApp1/Properties/launchSettings.json new file mode 100644 index 0000000..edf8aad --- /dev/null +++ b/MauiApp1/Properties/launchSettings.json @@ -0,0 +1,8 @@ +{ + "profiles": { + "Windows Machine": { + "commandName": "MsixPackage", + "nativeDebugging": false + } + } +} \ No newline at end of file diff --git a/MauiApp1/Resources/AppIcon/appicon.svg b/MauiApp1/Resources/AppIcon/appicon.svg new file mode 100644 index 0000000..9d63b65 --- /dev/null +++ b/MauiApp1/Resources/AppIcon/appicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/MauiApp1/Resources/AppIcon/appiconfg.svg b/MauiApp1/Resources/AppIcon/appiconfg.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/MauiApp1/Resources/AppIcon/appiconfg.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/MauiApp1/Resources/Fonts/OpenSans-Regular.ttf b/MauiApp1/Resources/Fonts/OpenSans-Regular.ttf new file mode 100644 index 0000000..534d009 Binary files /dev/null and b/MauiApp1/Resources/Fonts/OpenSans-Regular.ttf differ diff --git a/MauiApp1/Resources/Fonts/OpenSans-Semibold.ttf b/MauiApp1/Resources/Fonts/OpenSans-Semibold.ttf new file mode 100644 index 0000000..f333153 Binary files /dev/null and b/MauiApp1/Resources/Fonts/OpenSans-Semibold.ttf differ diff --git a/MauiApp1/Resources/Images/dotnet_bot.svg b/MauiApp1/Resources/Images/dotnet_bot.svg new file mode 100644 index 0000000..abfaff2 --- /dev/null +++ b/MauiApp1/Resources/Images/dotnet_bot.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MauiApp1/Resources/Images/icon_info.png b/MauiApp1/Resources/Images/icon_info.png new file mode 100644 index 0000000..c746a9d Binary files /dev/null and b/MauiApp1/Resources/Images/icon_info.png differ diff --git a/MauiApp1/Resources/Images/icon_list.png b/MauiApp1/Resources/Images/icon_list.png new file mode 100644 index 0000000..62044fe Binary files /dev/null and b/MauiApp1/Resources/Images/icon_list.png differ diff --git a/MauiApp1/Resources/Images/icon_stat.png b/MauiApp1/Resources/Images/icon_stat.png new file mode 100644 index 0000000..d7c646f Binary files /dev/null and b/MauiApp1/Resources/Images/icon_stat.png differ diff --git a/MauiApp1/Resources/Images/icon_theme.png b/MauiApp1/Resources/Images/icon_theme.png new file mode 100644 index 0000000..1e3b143 Binary files /dev/null and b/MauiApp1/Resources/Images/icon_theme.png differ diff --git a/MauiApp1/Resources/Images/icon_transac.png b/MauiApp1/Resources/Images/icon_transac.png new file mode 100644 index 0000000..f5867f1 Binary files /dev/null and b/MauiApp1/Resources/Images/icon_transac.png differ diff --git a/MauiApp1/Resources/Raw/AboutAssets.txt b/MauiApp1/Resources/Raw/AboutAssets.txt new file mode 100644 index 0000000..15d6244 --- /dev/null +++ b/MauiApp1/Resources/Raw/AboutAssets.txt @@ -0,0 +1,15 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories). Deployment of the asset to your application +is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. + + + +These files will be deployed with you package and will be accessible using Essentials: + + async Task LoadMauiAsset() + { + using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); + using var reader = new StreamReader(stream); + + var contents = reader.ReadToEnd(); + } diff --git a/MauiApp1/Resources/Splash/splash.svg b/MauiApp1/Resources/Splash/splash.svg new file mode 100644 index 0000000..21dfb25 --- /dev/null +++ b/MauiApp1/Resources/Splash/splash.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/MauiApp1/Resources/Styles/Colors.xaml b/MauiApp1/Resources/Styles/Colors.xaml new file mode 100644 index 0000000..b86deab --- /dev/null +++ b/MauiApp1/Resources/Styles/Colors.xaml @@ -0,0 +1,47 @@ + + + + + #F5F5DC + #6D6552 + + #512BD4 + #DFD8F7 + #2B0B98 + White + Black + #E1E1E1 + #C8C8C8 + #ACACAC + #919191 + #6E6E6E + #404040 + #212121 + #141414 + + + + + + + + + + + + + + + #F7B548 + #FFD590 + #FFE5B9 + #28C2D1 + #7BDDEF + #C3F2F4 + #3E8EED + #72ACF1 + #A7CBF6 + + \ No newline at end of file diff --git a/MauiApp1/Resources/Styles/Styles.xaml b/MauiApp1/Resources/Styles/Styles.xaml new file mode 100644 index 0000000..1ec9d55 --- /dev/null +++ b/MauiApp1/Resources/Styles/Styles.xaml @@ -0,0 +1,384 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MauiApp1/View/AddTransactionView.xaml b/MauiApp1/View/AddTransactionView.xaml new file mode 100644 index 0000000..5fb61e6 --- /dev/null +++ b/MauiApp1/View/AddTransactionView.xaml @@ -0,0 +1,19 @@ + + + +