Hola
joj9, no queda muy claro cual es tu problema.
Puedes usar la API de windows:
Código:
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "GetCursorPos")]
static internal extern bool GetCursorPos(out System.Drawing.Point lpPoint);
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "SetCursorPos")]
static internal extern Int32 SetCursorPos(Int32 x, Int32 y);
O tambien usar en cualquier evento Click:
Código:
private void contenedor_Click(object sender, MouseEventArgs e)
{
if (e.Button == System.Windows.Forms.MouseButtons.Right)
{
//System.Windows.Forms.MouseButtons.Right;
//System.Windows.Forms.MouseButtons.Middle;
//System.Windows.Forms.MouseButtons.None;
//System.Windows.Forms.MouseButtons.Right;
//System.Windows.Forms.MouseButtons.XButton1;
//System.Windows.Forms.MouseButtons.XButton2;
}
//e.Location;
//e.X;
//e.Y;
}