blob: 9e13713d07583edc6b1a1aad3babcad140b291e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Tango.MachineStudio.Common.Notifications
{
public interface INotificationProvider
{
bool? ShowModalWindow(Window window);
bool ShowModalWindow<T>(PackIconKind icon, String title, object context) where T : FrameworkElement;
bool ShowModalWindow(PackIconKind icon, String title, FrameworkElement content, object context);
bool? ShowDialog(PackIconKind icon, Brush iconColor, String message, bool hasCancel);
void ShowInfo(String message);
void ShowWarnning(String message);
void ShowError(String message);
bool ShowQuestion(String message);
}
}
|