Ejemplo n.º 1
0
        protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);
            _timer?.Dispose();
            Player?.StopPlayback();
            Player?.Dispose();
            Player = null;

            (Owner as MainForm)?.SetSecondForm(null);
        }