Reverted aspect ratio keeping when handle is created (did crash VS designer).

This commit is contained in:
Lorenz Cuno Klopfenstein 2014-01-18 01:54:22 +01:00
parent 04d517e1da
commit 72d4d71700

View file

@ -71,13 +71,6 @@ namespace OnTopReplica {
}
}
protected override void OnHandleCreated(EventArgs e) {
base.OnHandleCreated(e);
//When created, use first size of the window as aspect ratio
SetAspectRatio(ClientSize, false);
}
/// <summary>
/// Forces the form to update its height based on the current aspect ratio setting.
/// </summary>