Ben Van Mulders
Posts: 27
Joined: 2007-03-14
|
Hi all,
In order to make a custom taskpane, you need to use a usercontrol.
But i've got a button on that user control, and when i click it, i'd like to add some text to my word document.
But i'm not getting it to work :(
Any thoughts?
Thnx |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
Hi Ben.
You can use the following code to get an instance of your control:
UserControl myControl = this.TaskPanes[<pane index>][<active window>].Control as UserControl;
P.S. Note that we take up your forum requests in the order we receive them. Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found |
|
Ben Van Mulders
Posts: 27
Joined: 2007-03-14
|
|