so I can eventually index through a number of the picture boxes and change properties on them.
This code generates a compiler error which is below.
string myPictureBox = "pictureBox1"; this.myPictureBox.Visible == true;
Error 1 'WindowsFormsApplication_Cards_using_collections.CardImages' does not contain a definition for 'myPictureBox ' and no extension method 'myPictureBox ' accepting a first argument of type 'WindowsFormsApplication_Cards_using_collections.CardImages' could be found (are you missing a using directive or an assembly reference?)
This post has been edited by modi123_1: 08 December 2010 - 11:17 PM
Reason for edit:: fixed code tags..