Skip to content

Commit 5294ff9

Browse files
Update a sample
1 parent e2a8bd5 commit 5294ff9

20 files changed

+35
-39
lines changed

ProgressBar/ProgressBar.sln

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.0.31611.283
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProgressBar", "ProgressBar\ProgressBar.csproj", "{ED3211B4-F039-4568-A974-DAF247618A8E}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProgressBar", "ProgressBar\ProgressBar.csproj", "{2E8CCEEF-021A-449D-81EE-E3CECF987E55}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Release|Any CPU.Build.0 = Release|Any CPU
19-
{ED3211B4-F039-4568-A974-DAF247618A8E}.Release|Any CPU.Deploy.0 = Release|Any CPU
14+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
17+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Release|Any CPU.Build.0 = Release|Any CPU
19+
{2E8CCEEF-021A-449D-81EE-E3CECF987E55}.Release|Any CPU.Deploy.0 = Release|Any CPU
2020
EndGlobalSection
2121
GlobalSection(SolutionProperties) = preSolution
2222
HideSolutionNode = FALSE

ProgressBar/ProgressBar/App.xaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version = "1.0" encoding = "UTF-8" ?>
22
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4-
xmlns:local="clr-namespace:ProgressBarKB"
5-
x:Class="ProgressBarKB.App">
4+
xmlns:local="clr-namespace:ProgressBar"
5+
x:Class="ProgressBar.App">
66
<Application.Resources>
77
<ResourceDictionary>
88
<ResourceDictionary.MergedDictionaries>

ProgressBar/ProgressBar/App.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace ProgressBarKB;
1+
namespace ProgressBar;
22

33
public partial class App : Application
44
{

ProgressBar/ProgressBar/AppShell.xaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<Shell
3-
x:Class="ProgressBarKB.AppShell"
3+
x:Class="ProgressBar.AppShell"
44
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
55
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6-
xmlns:local="clr-namespace:ProgressBarKB"
6+
xmlns:local="clr-namespace:ProgressBar"
77
Shell.FlyoutBehavior="Disabled">
88

99
<ShellContent

ProgressBar/ProgressBar/AppShell.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace ProgressBarKB;
1+
namespace ProgressBar;
22

33
public partial class AppShell : Shell
44
{

ProgressBar/ProgressBar/MainPage.xaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
xmlns:gauge="clr-namespace:Syncfusion.Maui.Gauges;assembly=Syncfusion.Maui.Gauges"
5-
x:Class="ProgressBarKB.MainPage">
5+
x:Class="ProgressBar.MainPage">
66

77
<gauge:SfLinearGauge Maximum="100"
88
WidthRequest="350"
@@ -42,4 +42,4 @@
4242
</gauge:LinearContentPointer>
4343
</gauge:SfLinearGauge.MarkerPointers>
4444
</gauge:SfLinearGauge>
45-
</ContentPage>
45+
</ContentPage>
+1-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
namespace ProgressBarKB;
1+
namespace ProgressBar;
22

33
public partial class MainPage : ContentPage
44
{
5-
int count = 0;
6-
75
public MainPage()
86
{
97
InitializeComponent();
108
}
11-
12-
139
}
1410

ProgressBar/ProgressBar/MauiProgram.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Syncfusion.Maui.Core.Hosting;
22

3-
namespace ProgressBarKB;
3+
namespace ProgressBar;
44

55
public static class MauiProgram
66
{

ProgressBar/ProgressBar/Platforms/Android/MainActivity.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Android.Content.PM;
33
using Android.OS;
44

5-
namespace ProgressBarKB;
5+
namespace ProgressBar;
66

77
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
88
public class MainActivity : MauiAppCompatActivity

ProgressBar/ProgressBar/Platforms/Android/MainApplication.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Android.App;
22
using Android.Runtime;
33

4-
namespace ProgressBarKB;
4+
namespace ProgressBar;
55

66
[Application]
77
public class MainApplication : MauiApplication

ProgressBar/ProgressBar/Platforms/MacCatalyst/AppDelegate.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Foundation;
22

3-
namespace ProgressBarKB;
3+
namespace ProgressBar;
44

55
[Register("AppDelegate")]
66
public class AppDelegate : MauiUIApplicationDelegate

ProgressBar/ProgressBar/Platforms/MacCatalyst/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using ObjCRuntime;
22
using UIKit;
33

4-
namespace ProgressBarKB;
4+
namespace ProgressBar;
55

66
public class Program
77
{

ProgressBar/ProgressBar/Platforms/Tizen/Main.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using Microsoft.Maui;
33
using Microsoft.Maui.Hosting;
44

5-
namespace ProgressBarKB;
5+
namespace ProgressBar;
66

77
class Program : MauiApplication
88
{

ProgressBar/ProgressBar/Platforms/Tizen/tizen-manifest.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="com.companyname.ProgressBarKB" version="1.0.0" api-version="7" xmlns="http://tizen.org/ns/packages">
2+
<manifest package="com.companyname.ProgressBar" version="1.0.0" api-version="7" xmlns="http://tizen.org/ns/packages">
33
<profile name="common" />
4-
<ui-application appid="com.companyname.ProgressBarKB" exec="ProgressBarKB.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
5-
<label>ProgressBarKB</label>
4+
<ui-application appid="com.companyname.ProgressBar" exec="ProgressBar.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
5+
<label>ProgressBar</label>
66
<icon>appicon.xhigh.png</icon>
77
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
88
</ui-application>
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<maui:MauiWinUIApplication
2-
x:Class="ProgressBarKB.WinUI.App"
2+
x:Class="ProgressBar.WinUI.App"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:maui="using:Microsoft.Maui"
6-
xmlns:local="using:ProgressBarKB.WinUI">
6+
xmlns:local="using:ProgressBar.WinUI">
77

88
</maui:MauiWinUIApplication>

ProgressBar/ProgressBar/Platforms/Windows/App.xaml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// To learn more about WinUI, the WinUI project structure,
44
// and more about our project templates, see: http://aka.ms/winui-project-info.
55

6-
namespace ProgressBarKB.WinUI;
6+
namespace ProgressBar.WinUI;
77

88
/// <summary>
99
/// Provides application-specific behavior to supplement the default Application class.

ProgressBar/ProgressBar/Platforms/Windows/app.manifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3-
<assemblyIdentity version="1.0.0.0" name="ProgressBarKB.WinUI.app"/>
3+
<assemblyIdentity version="1.0.0.0" name="ProgressBar.WinUI.app"/>
44

55
<application xmlns="urn:schemas-microsoft-com:asm.v3">
66
<windowsSettings>

ProgressBar/ProgressBar/Platforms/iOS/AppDelegate.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Foundation;
22

3-
namespace ProgressBarKB;
3+
namespace ProgressBar;
44

55
[Register("AppDelegate")]
66
public class AppDelegate : MauiUIApplicationDelegate

ProgressBar/ProgressBar/Platforms/iOS/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using ObjCRuntime;
22
using UIKit;
33

4-
namespace ProgressBarKB;
4+
namespace ProgressBar;
55

66
public class Program
77
{

ProgressBar/ProgressBar/ProgressBar.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
77
<!-- <TargetFrameworks>$(TargetFrameworks);net6.0-tizen</TargetFrameworks> -->
88
<OutputType>Exe</OutputType>
9-
<RootNamespace>ProgressBarKB</RootNamespace>
9+
<RootNamespace>ProgressBar</RootNamespace>
1010
<UseMaui>true</UseMaui>
1111
<SingleProject>true</SingleProject>
1212
<ImplicitUsings>enable</ImplicitUsings>
1313

1414
<!-- Display name -->
15-
<ApplicationTitle>ProgressBarKB</ApplicationTitle>
15+
<ApplicationTitle>ProgressBar</ApplicationTitle>
1616

1717
<!-- App Identifier -->
18-
<ApplicationId>com.companyname.progressbarkb</ApplicationId>
19-
<ApplicationIdGuid>5FF77835-42A3-47A8-9418-E89312F1F973</ApplicationIdGuid>
18+
<ApplicationId>com.companyname.progressbar</ApplicationId>
19+
<ApplicationIdGuid>C4B5DA0F-10D3-406B-87A4-9287FAF3DA2C</ApplicationIdGuid>
2020

2121
<!-- Versions -->
2222
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>

0 commit comments

Comments
 (0)