how to programmatically mouse move,click,right click and keypress etc in winform and wpf. please help me with code snippet if possible.

Edit
Report