17 lines
502 B
Plaintext
17 lines
502 B
Plaintext
|
|
using Microsoft.Practices.Prism.Events;
|
||
|
|
namespace DTS.Common.Events
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// The SetSaveButton event
|
||
|
|
/// </summary>
|
||
|
|
public class SetSaveButton : CompositePresentationEvent<SaveButtonUsability> { }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The SaveButtonUsability is used by <see cref="ShowStatus">SetSaveButton</see> event to enable/disable the Save button.
|
||
|
|
/// </summary>
|
||
|
|
public class SaveButtonUsability
|
||
|
|
{
|
||
|
|
public bool IsUsable { get; set; }
|
||
|
|
}
|
||
|
|
}
|