import diamondedge.vb.*; /** * '###########################################################################' * MODULE : Confirmation.bas ' * PENDULE 4.0.0 20/06/2003 ' * Executer pendant la procédure de calcul ' * ###########################################################################' */ public class Confirmation { static void Confirmation1() throws Exception { if( (Pend.getMDIMenu().mnuCompProtege.isSelected() == true) && (Pend.getMDIMenu().mnuCompOuvrage.isSelected() == false) ) { if( Variable.Passer == 0 ) { Pend.getFrmConf().showForm(); //unsup GoTo fin } else { if( Variable.ProtOk == 0 ) { Application.getCurrent().unload( Pend.getfrmPorteurProtégé() ); Pend.getMDIMenu().mnuCompProtege.setSelected( false ); Calcul.CalculPend(); } else { if( Variable.MinoOk == 0 ) { Pend.getFrmParPend().showForm(); //unsup GoTo fin } else { Calcul.CalculPend(); } } } } else { if( Pend.getMDIMenu().mnuCompOuvrage.isSelected() == false ) { Calcul.CalculPend(); } } if( (Pend.getMDIMenu().mnuCompOuvrage.isSelected() == true) && (Pend.getMDIMenu().mnuCompProtege.isSelected() == false) ) { if( Variable.Passer == 0 ) { Pend.getFrmConf().showForm(); //unsup GoTo fin } else { if( Variable.ProOk == 0 ) { Application.getCurrent().unload( Pend.getfrmPontRoute() ); Pend.getMDIMenu().mnuCompOuvrage.setSelected( false ); Calcul.CalculPend(); } else { Calcul.CalculPend(); } } } else { if( (Pend.getMDIMenu().mnuCompProtege.isSelected() == false) && (Pend.getMDIMenu().mnuOptLot.isSelected() == false) && (Variable.Passe1 == false) ) { Calcul.CalculPend(); } } if( (Pend.getMDIMenu().mnuCompProtege.isSelected() == true) && (Pend.getMDIMenu().mnuCompOuvrage.isSelected() == true) ) { if( Variable.Passer == 0 ) { Pend.getFrmConf().showForm(); //unsup GoTo fin } else { if( (Variable.ProtOk == 0) && (Variable.ProOk == 0) ) { Application.getCurrent().unload( Pend.getfrmPorteurProtégé() ); Application.getCurrent().unload( Pend.getfrmPontRoute() ); Pend.getMDIMenu().mnuCompProtege.setSelected( false ); Pend.getMDIMenu().mnuCompOuvrage.setSelected( false ); Calcul.CalculPend(); } else { if( Variable.MinoOk == 0 ) { Pend.getFrmParPend().showForm(); //unsup GoTo fin } else { Calcul.CalculPend(); } } } } else { if( (Pend.getMDIMenu().mnuCompOuvrage.isSelected() == false) && (Pend.getMDIMenu().mnuCompProtege.isSelected() == false) && (Pend.getMDIMenu().mnuOptLot.isSelected() == false) && (Variable.Passe1 == false) ) { Calcul.CalculPend(); } } } }