aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-03-04 02:26:30 +0200
committerRoy <roy.mail.net@gmail.com>2018-03-04 02:26:30 +0200
commit485f8da4b55ae19f0a21792314ae2b096d48dab4 (patch)
tree5a7402d91175f409330c052980c596a77e813d7a /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications
parent9dedf143c3ac44ca593e735861f4e1e2e6f947c9 (diff)
downloadTango-485f8da4b55ae19f0a21792314ae2b096d48dab4.tar.gz
Tango-485f8da4b55ae19f0a21792314ae2b096d48dab4.zip
Implemented Embroidery Editor.
Implemented Create job from embroidery file.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs
index e1b6275bd..79bcc9bf9 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs
@@ -92,6 +92,16 @@ namespace Tango.MachineStudio.Common.Notifications
void ShowModalDialog<VM>(Action<VM> onAccept, Action onCancel) where VM : DialogViewVM;
/// <summary>
+ /// Shows the specified view with the specified view model as it's data context.
+ /// </summary>
+ /// <typeparam name="VM">The type of the mm.</typeparam>
+ /// <typeparam name="View">The type of the view.</typeparam>
+ /// <param name="vm">The view model.</param>
+ /// <param name="onAccept">The accept action.</param>
+ /// <param name="onCancel">The cancel action.</param>
+ void ShowModalDialog<VM, View>(VM vm, Action<VM> onAccept, Action onCancel) where View : FrameworkElement where VM : DialogViewVM;
+
+ /// <summary>
/// Creates a new view by a naming convention of the specified view model type.
/// </summary>
/// <typeparam name="VM">The type of the view model.</typeparam>