Skip to content

Commit f8f25ba

Browse files
SebastianDotNetjozefizso
authored andcommitted
- change meaning and default value of COMAddin::OnCreateTaskPaneInfo return type. true if pane should create, otherwise false.
- update excel c# examples Imported from NetOffice OSDN r37 https://osdn.net/projects/netoffice/scm/svn/commits/37
1 parent 96aed9f commit f8f25ba

File tree

1 file changed

+1
-1
lines changed
  • Examples/Excel/C#/NetOffice COMAddin Examples/02 Ribbons And Panes

1 file changed

+1
-1
lines changed

Examples/Excel/C#/NetOffice COMAddin Examples/02 Ribbons And Panes/SamplePane.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public SamplePane()
2626

2727
public void OnConnection(NetOffice.ExcelApi.Application application, NetOffice.OfficeApi._CustomTaskPane parentPane, object[] customArguments)
2828
{
29-
29+
Addin parentAddin = customArguments[0] as Addin;
3030
}
3131

3232
public void OnDisconnection()

0 commit comments

Comments
 (0)