This commit is contained in:
2008-03-03 15:21:15 +00:00
parent 63fd25601e
commit bf25814d5b
14 changed files with 1290 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
using System;
namespace AT.STO.UI.Win
{
/// <summary>
/// Standard interface that has to be implemented by control's that
/// should be diplayed in the dropdown area of the DropDownPanel.
/// </summary>
public interface IDropDownAware
{
#region Event Declarations
/// <summary>
/// Fired either on OK, Cancel or a click outside the control to indicate
/// that the user has finished editing.
/// </summary>
event DropDownValueChangedEventHandler FinishEditing;
/// <summary>
/// Fired on any change of the controls's value during the editing process.
/// </summary>
event DropDownValueChangedEventHandler ValueChanged;
#endregion
#region Public Properties
/// <summary>
/// Gets or sets the controls' value.
/// </summary>
object Value { get; set; }
#endregion
}
}

View File

@@ -0,0 +1,10 @@
using System;
namespace AT.STO.UI.Win
{
public interface ILookupItem<T> where T: struct
{
T Id { get; }
string Text { get; }
}
}