public void addWaveWindow() { WaveWindow ww = new WaveWindow(this); waves = new List <WaveWindow>(); ww.Show(); waves.Add(ww); }
public void removeWaveWindow(WaveWindow ww) { waves.Remove(ww); if (waves.Count == 0) { this.Close(); } }
public MainWindow() { InitializeComponent(); WaveWindow ww = new WaveWindow(this); this.Hide(); waves = new List <WaveWindow>(); ww.Show(); waves.Add(ww); }