private void FindandReplace_Shown(object sender, EventArgs e) { DialogResult = DialogResult.None; ApplyDefaultFormatting = true; }