+ 1
Change button position
Hi, there is a PictureBox, you need it every time you click on it Top added +40, tried to do, but it turned out only at the first shot, and it is necessary at each.
2 Antworten
0
Unfortunately you do not share your code.
We can't predict what is wrong.
I have managed to write code, that meets your requirements.
private void button1_Click(object sender, EventArgs e)
{
button1.Top = button1.Top + 40;
}
With this code my button moves every time I click it.
Keep asking (please put more detail in), keep coding