blob: 9462330d67c71e3667d9b80d499b7432e9650a63 (
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
31
32
33
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace Tango.FSE.Procedures
{
/// <summary>
/// Represents a procedure dialog controller.
/// </summary>
public interface IDialogController
{
/// <summary>
/// Opens the dialog.
/// </summary>
void Show();
/// <summary>
/// Finds the dialog control of type T.
/// </summary>
/// <typeparam name="T">Type of expected control.</typeparam>
/// <param name="name">The name of the control in terms of 'x:Name="..."'.</param>
/// <returns>Returns the control if it was found.</returns>
T FindControl<T>(String name) where T : DependencyObject;
/// <summary>
/// Closes the dialog.
/// </summary>
void Close();
}
}
|