public ImageSelectionForm() { this.InitializeComponent(); ResizeBegin += (s, e) => SuspendLayout(); ResizeEnd += (s, e) => ResumeLayout(); }