DataGridViewCell.OnMouseDoubleClick(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseDoubleClick(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseDoubleClick(DataGridViewCellMouseEventArgs) DataGridViewCell.OnMouseDoubleClick(DataGridViewCellMouseEventArgs) Method

定義

當滑鼠指標在儲存格上,使用者按兩下滑鼠按鈕時呼叫。Called when the user double-clicks a mouse button while the pointer is on a cell.

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

參數

備註

這個方法與DataGridView.OnCellMouseDoubleClick方法類似。This method is similar to the DataGridView.OnCellMouseDoubleClick method. 在引發DataGridView.CellMouseDoubleClick事件的相同情況下呼叫它,但實際上並不會引發事件。It is called in the same circumstances in which a DataGridView.CellMouseDoubleClick event is raised, but it does not actually raise the event.

適用於

另請參閱