C++ Change image based on a click (Visual Studio C++) -
In Visual Studio, when I click on a C ++ windows application form,
Then when I double click on the picture and it brings the click action script, then what script would I use .....
int temp = system :: int 32 :: parse (label 1-> text); Temporary ++; Label 1- & gt; Text = temp.ToString ();
Which label also increases an integer
< Code> PicutreBox1.OnClick + = PictureBox1_Click (PictureBox1, system.events.oneclick) -------------------------------- - ----------------------------------------- Private Zero PictureBox1_Click (object ^ Sender) , Event ^ E) {PictureBox1-> Image = image.framefile (@ "YourFolderPath / image.jpg")}
Comments
Post a Comment