private void atmInstances() { frmATM atm = new frmATM(ac, this); atm.setSemaphore(!dataRace); atm.ShowDialog(); }
private void createATM() { frmATM atm = new frmATM(ac, this); atm.setSemaphore(!dataRace); atm.Show(); }