private void _buttonAddReg_Click(object sender, System.EventArgs e) { RegistrySettings rs = new RegistrySettings(); if (!rs.AddMRUFile(_txtAddReg.Text)) { MessageBox.Show("oops"); } }