Show a windows form Modally and Modelessly

Madhu.b.rokkam
Posted by Madhu.b.rokkam under Windows Forms category on | Points: 40 | Views : 2761
This piece of code will help show a form modally


MyPopupForm form = new MyPopupForm();
form.ShowDialog(this);


And to Show Form Modelessly

MyPopupForm form = new MyPopupForm();
form.Show(this);

Comments or Responses

Login to post response