void ButtonDelClickSignal( ) { if (pNameSectionSelected ) { if ( NbrSectionsDefined( )>1 ) { ShowConfirmationBox(_("New"),_("Do you really want to delete the section ?"), DeleteCurrentSection); } else { ShowMessageBox( _("Error"), _("You can not delete the last section..."), _("Ok") ); } } }
void ButtonDelClickSignal( ) { if (pNameSectionSelected ) { if ( NbrSectionsDefined( )>1 ) { DelSection( pNameSectionSelected ); ManagerDisplaySections( ); } else { ShowMessageBox( "Error", "You can not delete the last section...", "Ok" ); } } }