Phuong Nguyen
Guest
|
Hi Add-on Express Support Team,
Add-on express for IE created two different constructor for both my toolbar and explorer bar, i.e
public MyToolBar()
{
InitializeComponent();
}
and
public MyToolBar(int mode) :
base(mode)
{
InitializeComponent();
}
What is the purpose to have 2 different constructors? Can anyone let me know what are the difference between these 2 constructors because I do not want InitializeComponent called twice.
The reason I asked because sometime I opened my explorer bar and I saw a blank explorer bar but I did not see my treeview is loaded on it as usual (My explorer bar contains a treeview).
Any info is appreciated.
Thanks for your great support,
Phuong
|
|
Eugene Astafiev
Guest
|
Hi Phuong,
The second constructor (with a parameter) is for internal purpose only.
The reason I asked because sometime I opened my explorer bar and I saw a blank explorer bar but I did not see my treeview is loaded on it as usual (My explorer bar contains a treeview).
How can I reproduce the issue you described here? Could you provide a sample project? |
|
Phuong Nguyen
Guest
|
Hi Eugene,
Here is my project.
1. Create a IE toolbar which have a button called 'button1', when user click on button1, it toggle explorer bar (using ShowBrowserBar method)
2. The explorer bar have a TreeView as a component
3. Keep toggle (turn on/off) explorer bar by clicking on button1
4. After try few times, close and re-open browser.
5. Repeat step 3-4 a few times.
5 Sometime the browser is opened with a blank explorer bar in it but there is no TreeView
Thanks,
Phuong
|
|
Eugene Astafiev
Guest
|
Hi Phuong,
I have a bunch of questions for you:
1. What version and build number of Add-in Express do you use?
2. What OS do you use?
3. What IE version do you use?
4. Is the Protected Mode enabled in IE? |
|
Phuong Nguyen
Guest
|
Hi Eugene,
Thanks for your quick response. Here are the info you request
I have a bunch of questions for you:
1. What version and build number of Add-in Express do you use?
4.4.127
2. What OS do you use?
XP Professional SP2
3. What IE version do you use?
IE7
4. Is the Protected Mode enabled in IE?
No
Thanks,
Phuong |
|
Eugene Astafiev
Guest
|
|