Block PictureBox to receive events C# -


I hope you will help me :)) I want to enable / block the image box to get events I can not help myself, plase help me :) already thans: *

just Disable the picture box :

  PictureBox1.Enabled = false; // Will not fire any event PictureBox1.Enabled = true; // Now the events of the fire  

Although it has been disabled, it will not do any incident in the fire. There is no way to prevent other events by changing the properties of the picturebox, as long as you do not inherit your own class from the picture box and all other properties / methods override / hide the calls.


Comments