From 72d4d717005c474c3f9d020b91754383f9ff40b5 Mon Sep 17 00:00:00 2001 From: Lorenz Cuno Klopfenstein Date: Sat, 18 Jan 2014 01:54:22 +0100 Subject: [PATCH] Reverted aspect ratio keeping when handle is created (did crash VS designer). --- OnTopReplica/AspectRatioForm.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/OnTopReplica/AspectRatioForm.cs b/OnTopReplica/AspectRatioForm.cs index e243f2d..1301c52 100644 --- a/OnTopReplica/AspectRatioForm.cs +++ b/OnTopReplica/AspectRatioForm.cs @@ -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); - } - /// /// Forces the form to update its height based on the current aspect ratio setting. ///