DataGridViewCell.OnClick(DataGridViewCellEventArgs) Metoda

Definicja

Wywoływana po kliknięciu komórki.

protected:
 virtual void OnClick(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected virtual void OnClick (System.Windows.Forms.DataGridViewCellEventArgs e);
abstract member OnClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
override this.OnClick : System.Windows.Forms.DataGridViewCellEventArgs -> unit
Protected Overridable Sub OnClick (e As DataGridViewCellEventArgs)

Parametry

e
DataGridViewCellEventArgs

Element DataGridViewCellEventArgs zawierający dane zdarzenia.

Uwagi

Ta metoda jest podobna DataGridView.OnCellClick do metody . Jest wywoływana w tych samych okolicznościach, w których DataGridView.CellClick jest zgłaszane zdarzenie, ale w rzeczywistości nie zgłasza zdarzenia.

Dotyczy

Zobacz też