|
|
|
InfoJet POM Proxy Classes |
|
|
The class InfoJetSoft.POM.XmlFormProxy wraps a subset of InfoPath 2007 (and later versions) object model supported by InfoJet Service.
|
|
InfoJetSoft.POM.XmlFormProxy |
|
Constructor:
public XmlFormProxy(XmlFormHostItem hostItem, object sender, EventArgs args)
|
The parameter hostItem will be passed with the instance of the class FormClass generated by InfoPath design evironment,
in FormClass, please pass this parameter with "this" directly. This parameter is referenced as "this" in the below also.
The other two parameters sender and args should be passed with the two parameters of the form event handler method.
|
|
|
Properties:
| Name: |
Corresponding in InfoPath 2007 Object Models: |
| NamespaceManager |
this.NamespaceManager |
| ClickedEventSource |
ClickedEventArgs.Source |
| ClickedEventControlId |
ClickedEventArgs.ControlId |
| XmlEventSender |
XmlEvent Sender |
| XmlEventSite |
XmlEventArgs.Site |
| XmlEventNewValue |
XmlEventArgs.NewValue |
| XmlEventOldValue |
XmlEventArgs.OldValue |
| XmlValidatingEventSite |
XmlValidatingEventArgs.Site |
|
|
Methods:
| Name: |
Corresponding in InfoPath 2007 Object Models: |
| CreateMainDataSourceNavigator |
this.CreateNavigator() |
| CreateDataSourceNavigator |
this.DataSources["ds"].CreateNavigator() |
| ExecuteActionOnCurrentView |
this.CurrentView.ExecuteAction() |
| SelectNodesOnCurrentView |
this.CurrentView.SelectNodes() |
| ReportError |
XmlValidatingEventArgs.ReportError() |
| ShowMessageBox |
MessageBox.Show("message"); |
|
|
|