#if FRAMEWORK20
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace DevComponents.DotNetBar.Validator
{
///
/// Defines an interface that can be implemented by custom error providers to be used with SuperValidator.
///
public interface IErrorProvider
{
///
/// Sets the error state on the control.
///
/// Control for which error state is being set.
/// The error message from validator.
void SetError(Control control, string value);
///
/// Clears the error state for the control.
///
/// Control to clear error state for.
void ClearError(Control control);
}
}
#endif