示例#1
0
        private void ShowItemWindowToImport()
        {
            ItemWindow window = new ItemWindow();

            window.ImportMusic += new ItemWindow.ImportMusicEventHandler(ItemWindow_ImportMusic);
            window.ImportImage += new ItemWindow.ImportImageEventHandler(ItemWindow_ImportImage);
            window.ImportVideo += new ItemWindow.ImportVideoEventHandler(ItemWindow_ImportVideo);
            window.ImportBook  += new ItemWindow.ImportBookEventHandler(ItemWindow_ImportBook);
            window.ShowDialog();
        }
示例#2
0
        private void ShowItemWindowToInclude()
        {
            ItemWindow window = new ItemWindow();

            window.IsIncludeMode = true;
            window.ImportMusic  += new ItemWindow.ImportMusicEventHandler(ItemWindow_IncludeMusic);
            window.ImportImage  += new ItemWindow.ImportImageEventHandler(ItemWindow_IncludeImage);
            window.ImportVideo  += new ItemWindow.ImportVideoEventHandler(ItemWindow_IncludeVideo);
            window.ImportBook   += new ItemWindow.ImportBookEventHandler(ItemWindow_IncludeBook);
            window.ShowDialog();
        }