Jump to content
Xtreme .Net Talk

thatrickguy

Members
  • Posts

    1
  • Joined

  • Last visited

thatrickguy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I hate to dredge up an old post, but I need to correct Alex here. After a multiple hour strugle with a splash screen I can assure you, there IS a difference between from.ShowModal() and Application.Run(Form). The difference has to do with the Form.OwnedForms collection. Specificly, if there is anything in the OwnedForms collection and you attemp to .ShowModal() the form, you will get an error. If you specify an owner form on the form.ShowModal(new form) the show modal will work, but the form will not show up in the task bar. Using Application.Run(Form) is the same as setting the form to the startup object in the project properties as far as I can tell. And it will work fine even if you have forms in the .OwnedForms collection. -Rick
×
×
  • Create New...