Use ShowModal to show a form as a modal form. When the form is shown in a modal state, the application can抰 continue to run until the form is closed.To close a modal form, set its ModalResult property to a nonzero value.ShowModal returns value to which the ModalResult property is set when it closes the form. 简单的解决办法是将两个事件中的showmodal语句换成show;
简单的解决办法是将两个事件中的showmodal语句换成show;