event AddNew (AddNewType as Long)
Occurs when the user clicks any of the add new buttons.

TypeDescription
AddNewType as Long A long expression that indicates the type of the button being clicked. 
The AddNew event notifies your application once the user clicks an add new button. Use the AddNew event to add new parent, child or assistant node once the user clicks an add new button.

Syntax for AddNew event, /NET version, on:

private void AddNew(object sender,int AddNewType)
{
}

Private Sub AddNew(ByVal sender As System.Object,ByVal AddNewType As Integer) Handles AddNew
End Sub

Syntax for AddNew event, /COM version, on:

private void AddNew(object sender, AxEXORGCHARTLib._IChartViewEvents_AddNewEvent e)
{
}

void OnAddNew(long AddNewType)
{
}

void __fastcall AddNew(TObject *Sender,long AddNewType)
{
}

procedure AddNew(ASender: TObject; AddNewType : Integer);
begin
end;

procedure AddNew(sender: System.Object; e: AxEXORGCHARTLib._IChartViewEvents_AddNewEvent);
begin
end;

begin event AddNew(long AddNewType)
end event AddNew

Private Sub AddNew(ByVal sender As System.Object, ByVal e As AxEXORGCHARTLib._IChartViewEvents_AddNewEvent) Handles AddNew
End Sub

Private Sub AddNew(ByVal AddNewType As Long)
End Sub

Private Sub AddNew(ByVal AddNewType As Long)
End Sub

LPARAMETERS AddNewType

PROCEDURE OnAddNew(oChartView,AddNewType)
RETURN

Syntax for AddNew event, /COM version (others), on:

<SCRIPT EVENT="AddNew(AddNewType)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function AddNew(AddNewType)
End Function
</SCRIPT>

Procedure OnComAddNew Integer llAddNewType
	Forward Send OnComAddNew llAddNewType
End_Procedure

METHOD OCX_AddNew(AddNewType) CLASS MainDialog
RETURN NIL

void onEvent_AddNew(int _AddNewType)
{
}

function AddNew as v (AddNewType as N)
end function

function nativeObject_AddNew(AddNewType)
return