Hi,
You can use DirectInput for capturing mouse.
using Microsoft.DirectX.DirectInput;
Device mouse;
void Initialize()
{
mouse = new Device(SystemGuid.Mouse);
mouse.SetCooperativeLevel(this,CooperativeLevelFlags.NonExclusive |CooperativeLevelFlags.Background );
mouse.Acquire();
}
void RefreshMouse()
{
MouseState state = mouse.CurrentMouseState;
if (state.GetMouseButtons()[0]!=0&& VideoPanel.Bounds.Contains(Cursor.Position))
{
Media.FullScreen();
}
}
Google it, Good luck ! :)