private void IsUseSD_OnClick(object sender, RoutedEventArgs e)
 {
     Setting.Default.IsUseSD = (bool)IsUseSD.IsChecked;
     Setting.Default.Save();
     if (IsUseSD.IsChecked == false)
     {
         SDcardTag.IsEnabled = false;
         sdtab.IsEnabled     = false;
     }
     else
     {
         TabControl tab = (TabControl)sdtab.Content;
         SDcardTag.IsEnabled = true;
         IsUseSD.IsChecked   = Setting.Default.IsUseSD;
         sdtab.IsEnabled     = true;
         BuildTab buildsw;
         if (tab.Items.Count == 0)
         {
             buildsw          = new BuildTab((TabControl)sdtab.Content, "音乐库", false);
             buildsw.AddMenu += AddMenu_WorkPlace_OnBuilt;
             buildsw.BeginBuild();
         }
     }
 }
 public void AddMenu_WorkPlace_OnBuilt(BuildTab sender, AddMenuEventArgs e)
 {
     mainWindow.AddWorkPlaceMenu(false, sender.NewTabItem, sender.NewListView);
 }