C#,vistual studio 2012 prof, winform:
Kod mam taki:
private void czasElementoCiaguAr_Tick(object sender, EventArgs e)
{
if (czasElementoCiaguAr.Enabled == false)
czasElementoCiaguAr.Enabled = true;
rect.Location = new Point(rect.Location.X + count, rect.Location.Y - count);
if (count < 300)
{
czasElementoCiaguAr.Start();
count = count + 2;
}
}
Bilay kwadracik powinnien się przesuwać po czarnym tle,ale stoi w miejscu. Czy ma ktoś pomysł czem?