-
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
57 changed files
with
165 additions
and
182 deletions.
There are no files selected for viewing
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
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,24 +1,10 @@ | ||
using Bloxstrap.Enums; | ||
using Bloxstrap.UI.BootstrapperDialogs; | ||
using Bloxstrap.UI.BootstrapperDialogs.WinForms; | ||
using Bloxstrap.UI.BootstrapperDialogs.WPF.Views; | ||
using Bloxstrap.UI; | ||
|
||
namespace Bloxstrap.Extensions | ||
{ | ||
static class BootstrapperStyleEx | ||
{ | ||
public static IBootstrapperDialog GetNew(this BootstrapperStyle bootstrapperStyle) | ||
{ | ||
return bootstrapperStyle switch | ||
{ | ||
BootstrapperStyle.VistaDialog => new VistaDialog(), | ||
BootstrapperStyle.LegacyDialog2009 => new LegacyDialog2009(), | ||
BootstrapperStyle.LegacyDialog2011 => new LegacyDialog2011(), | ||
BootstrapperStyle.ProgressDialog => new ProgressDialog(), | ||
BootstrapperStyle.FluentDialog => new FluentDialog(), | ||
BootstrapperStyle.ByfronDialog => new ByfronDialog(), | ||
_ => new FluentDialog() | ||
}; | ||
} | ||
public static IBootstrapperDialog GetNew(this BootstrapperStyle bootstrapperStyle) => Controls.GetBootstrapperDialog(bootstrapperStyle); | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...p/UI/BootstrapperDialogs/BaseFunctions.cs → ...ements/Bootstrapper/Base/BaseFunctions.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
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
2 changes: 1 addition & 1 deletion
2
...rapperDialogs/WPF/Views/ByfronDialog.xaml → ...I/Elements/Bootstrapper/ByfronDialog.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
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
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
2 changes: 1 addition & 1 deletion
2
...ogs/WinForms/LegacyDialog2009.Designer.cs → ...Bootstrapper/LegacyDialog2009.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
...apperDialogs/WinForms/LegacyDialog2009.cs → ...Elements/Bootstrapper/LegacyDialog2009.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ogs/WinForms/LegacyDialog2011.Designer.cs → ...Bootstrapper/LegacyDialog2011.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...alogs/WinForms/ProgressDialog.Designer.cs → ...s/Bootstrapper/ProgressDialog.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rDialogs/WinForms/VistaDialog.Designer.cs → ...ents/Bootstrapper/VistaDialog.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.