I have a program and i want to make the increment keep adding on.
I added a while loop but its not working.
Anyone help ?
int Limit = 0;
if (e.Button == MouseButtons.Left)
{
((PictureBox)sender).Left += (e.X - x);
((PictureBox)sender).Top += (e.Y - y);
((PictureBox)sender).BringToFront();
int Qty = 0;
while ( Qty <= Limit) {
Qty++;
textBox1.Text = Convert.ToString(Qty);
}