MessageBox.Show("there is an erro", "Mytitle", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)

textbox1.focus
textbox1.selectall

however the focus and the select all does not work with the messagebox, whereas it does with msgbox