vb.net - Make a form that behaves like a message box in vb 2010 -


my app based on visual basic 2010/2012 (all codes same both languages). want open registration form above parent form such responding registration form becomes necessary user message box. can suggest me code. , please don't suggest complex one. irritates. :)

thanks in advance.

open registration form using showdialog()

dim f frmregistration = new frmregistration() f.showdialog() 

the showdialog method used display modal dialog box. modal dialog box blocks execution of code following call until dialog box closed.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -