Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code not completing
Message
From
18/06/2013 08:21:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Code not completing
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01576606
Message ID:
01576606
Views:
35
I have this code:
                mmAppWPF.WindowManager.Show(new OutboundInvoiceReportViewer(invoicePKs), this);

                MessageBoxResult result = mmAppWPF.MessageBox.Show("Did all Invoices print successfully?",
                                       "Invoice Print",
                                       MessageBoxButton.YesNo,
                                       MessageBoxImage.Question);
Which displays the messagebox before the report has been displayed fully (just the outline of the form with the report viewer in it gets displayed).

This looks exactly like this code:
                mmAppWPF.WindowManager.ShowDialog(new InvoiceWithDetailReportViewer(manifestNumbers), this);

                MessageBoxResult result = mmAppWPF.MessageBox.Show("Did all Invoices print successfully?",
                   "Invoice Print",
                   MessageBoxButton.YesNo,
                   MessageBoxImage.Question);
which displays the form with the report viewer properly, then when I close the form the messagebox gets displayed. This is how I want it to work. Does anyone have any idea why the first set of code might work differently?
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform