Exemple #1
0
 public Form1()
 {
     InitializeComponent();
     this.bank = new Bank();
     this.facade = new MyFacade(bank);
     this.formImplementation = new FormImplementation();
     facade.setImplementation(this.formImplementation);
     facade.createWindows();
 }
Exemple #2
0
 public Form1()
 {
     InitializeComponent();
     this.bank = new Bank();
     this.facade = new MyFacade(bank);
     this.formImplementation = new FormImplementation();
     facade.setImplementation(this.formImplementation);
     facade.createWindows();
     this.pool = ObjectPoolClient.getInstance();
     this.buttonLoadBank.Enabled = false;
     this.buttonNotFollow.Enabled = false;
     memento = new ClientQueueMemento();
 }