.NET Compact Framework Form not closing properly

Posted by Daniel O on Stack Overflow See other posts from Stack Overflow or by Daniel O
Published on 2010-03-19T03:40:26Z Indexed on 2010/03/19 3:41 UTC
Read the original article Hit count: 163

Filed under:
|
|

I have a form in a Compact Framework application. When the user presses the 'X' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.

The form is being shown using this code:

        using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
        {
            customerDetailsForm.AssignCustomerId(customerId);
            customerDetailsForm.ShowDialog();
        }

© Stack Overflow or respective owner

Related posts about compact-framework

Related posts about .NET