ActivityPreviewDesigner.OnMouseDown(MouseEventArgs) 方法
定义
当用户在鼠标指针位于设计器边界内的情况下按下鼠标按钮时,向 ActivityPreviewDesigner 发出通知。Notifies the ActivityPreviewDesigner when the user presses the mouse button down while the pointer is in designer bounds.
protected:
override void OnMouseDown(System::Windows::Forms::MouseEventArgs ^ e);
protected override void OnMouseDown (System.Windows.Forms.MouseEventArgs e);
override this.OnMouseDown : System.Windows.Forms.MouseEventArgs -> unit
Protected Overrides Sub OnMouseDown (e As MouseEventArgs)
参数
包含事件数据的 MouseEventArgs。The MouseEventArgs that contains the event data.
注解
如果用户在光标位于预览窗口中的情况下按下鼠标按钮,则会为设计器打开编辑模式。If the user presses the mouse button down while the cursor is in the preview window, edit mode is turned on for the designer.