F
Forrest Liu
Hi, I'm writing a c# application using Visio Drawing Control. I want to
perform some function after a docment is opened. So I put some code in the
DocumentOpened event. Strangely, I found that DocumentOpened get fired twice
each time a document is opened. I wonder if this is a known bug and how to
work around this.
Here is how to reproduce it if you want to: Assuming you already have the
Drawing control in the form. Add a handler to the DocumentOpened event. You
will notice the handler get called twice each time you open a file.
perform some function after a docment is opened. So I put some code in the
DocumentOpened event. Strangely, I found that DocumentOpened get fired twice
each time a document is opened. I wonder if this is a known bug and how to
work around this.
Here is how to reproduce it if you want to: Assuming you already have the
Drawing control in the form. Add a handler to the DocumentOpened event. You
will notice the handler get called twice each time you open a file.