-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf8cbbb
commit ced96a4
Showing
455 changed files
with
241,872 additions
and
52,975 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
Getting-started/.NET-FrameWork/Create-PowerPoint-presentation/App.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/> | ||
</startup> | ||
</configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
Getting-started/.NET-FrameWork/Create-PowerPoint-presentation/packages.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Syncfusion.Compression.Base" version="23.1.44" targetFramework="net46" /> | ||
<package id="Syncfusion.Licensing" version="23.1.44" targetFramework="net46" /> | ||
<package id="Syncfusion.OfficeChart.Base" version="23.1.44" targetFramework="net46" /> | ||
<package id="Syncfusion.Presentation.WinForms" version="23.1.44" targetFramework="net46" /> | ||
<package id="Syncfusion.Compression.Base" version="26.1.42" targetFramework="net462" /> | ||
<package id="Syncfusion.Licensing" version="26.1.42" targetFramework="net462" /> | ||
<package id="Syncfusion.OfficeChart.Base" version="26.1.42" targetFramework="net462" /> | ||
<package id="Syncfusion.Presentation.WinForms" version="26.1.42" targetFramework="net462" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
Getting-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31611.283 | ||
VisualStudioVersion = 17.10.34928.147 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Read-and-edit-presentation", "Read-and-edit-presentation\Read-and-edit-presentation.csproj", "{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}" | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Read-and-edit-presentation", "Read-and-edit-presentation\Read-and-edit-presentation.csproj", "{2E7A6A34-C69C-4BE5-911A-2425998B1B62}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{2336FE40-99FB-4C5F-BE9B-EAB143FBDBE9}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Debug|Any CPU.Deploy.0 = Debug|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{2E7A6A34-C69C-4BE5-911A-2425998B1B62}.Release|Any CPU.Deploy.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} | ||
SolutionGuid = {8E5A62E4-3771-460A-9323-907ACCEAB6C5} | ||
EndGlobalSection | ||
EndGlobal |
27 changes: 8 additions & 19 deletions
27
Getting-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation/App.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,14 @@ | ||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
<?xml version = "1.0" encoding = "UTF-8" ?> | ||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:ReadPowerPoint" | ||
x:Class="ReadPowerPoint.App"> | ||
xmlns:local="clr-namespace:Read_and_edit_presentation" | ||
x:Class="Read_and_edit_presentation.App"> | ||
<Application.Resources> | ||
<ResourceDictionary> | ||
|
||
<Color x:Key="PrimaryColor">#512bdf</Color> | ||
<Color x:Key="SecondaryColor">White</Color> | ||
|
||
<Style TargetType="Label"> | ||
<Setter Property="TextColor" Value="{DynamicResource PrimaryColor}" /> | ||
<Setter Property="FontFamily" Value="OpenSansRegular" /> | ||
</Style> | ||
|
||
<Style TargetType="Button"> | ||
<Setter Property="TextColor" Value="{DynamicResource SecondaryColor}" /> | ||
<Setter Property="FontFamily" Value="OpenSansRegular" /> | ||
<Setter Property="BackgroundColor" Value="{DynamicResource PrimaryColor}" /> | ||
<Setter Property="Padding" Value="14,10" /> | ||
</Style> | ||
|
||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="Resources/Styles/Colors.xaml" /> | ||
<ResourceDictionary Source="Resources/Styles/Styles.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> | ||
</Application.Resources> | ||
</Application> |
17 changes: 9 additions & 8 deletions
17
Getting-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation/App.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
namespace ReadPowerPoint; | ||
|
||
public partial class App : Application | ||
namespace Read_and_edit_presentation | ||
{ | ||
public App() | ||
{ | ||
InitializeComponent(); | ||
public partial class App : Application | ||
{ | ||
public App() | ||
{ | ||
InitializeComponent(); | ||
|
||
MainPage = new MainPage(); | ||
} | ||
MainPage = new AppShell(); | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ing-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation/AppShell.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Shell | ||
x:Class="Read_and_edit_presentation.AppShell" | ||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:local="clr-namespace:Read_and_edit_presentation" | ||
Shell.FlyoutBehavior="Disabled" | ||
Title="Read_and_edit_presentation"> | ||
|
||
<ShellContent | ||
Title="Home" | ||
ContentTemplate="{DataTemplate local:MainPage}" | ||
Route="MainPage" /> | ||
|
||
</Shell> |
10 changes: 10 additions & 0 deletions
10
...-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation/AppShell.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace Read_and_edit_presentation | ||
{ | ||
public partial class AppShell : Shell | ||
{ | ||
public AppShell() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 21 additions & 13 deletions
34
...ng-started/.NET-MAUI/Read-and-edit-presentation/Read-and-edit-presentation/MauiProgram.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
namespace ReadPowerPoint; | ||
using Microsoft.Extensions.Logging; | ||
|
||
public static class MauiProgram | ||
namespace Read_and_edit_presentation | ||
{ | ||
public static MauiApp CreateMauiApp() | ||
{ | ||
var builder = MauiApp.CreateBuilder(); | ||
builder | ||
.UseMauiApp<App>() | ||
.ConfigureFonts(fonts => | ||
{ | ||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); | ||
}); | ||
public static class MauiProgram | ||
{ | ||
public static MauiApp CreateMauiApp() | ||
{ | ||
var builder = MauiApp.CreateBuilder(); | ||
builder | ||
.UseMauiApp<App>() | ||
.ConfigureFonts(fonts => | ||
{ | ||
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); | ||
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); | ||
}); | ||
|
||
return builder.Build(); | ||
} | ||
#if DEBUG | ||
builder.Logging.AddDebug(); | ||
#endif | ||
|
||
return builder.Build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
...ead-and-edit-presentation/Read-and-edit-presentation/Platforms/Android/MainApplication.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
using Android.App; | ||
using Android.Runtime; | ||
|
||
namespace ReadPowerPoint; | ||
|
||
[Application] | ||
public class MainApplication : MauiApplication | ||
namespace Read_and_edit_presentation | ||
{ | ||
public MainApplication(IntPtr handle, JniHandleOwnership ownership) | ||
: base(handle, ownership) | ||
{ | ||
} | ||
[Application] | ||
public class MainApplication : MauiApplication | ||
{ | ||
public MainApplication(IntPtr handle, JniHandleOwnership ownership) | ||
: base(handle, ownership) | ||
{ | ||
} | ||
|
||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
} | ||
} |
11 changes: 6 additions & 5 deletions
11
...ead-and-edit-presentation/Read-and-edit-presentation/Platforms/MacCatalyst/AppDelegate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
using Foundation; | ||
|
||
namespace ReadPowerPoint; | ||
|
||
[Register("AppDelegate")] | ||
public class AppDelegate : MauiUIApplicationDelegate | ||
namespace Read_and_edit_presentation | ||
{ | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
[Register("AppDelegate")] | ||
public class AppDelegate : MauiUIApplicationDelegate | ||
{ | ||
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); | ||
} | ||
} |
Oops, something went wrong.