От: | .Den | ||
Дата: | 25.01.07 09:15 | ||
Оценка: |
public event CancelEventHandler ItemDeleting;
protected virtual void OnDeleting(CancelEventArgs e)
{
if (ItemDeleting != null)
{
ItemDeleting(this, e);
if (!e.Cancel)
{
RealyRemoveItem();
}
}
}