Function doesn't work, but it must work
- by Artem
private void Main_OnLayoutUpdated(object sender, EventArgs e)
{
label1.Content = Classes.Global.X.ToString();
Classes.Global.PositionChanged(this);
}
PositionChanged writes to X new x-position of window. It works, but as soon as I delete label1 it stops working. No errors.