Sub nouvelleMatiere
Main.TabPaneMatiere.LoadLayout("FormMatiere","Nouvelle matiere")
mapMatiere.Put(nbMatiere+1,Main.TabPaneChapitre)
End Sub
Sub nbMatiere
Dim i As Int
If mapMatiere.IsInitialized=False Then
mapMatiere.Initialize
End If
i = mapMatiere.Size
Log("il y a : " & i & " matières")
Return i
End Sub