daixinet

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年8月29日

摘要: WPF调用WinForm中的 OpenFileDialog 和 FolderBrowserDialog 来实现响应的功能 OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Title = "选择文件"; openFileDialog.Filter = "zip文件|*.zip|rar文件|*.rar|所有文件|*.*"; openFileDialog.FileName = string.Empty; openFileDi... 阅读全文
posted @ 2012-08-29 15:57 daixinet.com 阅读(16211) 评论(0) 推荐(1) 编辑

摘要: 效果图: 关键代码:类型判断 if (rIndex == 1) { cell.CellValue = new CellValue(item.ToString()); } else if (rIndex == 2) { cell.CellValue = new C... 阅读全文
posted @ 2012-08-29 10:54 daixinet.com 阅读(789) 评论(0) 推荐(0) 编辑