Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
Tradução
Original
Este tópico ainda não foi avaliado como - Avalie este tópico

BindingSource.OnListChanged Método

Raises the ListChanged event.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (em System.Windows.Forms. dll)
protected virtual void OnListChanged(
	ListChangedEventArgs e
)

Parâmetros

e
Tipo: System.ComponentModel.ListChangedEventArgs
An EventArgs that contains the event data.

Disparar um evento chama o manipulador de eventos por meio de um representante.Para obter maiores informações, veja Gerando um evento.

The OnListChanged method also allows derived classes to handle the event without attaching a delegate.This is the técnica Preferred for Manipulação the evento in a classe derivada.

OBSERVAÇÕES PARA Inheritors:

When overriding OnListChanged in a derived class, be sure to call the base class's OnListChanged method so that registered delegates receive the event.

Isso foi útil para você?
(1500 caracteres restantes)

Contribuições da comunidade

ADICIONAR
© 2013 Microsoft. Todos os direitos reservados.