protected override void OnLocationChanged(EventArgs e) { base.OnLocationChanged(e); SaveLocationAndSize(); }