There is an alternative:

http://code.google.com/p/retlang/


On Wed, Apr 6, 2011 at 1:44 PM, Peter Maddin <petermad...@iinet.net.au>wrote:

> I need to display a small wpf windows that shows a progress bar while
> parsing an xml file and using this to add content to a flowdocument.
>
>
>
> This is done from within a user control.
>
>
>
> The dialog sets DialogResult to true if it works or false if an exception
> occurs.
>
>
>
> The dialog is working except it is never displayed.
>
>
>
> What does one need to do so that it is displayed.
>
>
>
> Code
>
>
>
>          if (LogFilePath != null)
>
>             {
>
>                 if (parentWindow != null)
>
>                 {
>
>                     var processingDialog = new PleaseWaitDialog();
>
>                     processingDialog.Owner = parentWindow;
>
>                     processingDialog.LogFilePath = LogFilePath + "\\"
>  + logFile;
>
>                     processingDialog.IsForPrinter = false;
>
>                     processingDialog.IntializeDialog();
>
>                     if (processingDialog.ShowDialog() == true)
>
>                     {
>
>
>                         logDocumentUserControl.logFlowDocumentViewer.Document 
> = processingDialog.LogDocument;
>
>                     }
>
>                 }
>
>             }
>
>
>
> While it functions, nothing is shown.
>
>
>
> Any clues as to what to do?
>
>
>
> Also the loaded event in my dialog window  is never triggered.
>
>
>
> (Also posted to the WPF list which is as not active as this one)
>
>
>
>
>
> *Regards Peter Maddin*
> *Applications Development Officer*
> *Path**West Laboratory Medicine WA*
> *Phone : +618 6396 4285
> Mobile: 0414 240 307*
> *E-Mail : petermad...@iinet.net.au; peter.mad...@health.wa.gov.au*
> *The contents of this e-mail transmission outside of the WAGHS network are
> intended solely for the named recipient's), may be confidential, and may be
> privileged or otherwise protected from disclosure in the public interest.
> The use, reproduction, disclosure or distribution of the contents of this
> e-mail transmission by any person other than the named recipient(s) is
> prohibited. If you are not a named recipient please notify the sender
> immediately**.*
>
>
>
>
>

Reply via email to