diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..e9844ff
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,27 @@
+version: 1.5.{build}
+
+branches:
+ only:
+ - master
+
+before_build:
+ - cmd: nuget restore source/MsgBoxDemo.sln
+
+build:
+ verbosity: minimal
+
+configuration: Release
+
+platform: Any CPU
+
+image: Visual Studio 2019 Preview
+
+install:
+ - cmd: choco install dotnetcore-sdk --pre
+
+artifacts:
+- path: source\MsgBoxDemo\bin\Release
+ name: MsgBoxDemo
+
+- path: source\MsgBox\bin\Release
+ name: MsgBox
diff --git a/source/MsgBox/AssemblyInfo.cs b/source/MsgBox/AssemblyInfo.cs
new file mode 100644
index 0000000..8b5504e
--- /dev/null
+++ b/source/MsgBox/AssemblyInfo.cs
@@ -0,0 +1,10 @@
+using System.Windows;
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+ //(used if a resource is not found in the page,
+ // or application resource dictionaries)
+ ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+ //(used if a resource is not found in the page,
+ // app, or any theme specific resource dictionaries)
+)]
diff --git a/source/MsgBox/ClassDiagram1.cd b/source/MsgBox/ClassDiagram1.cd
deleted file mode 100644
index 7b89419..0000000
--- a/source/MsgBox/ClassDiagram1.cd
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/MsgBox/IMsgBox.cs b/source/MsgBox/IMsgBox.cs
deleted file mode 100644
index 1a831d0..0000000
--- a/source/MsgBox/IMsgBox.cs
+++ /dev/null
@@ -1,518 +0,0 @@
-namespace MsgBox
-{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Security;
- using System.Text;
- using System.Windows;
-
- ///
- /// Interface to non-static message box class methods and properties.
- ///
- public interface IMsgBox
- {
- #region properties
- ///
- /// Get/set property to determine whether message box can be styled in WPF or not.
- ///
- MsgBoxStyle Style { get; set; }
- #endregion properties
-
- #region methods
- #region System.MessageBox replacements
- ///
- /// Displays a message box that has a message and that returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText);
-
- ///
- /// Displays a message box that has a message and that returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption);
-
- ///
- /// Displays a message box that has a message and that returns a result.
- ///
- /// A System.Windows.Window that represents the owner window of the message box.
- /// A System.String that specifies the text to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Window owner, string messageBoxText);
-
- ///
- /// Displays a message box that has a message, title bar caption, and button; and that returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption, MsgBoxButtons button);
-
- ///
- /// Displays a message box in front of the specified window.
- /// The message box displays a message and title bar caption; and it returns a result.
- ///
- /// A System.Windows.Window that represents the owner window of the message box.
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Window owner, string messageBoxText, string caption);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon; and that returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MsgBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon);
-
- ///
- /// Displays a message box in front of the specified window. The message box displays a message,
- /// title bar caption, and button; and it also returns a result.
- ///
- /// A System.Windows.Window that represents the owner window of the message box.
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MsgBoxButtons value that specifies which button or buttons to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Window owner, string messageBoxText, string caption, MsgBoxButtons button);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult);
-
- ///
- /// Displays a message box in front of the specified window. The message box displays
- /// a message, title bar caption, button, and icon; and it also returns a result.
- ///
- /// A System.Windows.Window that represents the owner window of the message box.
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Window owner, string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon);
-
- ///
- /// Displays a message box in front of the specified window. The message box displays a message,
- /// title bar caption, button, and icon; and accepts a default message box result and returns a result.
- ///
- /// A System.Windows.Window that represents the owner window of the message box.
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Window owner, string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult);
- #endregion System.MessageBox replacements
-
- #region custom messagebox methods
- ///
- /// Display a message box. The message box displays a message, title bar caption, button, and icon.
- /// Further options, such as, link to background information + naviagtion function, and copy button
- /// can be displayed.
- ///
- /// The mothod accepts a default message box result and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText,
- string caption,
- MsgBoxButtons buttonOption,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// Determines the address to browsed to when displaying a help link. This parameter can be a URI or string object.
- /// Determines the text for displaying a help link.
- /// By default the text is the toString() content of the
- /// but it can also be a different text set here.
- /// Text label of the displayed hyperlink (if any)
- /// Method to execute when the user clicked the hyperlink
- /// Show a UI element (e.g. button) that lets the user copy the displayed message into the Windows clipboard
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A System.String that specifies the title bar caption to display.
- /// Displays a details section (e.g. expander) where a long message, such as, a stacktrace can be displayed within a scrollviewer.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// Determines the address to browsed to when displaying a help link. This parameter can be a URI or string object.
- /// Determines the text for displaying a help link.
- /// By default the text is the toString() content of the
- /// but it can also be a different text set here.
- /// Text label of the displayed hyperlink (if any)
- /// Method to execute when the user clicked the hyperlink
- /// Show a UI element (e.g. button) that lets the user copy the displayed message into the Windows clipboard
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText,
- string caption = "",
- string details = "",
- MsgBoxButtons button = MsgBoxButtons.OK,
- MsgBoxImage icon = MsgBoxImage.Error,
- MsgBoxResult defaultResult = MsgBoxResult.OK,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// Exception object (details: stacktrace and messages are displayed in details section)
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// Determines the address to browsed to when displaying a help link. This parameter can be a URI or string object.
- /// Determines the text for displaying a help link.
- /// By default the text is the toString() content of the
- /// but it can also be a different text set here.
- /// Text label of the displayed hyperlink (if any)
- /// Method to execute when the user clicked the hyperlink
- /// Show a UI element (e.g. button) that lets the user copy the displayed message into the Windows clipboard
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Exception ex,
- string caption = "",
- MsgBoxButtons button = MsgBoxButtons.OK,
- MsgBoxImage icon = MsgBoxImage.Error,
- MsgBoxResult defaultResult = MsgBoxResult.OK,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// A System.String that specifies the text to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// Determines the address to browsed to when displaying a help link. This parameter can be a URI or string object.
- /// Determines the text for displaying a help link.
- /// By default the text is the toString() content of the
- /// but it can also be a different text set here.
- /// Text label of the displayed hyperlink (if any)
- /// Method to execute when the user clicked the hyperlink
- /// Show a UI element (e.g. button) that lets the user copy the displayed message into the Windows clipboard
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box that has a message, title bar caption, button, and icon;
- /// and that accepts a default message box result and returns a result.
- ///
- /// Exception object (details: stacktrace and messages are displayed in details section)
- /// A System.String that specifies the details to display.
- /// A System.String that specifies the title bar caption to display.
- /// A Msg.MessageBoxButton value that specifies which button or buttons to display.
- /// A Msg.MessageBoxImage value that specifies the icon to display.
- /// A MsgBox.MsgBoxResult value that specifies the default result of the message box.
- /// Determines the address to browsed to when displaying a help link. This parameter can be a URI or string object.
- /// Determines the text for displaying a help link.
- /// By default the text is the toString() content of the
- /// but it can also be a different text set here.
- /// Text label of the displayed hyperlink (if any)
- /// Method to execute when the user clicked the hyperlink
- /// Show a UI element (e.g. button) that lets the user copy the displayed message into the Windows clipboard
- /// A MsgBox.MsgBoxResult value that specifies which message box button is clicked by the user.
- [SecurityCritical]
- MsgBoxResult Show(Exception ex,
- string messageBoxText = "",
- string caption = "",
- MsgBoxButtons button = MsgBoxButtons.OK,
- MsgBoxImage icon = MsgBoxImage.Error,
- MsgBoxResult defaultResult = MsgBoxResult.OK,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the specified window.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box displays a message,
- /// title bar caption, button, and icon; and accepts a default message box result and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(Window owner,
- string messageBoxText, string caption,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxButtons buttonOption = MsgBoxButtons.OK,
- MsgBoxImage image = MsgBoxImage.Error,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLinkLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the current window being shown.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box can display a message,
- /// a hyperlink, and copy bitton; and accepts a default message box botton and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the current window being shown.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box can display a message, caption,
- /// a hyperlink, and copy bitton; and accepts a default message box botton and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the current window being shown.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box can display a message, caption, custom buttons (yes, no etc...),
- /// a hyperlink, and copy bitton; and accepts a default message box botton and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption,
- MsgBoxButtons buttonOption,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the current window being shown.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box can display a message, caption, custom buttons (yes, no etc...), an image,
- /// a hyperlink, and copy bitton; and accepts a default message box botton and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption,
- MsgBoxButtons buttonOption, MsgBoxImage image,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
-
- ///
- /// Displays a message box in front of the current window being shown.
- ///
- /// The caller can specify with whether users can close the
- /// message box dialog view via F4 key, esc key or window close (x) button. Use the
- /// parameter to define the results being returned if the user is allowed to close the message box via
- /// F4 key, esc key or window close (x) [Window chrome accessibility].
- ///
- /// The message box can display a message, caption, additional details, custom buttons (yes, no etc...), an image,
- /// a hyperlink, and copy bitton; and accepts a default message box botton and returns a result.
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- [SecurityCritical]
- MsgBoxResult Show(string messageBoxText, string caption,
- string details,
- MsgBoxButtons buttonOption, MsgBoxImage image,
- MsgBoxResult defaultCloseResult,
- bool dialogCanCloseViaChrome,
- MsgBoxResult btnDefault = MsgBoxResult.None,
- object helpLink = null,
- string helpLinkTitle = "",
- string helpLabel = "",
- Func navigateHelplinkMethod = null,
- bool showCopyMessage = false);
- #endregion custom messagebox methods
- #endregion methods
- }
-}
diff --git a/source/MsgBox/Local/Strings.Designer.cs b/source/MsgBox/Local/Strings.Designer.cs
index b98fe48..dd74912 100644
--- a/source/MsgBox/Local/Strings.Designer.cs
+++ b/source/MsgBox/Local/Strings.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34209
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -19,7 +19,7 @@ namespace MsgBox.Local {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Strings {
diff --git a/source/MsgBox/MsgBox.cs b/source/MsgBox/MsgBox.cs
deleted file mode 100644
index 6f89fdc..0000000
--- a/source/MsgBox/MsgBox.cs
+++ /dev/null
@@ -1,156 +0,0 @@
-namespace MsgBox
-{
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Security;
- using System.Text;
- using MsgBox.Internal;
-
- ///
- /// Class implements ...
- ///
- public class MessageBox : IMsgBox
- {
- #region fields
- #endregion fields
-
- #region constructor
- ///
- /// Class constructor
- ///
- public MessageBox()
- {
- }
- #endregion constructor
-
- #region properties
- #endregion properties
-
- #region methods
- #endregion methods
-
-
- MsgBoxStyle IMsgBox.Style
- {
- get
- {
- throw new NotImplementedException();
- }
- set
- {
- throw new NotImplementedException();
- }
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons button)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText, string caption)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText, string caption, MsgBoxButtons button)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons buttonOption, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, string details, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(Exception ex, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(Exception ex, string messageBoxText, string caption, MsgBoxButtons button, MsgBoxImage icon, MsgBoxResult defaultResult, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(System.Windows.Window owner, string messageBoxText, string caption, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxButtons buttonOption, MsgBoxImage image, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLinkLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons buttonOption, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, MsgBoxButtons buttonOption, MsgBoxImage image, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
-
- MsgBoxResult IMsgBox.Show(string messageBoxText, string caption, string details, MsgBoxButtons buttonOption, MsgBoxImage image, MsgBoxResult defaultCloseResult, bool dialogCanCloseViaChrome, MsgBoxResult btnDefault, object helpLink, string helpLinkTitle, string helpLabel, Func navigateHelplinkMethod, bool showCopyMessage)
- {
- throw new NotImplementedException();
- }
- }
-}
diff --git a/source/MsgBox/MsgBox.csproj b/source/MsgBox/MsgBox.csproj
index efdcf6c..e251fef 100644
--- a/source/MsgBox/MsgBox.csproj
+++ b/source/MsgBox/MsgBox.csproj
@@ -1,317 +1,270 @@
-
-
+
+
- Debug
- AnyCPU
- 8.0.30703
- 2.0
- {2F8EF004-1E7A-429D-863B-5A062A90705A}
- Library
- Properties
- MsgBox
- MsgBox
- v4.5.1
- 512
-
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- bin\Release\MsgBox.XML
- false
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
- ManagedMinimumRules.ruleset
- false
-
-
- bin\x86\Release\
- TRACE
- bin\Release\MsgBox.XML
- true
- pdbonly
- x86
- prompt
- ManagedMinimumRules.ruleset
- false
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
-
-
- bin\x64\Release\
- TRACE
- bin\Release\MsgBox.XML
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
+ net451;netcoreapp3.0
+ true
+
+
+ MsgBox
+ Dirkster.MsgBox
+ Themable Message Box Service Implementation
+ 2012 - 2019
+ Open Source
+ Themable user notifications WPF control through pop-up elements
+ 1.5
+ 1.5
+ 1.5
+ 1.5
+ https://github.com/Dirkster99/MsgBox
+ https://github.com/Dirkster99/MsgBox
+ true
+ wpf mvvm c# .net metro dark light themed control library messagebox service API
+ https://raw.githubusercontent.com/Dirkster99/Docu/master/MsgBox/ProjectIcon.png
+ MIT
+ Package Update with support based on .NetCore 3 Preview 8 and .Net4.5.
+ en
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- ..\packages\Dirkster.UserNotifications.1.4.1\lib\net4\UserNotification.dll
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
Strings.de-DE.resx
- True
True
-
-
- Strings.zh-Hans.resx
True
- True
-
- Strings.hi.resx
- True
+
+ Strings.resx
True
-
-
- Strings.it-IT.resx
True
- True
-
+
Strings.es-ES.resx
- True
True
+ True
-
+
Strings.fr-FR.resx
- True
True
+ True
-
- Strings.nl-NL.resx
+
+ Strings.hi.resx
+ True
True
+
+
+ Strings.it-IT.resx
True
+ True
-
+
+ Strings.nl-NL.resx
+ True
True
+
+
+ Strings.zh-Hans.resx
True
- Strings.resx
+ True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
MsgBoxDialog.xaml
-
+
MsgBoxView.xaml
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PublicResXFileCodeGenerator
+
Strings.de-DE.Designer.cs
+ PublicResXFileCodeGenerator
-
+
+ Strings.es-ES.Designer.cs
PublicResXFileCodeGenerator
- Strings.zh-Hans.Designer.cs
-
+
+ Strings.fr-FR.Designer.cs
PublicResXFileCodeGenerator
- Strings.hi.Designer.cs
-
+
+ Strings.hi.Designer.cs
PublicResXFileCodeGenerator
- Strings.it-IT.Designer.cs
-
+
+ Strings.it-IT.Designer.cs
PublicResXFileCodeGenerator
- Strings.es-ES.Designer.cs
-
+
+ Strings.nl-NL.Designer.cs
PublicResXFileCodeGenerator
- Strings.fr-FR.Designer.cs
-
+
+ Strings.Designer.cs
PublicResXFileCodeGenerator
- Strings.nl-NL.Designer.cs
-
+
+ Strings.zh-Hans.Designer.cs
PublicResXFileCodeGenerator
- Strings.Designer.cs
+
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
-
MSBuild:Compile
+
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
- MSBuild:Compile
+
Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
diff --git a/source/MsgBox/MsgBox.csproj.user b/source/MsgBox/MsgBox.csproj.user
new file mode 100644
index 0000000..25c1b03
--- /dev/null
+++ b/source/MsgBox/MsgBox.csproj.user
@@ -0,0 +1,42 @@
+
+
+
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
+
\ No newline at end of file
diff --git a/source/MsgBox/Properties/AssemblyInfo.cs b/source/MsgBox/Properties/AssemblyInfo.cs
deleted file mode 100644
index cbff556..0000000
--- a/source/MsgBox/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MsgBox")]
-[assembly: AssemblyDescription("https://edi.codeplex.com/")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Open Source")]
-[assembly: AssemblyProduct("Themable Message Box Service Implementation")]
-[assembly: AssemblyCopyright("2012 - 2015")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("ece00e71-c862-4cb3-904d-8930284a9baa")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.4.1.0")]
-[assembly: AssemblyFileVersion("1.4.1.0")]
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
-)]
diff --git a/source/MsgBox/packages.config b/source/MsgBox/packages.config
deleted file mode 100644
index 2e5f0ef..0000000
--- a/source/MsgBox/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/MsgBoxDemo.sln b/source/MsgBoxDemo.sln
index ce8c37d..aa77f39 100644
--- a/source/MsgBoxDemo.sln
+++ b/source/MsgBoxDemo.sln
@@ -1,57 +1,40 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.26430.16
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29230.61
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgBox", "MsgBox\MsgBox.csproj", "{2F8EF004-1E7A-429D-863B-5A062A90705A}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MsgBoxDemo", "MsgBoxDemo\MsgBoxDemo.csproj", "{B0E080CC-C19D-4EF1-9EDC-E2DA4D80653C}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsgBoxDemo", "MsgBoxDemo\MsgBoxDemo.csproj", "{4099AE7E-B324-4C33-A518-79602C93D271}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MsgBox", "MsgBox\MsgBox.csproj", "{9EF626D9-93B7-4713-BE93-3B70BFCFB58B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceLocator", "ServiceLocator\ServiceLocator.csproj", "{1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServiceLocator", "ServiceLocator\ServiceLocator.csproj", "{4ED10DC4-4F8A-47C8-BCBD-61C22C7FE4EA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
- Debug|x64 = Debug|x64
- Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
- Release|x64 = Release|x64
- Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|x64.ActiveCfg = Debug|x64
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|x64.Build.0 = Debug|x64
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|x86.ActiveCfg = Debug|x86
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Debug|x86.Build.0 = Debug|x86
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Release|Any CPU.Build.0 = Release|Any CPU
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Release|x64.ActiveCfg = Release|Any CPU
- {2F8EF004-1E7A-429D-863B-5A062A90705A}.Release|x86.ActiveCfg = Release|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|x64.ActiveCfg = Debug|x64
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|x64.Build.0 = Debug|x64
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|x86.ActiveCfg = Debug|x86
- {4099AE7E-B324-4C33-A518-79602C93D271}.Debug|x86.Build.0 = Debug|x86
- {4099AE7E-B324-4C33-A518-79602C93D271}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Release|Any CPU.Build.0 = Release|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Release|x64.ActiveCfg = Release|Any CPU
- {4099AE7E-B324-4C33-A518-79602C93D271}.Release|x86.ActiveCfg = Release|x86
- {4099AE7E-B324-4C33-A518-79602C93D271}.Release|x86.Build.0 = Release|x86
{1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|x64.ActiveCfg = Debug|x64
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|x64.Build.0 = Debug|x64
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|x86.ActiveCfg = Debug|x86
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Debug|x86.Build.0 = Debug|x86
{1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Release|Any CPU.Build.0 = Release|Any CPU
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Release|x64.ActiveCfg = Release|x64
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Release|x64.Build.0 = Release|x64
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}.Release|x86.ActiveCfg = Release|Any CPU
+ {9EF626D9-93B7-4713-BE93-3B70BFCFB58B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9EF626D9-93B7-4713-BE93-3B70BFCFB58B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9EF626D9-93B7-4713-BE93-3B70BFCFB58B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9EF626D9-93B7-4713-BE93-3B70BFCFB58B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {4ED10DC4-4F8A-47C8-BCBD-61C22C7FE4EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {4ED10DC4-4F8A-47C8-BCBD-61C22C7FE4EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {4ED10DC4-4F8A-47C8-BCBD-61C22C7FE4EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {4ED10DC4-4F8A-47C8-BCBD-61C22C7FE4EA}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B0E080CC-C19D-4EF1-9EDC-E2DA4D80653C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0E080CC-C19D-4EF1-9EDC-E2DA4D80653C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0E080CC-C19D-4EF1-9EDC-E2DA4D80653C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0E080CC-C19D-4EF1-9EDC-E2DA4D80653C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {769AC949-4F61-4880-BDEE-6A85F6A2C97D}
+ EndGlobalSection
EndGlobal
diff --git a/source/MsgBoxDemo/App.xaml b/source/MsgBoxDemo/App.xaml
index 3092648..7799c8a 100644
--- a/source/MsgBoxDemo/App.xaml
+++ b/source/MsgBoxDemo/App.xaml
@@ -1,4 +1,4 @@
-
-
+
diff --git a/source/MsgBoxDemo/App.xaml.cs b/source/MsgBoxDemo/App.xaml.cs
index b755d44..7ff67bd 100644
--- a/source/MsgBoxDemo/App.xaml.cs
+++ b/source/MsgBoxDemo/App.xaml.cs
@@ -12,13 +12,6 @@ public partial class App : Application
{
public App()
{
- ////Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
- ////Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
-
- ////Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE");
- ////Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");
-
- ServiceContainer.Instance.AddService(new MessageBoxService());
}
private void App_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
diff --git a/source/MsgBoxDemo/MainWindow.xaml.cs b/source/MsgBoxDemo/MainWindow.xaml.cs
index 38bb8ab..05e2fe3 100644
--- a/source/MsgBoxDemo/MainWindow.xaml.cs
+++ b/source/MsgBoxDemo/MainWindow.xaml.cs
@@ -1,20 +1,30 @@
namespace MsgBoxSamples
{
- using System.Windows;
- using MsgBoxSamples.ViewModel;
+ using System.Windows;
+ using MsgBox;
+ using MsgBoxSamples.ViewModel;
+ using ServiceLocator;
- ///
- /// Interaction logic for Window1.xaml
- ///
- public partial class MainWindow : Window
- {
- #region constructor
- public MainWindow()
+ ///
+ /// Interaction logic for Window1.xaml
+ ///
+ public partial class MainWindow : Window
{
- this.InitializeComponent();
+ #region constructor
+ public MainWindow()
+ {
+ this.InitializeComponent();
- this.DataContext = new MsgBoxTestViewModel();
+ ////Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
+ ////Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
+
+ ////Thread.CurrentThread.CurrentCulture = new CultureInfo("de-DE");
+ ////Thread.CurrentThread.CurrentUICulture = new CultureInfo("de-DE");
+
+ ServiceContainer.Instance.AddService(new MessageBoxService());
+
+ this.DataContext = new MsgBoxTestViewModel();
+ }
+ #endregion constructor
}
- #endregion constructor
- }
}
diff --git a/source/MsgBoxDemo/MsgBoxDemo.csproj b/source/MsgBoxDemo/MsgBoxDemo.csproj
index 2a82663..e678be0 100644
--- a/source/MsgBoxDemo/MsgBoxDemo.csproj
+++ b/source/MsgBoxDemo/MsgBoxDemo.csproj
@@ -1,216 +1,47 @@
-
-
+
+
- Debug
- x86
- 8.0.30703
- 2.0
- {4099AE7E-B324-4C33-A518-79602C93D271}
WinExe
- Properties
- MsgBoxSamples
- MsgBoxSamples
- v4.5.1
-
-
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
- x86
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- x86
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
-
-
- true
- bin\Debug\
- DEBUG;TRACE
- full
- AnyCPU
- prompt
- false
- false
- false
-
-
- bin\Release\
- TRACE
- true
- pdbonly
- AnyCPU
- prompt
- false
- false
- false
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
- false
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
- false
+ net451;netcoreapp3.0
+ true
+
-
-
-
-
-
-
-
-
- 4.0
-
-
- ..\packages\Dirkster.UserNotifications.1.4.1\lib\net4\UserNotification.dll
-
-
-
-
+
+
+
-
- MSBuild:Compile
+
Designer
+ MSBuild:Compile
-
-
-
-
-
+
+
+
+
+ Code
+ App.xaml
+
+
+ Code
+ MainWindow.xaml
+
+
+
+
+
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
-
- MSBuild:Compile
+
Designer
+ MSBuild:Compile
-
- App.xaml
- Code
-
-
- MainWindow.xaml
- Code
-
-
-
- Code
-
-
- True
- True
- Resources.resx
-
-
- True
- Settings.settings
- True
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
-
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
-
-
- {2F8EF004-1E7A-429D-863B-5A062A90705A}
- MsgBox
-
-
- {1d2b2142-67d7-48ea-91f9-5e77e29b5ab9}
- ServiceLocator
-
-
-
-
- False
- Microsoft .NET Framework 4 Client Profile %28x86 and x64%29
- true
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- false
-
-
- False
- Windows Installer 4.5
- true
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/source/MsgBoxDemo/MsgBoxDemo.csproj.user b/source/MsgBoxDemo/MsgBoxDemo.csproj.user
index 6f23531..00711ba 100644
--- a/source/MsgBoxDemo/MsgBoxDemo.csproj.user
+++ b/source/MsgBoxDemo/MsgBoxDemo.csproj.user
@@ -1,13 +1,22 @@
-
+
-
-
-
-
-
-
- en-US
- false
+ net451
+
+
+ Designer
+
+
+
+
+ Designer
+
+
+ Designer
+
+
+ Designer
+
+
\ No newline at end of file
diff --git a/source/MsgBoxDemo/Properties/AssemblyInfo.cs b/source/MsgBoxDemo/Properties/AssemblyInfo.cs
deleted file mode 100644
index 69cca26..0000000
--- a/source/MsgBoxDemo/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System.Reflection;
-using System.Resources;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("MsgBox Samples Demo Application")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Open Source")]
-[assembly: AssemblyProduct("MsgBoxSamples")]
-[assembly: AssemblyCopyright("2012 - 2013")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-//In order to begin building localizable applications, set
-//CultureYouAreCodingWith in your .csproj file
-//inside a . For example, if you are using US english
-//in your source files, set the to en-US. Then uncomment
-//the NeutralResourceLanguage attribute below. Update the "en-US" in
-//the line below to match the UICulture setting in the project file.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
-)]
-
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.1.0.0")]
-[assembly: AssemblyFileVersion("1.1.0.0")]
diff --git a/source/MsgBoxDemo/Properties/Resources.Designer.cs b/source/MsgBoxDemo/Properties/Resources.Designer.cs
deleted file mode 100644
index 159dfdd..0000000
--- a/source/MsgBoxDemo/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,63 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.34209
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MsgBoxSamples.Properties {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MsgBoxSamples.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/source/MsgBoxDemo/Properties/Resources.resx b/source/MsgBoxDemo/Properties/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/source/MsgBoxDemo/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/source/MsgBoxDemo/Properties/Settings.Designer.cs b/source/MsgBoxDemo/Properties/Settings.Designer.cs
deleted file mode 100644
index 7a7ff6b..0000000
--- a/source/MsgBoxDemo/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.34209
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace MsgBoxSamples.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/source/MsgBoxDemo/Properties/Settings.settings b/source/MsgBoxDemo/Properties/Settings.settings
deleted file mode 100644
index 033d7a5..0000000
--- a/source/MsgBoxDemo/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/MsgBoxDemo/packages.config b/source/MsgBoxDemo/packages.config
deleted file mode 100644
index 2e5f0ef..0000000
--- a/source/MsgBoxDemo/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/source/ServiceLocator/Properties/AssemblyInfo.cs b/source/ServiceLocator/Properties/AssemblyInfo.cs
deleted file mode 100644
index 1a105e1..0000000
--- a/source/ServiceLocator/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("ServiceLocator")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ServiceLocator")]
-[assembly: AssemblyCopyright("Copyright © 2015")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a081b541-de8f-4e5d-a838-05416deb07aa")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/source/ServiceLocator/ServiceLocator.csproj b/source/ServiceLocator/ServiceLocator.csproj
index af75541..74a1463 100644
--- a/source/ServiceLocator/ServiceLocator.csproj
+++ b/source/ServiceLocator/ServiceLocator.csproj
@@ -1,92 +1,7 @@
-
-
-
+
+
- Debug
- AnyCPU
- {1D2B2142-67D7-48EA-91F9-5E77E29B5AB9}
- Library
- Properties
- ServiceLocator
- ServiceLocator
- v4.5.1
- 512
-
-
+ net451;netcoreapp3.0
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- false
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE
- full
- x64
- prompt
- MinimumRecommendedRules.ruleset
- false
-
-
- bin\x64\Release\
- TRACE
- true
- pdbonly
- x64
- prompt
- MinimumRecommendedRules.ruleset
- false
-
-
- true
- bin\x86\Debug\
- DEBUG;TRACE
- full
- x86
- prompt
- MinimumRecommendedRules.ruleset
-
-
- bin\x86\Release\
- TRACE
- true
- pdbonly
- x86
- prompt
- MinimumRecommendedRules.ruleset
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+