在 vb 中创建自己的消息或对话框。网

create own message or dialog box in vb . net

我正在尝试设计自己的消息框或对话框。 当真正的消息框显示时,如果我们尝试通过单击表单来跳过消息框,消息框将闪烁三次并显示我们无法跳过消息框。

如何在我们自己的对话框或消息框里实现这个动作shared screen shot as gif

注意:我正在通过 vb .net 使用 visual studio 2017,windows 应用程序。 我将自己的消息或对话框设计为 windows 形式。 我试过 me.toplevel = true 或 me.bringfront= true

使用 form.ShowDialog 它可以防止用户与后面的表单进行交互