public mediaControl(MediaElement m, Diffusion dif) { TopM = m; diff = dif; q = new softQuit(TopM, diff); }
public UserControl() { InitializeComponent(); diff = new Diffusion(this); medContr = diff.medContr; medContr.usrContr = this; Closing += this.OnWindowClosing; }
public softQuit(MediaElement TopM, Diffusion dif) { base.TopM = TopM; base.dif = dif; IsLoaded = true; }
public hardQuit(MediaElement TopM, Diffusion dif) { base.TopM = TopM; base.dif = dif; IsLoaded = false; }