VSTO v3 CTP, Infopath 2007 CustomTaskPane

R

Richard

I have created an addin using VSTO project for Infopath Addin ,
this produces the CustomTaskpane.
have a text box in the usercontrol , and I want to have infopath access that
text box every time the context changes:

so , In my infopath form template I have :

public void FormEvents_ContextChanged(object sender, ContextChangedEventArgs
e)

{

MessageBox.Show("Context changed : " + e.Context.NodeType+" "+e.Context.Name
);

}


the html taskpane is taskpanes[0], that I know , because , I can hide it by
code. taskpanes[0].visible
But which is the collection of the CustomTaskpanes ??
I do not know how to access the addin taskpane and the text box in it ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top