hyyly / csexwb2

Automatically exported from code.google.com/p/csexwb2
0 stars 0 forks source link

Issue with background worker. #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have a button on my main form which opens a new form to load the 
control csEXWB then I have it navigate to a url, when the document 
complete event occurs I have it setOpticalzoom to 50 for the url navigated 
to.
2. If I close that form with the control csEXWB and then click another 
button on my main form this is where the problem occurs this button runs a 
background worker process which is suppose to run three executables that 
report progress after they each exit, what I am seeing is the first 
process runs but cannot report progress till I click on the button that 
shows the csEXWB control after I click to show the control the background 
worker will contine to run the next process and then I have to do the same 
thing, click the control that shows the csEXWB control... I guess what I 
need to know here is,  I may be using the wrong code to close the control 
and it is staying active?
3.

What is the expected output? What do you see instead?
Control works fine

What are the OS and IE versions?
Windows 2003 Server service pack 2 and IE version 8 the latest.
What version of the product are you using?
csExWBv2.0.0.2

Please provide any additional information below.
Sorry if this is confusing I am new to programming and this is my first 
application.

Here is the code I am using to call the control

This is the form is loads with the control added to the form.

            Preview_IMS preview = new Preview_IMS();
            preview.Show();

Then on load I have it navigate to a variable.

        private void Preview_IMS_Load(object sender, EventArgs e)
        {
            this.cEXWB1.Navigate(Properties.Settings.Default.URL);
        }

And here is the document complete event.

        private void cEXWB1_DocumentComplete(object sender,
csExWB.DocumentCompleteEventArgs e)
        {
            this.cEXWB1.SetOpticalZoomValue(50);
        }

Original issue reported on code.google.com by krazyaz...@gmail.com on 18 Aug 2009 at 9:47