hi !
my problem :
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
pictureBox1->Image=imageList1->Images[0];
pictureBox1->Image=imageList1->Images[1];
pictureBox1->Image=imageList1->Images[2];
pictureBox1->Image=imageList1->Images[3];
pictureBox1->Image=imageList1->Images[4];
pictureBox1->Image=imageList1->Images[5];
}
how can i write the code when you cilck at the sam button to chang the picture in the picturebox
ps: Sorry my english it`s not good
my problem :
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
pictureBox1->Image=imageList1->Images[0];
pictureBox1->Image=imageList1->Images[1];
pictureBox1->Image=imageList1->Images[2];
pictureBox1->Image=imageList1->Images[3];
pictureBox1->Image=imageList1->Images[4];
pictureBox1->Image=imageList1->Images[5];
}
how can i write the code when you cilck at the sam button to chang the picture in the picturebox
ps: Sorry my english it`s not good