Esempio n. 1
0
        public Form1()
        {
            UseWaitCursor = true;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            // Initialize global variables
            PLCollection = Player.playlistCollection;
            GetMediaCollection();
            CDCollection = Player.cdromCollection;
            LibSvcs      = (IWMPLibraryServices)Player.GetOcx();

            // Fill in the combo boxes.
            enumerateCDDrives();

            // Show library attributes listing by default.
            mnuLibraryAttributes_Click(this, null);

            UseWaitCursor = false;
        }
Esempio n. 2
0
        public Form1()
        {
            UseWaitCursor = true;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            // Initialize global variables
            PLCollection = Player.playlistCollection;
            GetMediaCollection();
            CDCollection = Player.cdromCollection;
            LibSvcs = (IWMPLibraryServices)Player.GetOcx();

            // Fill in the combo boxes.
            enumerateCDDrives();

            // Show library attributes listing by default.
            mnuLibraryAttributes_Click(this, null);

            UseWaitCursor = false;
        }