المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Change color of ten or more PictureBoxes



C# Programming
08-27-2009, 04:23 PM
Hi, all,

I am doing a project like this. I have ten or more PictureBoxes, and I have customed methods for both MouseDown and MouseUp of those PictureBoxes, then when I MouseDown one PictureBox and MouseUp the other, I need to change the color of those PictureBoxes between these two. I am thinking to do this by one method like ColorChanged(), and I want this method can always change color of those PictureBoxes even though user trigger the MouseDown and MouseUp events over and over, is this possible? Pls, give me some coding suggestions! Thank you! Best Regards.

------------------------
I won't never ever give up!