private void btnAdvanced_Click(object sender, EventArgs e) { var frm = new frmSettingsAdvanced(); frm.ShowDialog(); }