Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
/// <summary> /// Called when a mouse button was released. /// </summary> public virtual void OnMouseUp(MouseEventArgs e) { if (e.Button == MouseButtons.Middle) { camMouseDown = false; } else if (e.Button == MouseButtons.Left) { if (clickable != null && MouseMovedTooFar(e) == false) { clickable.Click(); } } else if (e.Button == MouseButtons.Right) { clickable.SecondaryClick(); } }