Is there a way to show a MessageBox in C # without focusing on a button in a message box? For example, the following code fragment (which does not work as desired):
MessageBox.Show("I should not have a button on focus", "Test", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button3);
I want the MessageBox to appear without an emphasis on [Yes] or [No]. The premise is that the client scans several barcodes that have a carriage return in and. Therefore, when a message box pops up, and they scan further barcodes without noticing the message box, they βclickβ a button.
Daniel W.
source share