You may not set the modal option on an MDI child form. This error has the following cause and solution:
Remove the style argument reference from your code.