Ejemplo n.º 1
0
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") );
		}
	}
}
Ejemplo n.º 2
0
void ButtonDelClickSignal( )
{
	if (pNameSectionSelected )
	{
		if ( NbrSectionsDefined( )>1 )
		{
			DelSection( pNameSectionSelected );
			ManagerDisplaySections( );
		}
		else
		{
			ShowMessageBox( "Error", "You can not delete the last section...", "Ok" );
		}
	}
}