/// <summary>
 /// 删除按钮的点击事件
 /// </summary>
 /// <param name="sender">信息发送对象</param>
 /// <param name="e">事件信息</param>
 private void DelDll_Click(object sender, RoutedEventArgs e)
 {
     if (DllListBox.SelectedIndex != -1 && projectDll != null)
     {
         DllFile deldllfile = (DllFile)DllListBox.SelectedItem;
         if (File.Exists(deldllfile.Path))
         {
             File.Delete(deldllfile.Path);
         }
         else
         {
             System.Windows.MessageBox.Show("文件已经被外部操作删除!");
         }
         ///删除选中项
         projectDll.DeletDllFilePath(deldllfile);
     }
 }