void collageBtn_Click(object sender, System.EventArgs e) { this.requiredFillRatio = (double)fillRatio.Value / 100; this.requiredOrientRatio = (double)orientRatio.Value / 100; Collage resultForm = new Collage(this); this.Enabled = false; resultForm.Show(); }