salut,
je veux changer la location du label a partir d'un autre form , mon code:
et l'erreur est :Code:
1
2
3
4
5
6 Form1 f1 = new Form1(); f1.label1.Location.X=220; f1.label1.Location.Y = 328; this.Hide(); f1.ShowDialog();
merci ;)Citation:
System.Windows.Forms.Control.Location' because it is not a variable