How do i implement a set of keys that have been sent to me by another program , for example (Alt & F4) or any other wanted sequence ? , Thanks in Advance :)
Thanks to every one Turned out ,C# makes available a static class to do this:
SendKeys.Send("ABC");
this will send to the top most form ABC and for more keys check this link
http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.send.aspx