示例#1
0
        public mediaControl(MediaElement m, Diffusion dif)
        {
            TopM = m;
            diff = dif;

            q = new softQuit(TopM, diff);
        }
示例#2
0
        public void OnWindowClosing(string s)
        {
            switch (s)
            {
            case "hardQuit":
                q = new hardQuit(TopM, diff);
                break;

            case "softQuit":
                q = new softQuit(TopM, diff);
                break;

            default:
                break;
            }

            q.quit();
        }