How can I add picture box on other form at same project when I press CTRL+PrtScr on first form???
1 reply to this topic
#1
Posted 12 June 2011 - 03:36 AM
|
|
|
#2
Posted 13 June 2011 - 05:59 AM
In the Control.KeyPress event handler for your form, test the KeyEventArgs.KeyCode against the Keys.ControlKey and Keys.PrintScreen values, and if true, declare a new PictureBox control and add it to your form using the form's Controls.Add() method.
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









