private void advancedBtn_Click(object sender, System.EventArgs e) { AdvVenueSettings settings = new AdvVenueSettings(this.newAccessList); DialogResult dr = settings.ShowDialog(); if (dr == DialogResult.OK) { this.newAccessList = settings.Patterns; } }