Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code not completing
Message
De
18/06/2013 08:21:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Code not completing
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2000 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01576606
Message ID:
01576606
Vues:
34
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform